Quantcast
Channel: Power Query topics
Viewing all articles
Browse latest Browse all 31369

Calculating the current week number - starting with the previous Saturday

$
0
0

Hi - I presently have a calculation in my Power Query application for the Week Number:

 

Date.WeekOfYear([ABCDate], Day.Monday)
 
I would like to Week Number to start from the previous Saturday to the Current Week Friday.
 
Example: 
Week #42 would be from Saturday, October 12th to Friday October  18th
If ABCDate is within that range, it would have a value of "42"
Is it as simple as :
Date.WeekOfYear([ABCDate], Day.Saturday)
 
Thoughts ? Jerry

Viewing all articles
Browse latest Browse all 31369

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>