Forum Discussion
Week Number and Week Start date
Hi,
I have a date table and week number (Week Number DAX: QUOTIENT ( 'DIM Calendar' [Date]-MIN ('DIM Calendar' [Date] ), 7), + 1).
I need a unique week number and a week start date (MIN) as below.
Hi ajisharavind_99
If you want to show that in a table visual then place the week number in the table (make sure "Do not summarize" is selected and then use a measure MIN ( 'Date'[Date] )If you want to create a calculated table then use
New Table = SUMMARIZE ( 'Date', 'Date'[Week No], "Week Start Date", MIN ( 'Date'[Date] ) )
2 Replies
- tamerj1Community Champion
Hi ajisharavind_99
If you want to show that in a table visual then place the week number in the table (make sure "Do not summarize" is selected and then use a measure MIN ( 'Date'[Date] )If you want to create a calculated table then use
New Table = SUMMARIZE ( 'Date', 'Date'[Week No], "Week Start Date", MIN ( 'Date'[Date] ) )
- ajisharavind_99Advocate I
Thanks tamerj1 , new Table worked perfectly