Forum Discussion
Week Number calculated coloumn
- 6 years ago
vjnvinod ,
Please find the attached file
Create a column start of year
start of year = startofyear([Date],"06/30")
Weekno = quotient(datediff([start of year],[Date],day),7) +1
OR
Weekno = quotient(datediff([start of year],[Date],day)+1,7) +1
You can move year start to week start like
Week Start date = 'Table'[start of year]-1*WEEKDAY('Table'[start of year],2)+1
https://docs.microsoft.com/en-us/dax/quotient-function-dax
here is the calendar
https://drive.google.com/file/d/12EIubQ81bBk1IhcGPE8FKtYXZRucvs9k/view?usp=sharing
and also the pbix
https://drive.google.com/file/d/1kchwmBCutj5PCnF7BRKsTA03hYpIGKtw/view?usp=sharing
thanks so much for your help
- amitchandak6 years agoSuper User
vjnvinod ,
Please find the attached file
- vjnvinod6 years agoImpactful Individual
- amitchandak6 years agoSuper User
vjnvinod , Thanks.
This one is a good example of 5-4-4 period.