Forum Discussion
Anonymous
5 years agoNot applicable
Adding week number column to Date Dimension Table for specific rule.
Hello, I am using the date dimensional table. In this table, I need DAX to define the week containing the 1st and the 7th day of the month as the 1st week. (For every month) Ex: Days -> [1,7] = ...
- 5 years ago
Anonymous , try a new column like
month week No = quotient(datediff([eomonth([date],-1)+1,[date],day),7)+1
amitchandak
Super User
5 years agoAnonymous , try a new column like
month week No = quotient(datediff([eomonth([date],-1)+1,[date],day),7)+1
- Anonymous5 years agoNot applicable
This is exactly what I want. Thank you so much. amitchandak