The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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.
Solved! Go to Solution.
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] ) )
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] ) )
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
20 | |
12 | |
10 | |
7 |