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 August 31st. Request your voucher.
Need a help on DAX Measure to create a period based on Week Number.
I want to combine 4 weeks into one period.
For example :
If Week Number is 1, 2, 3, 3 then a measure should display a period value as 1,
If Week Number is 4, 5, 6, 7 then it should display a period value as 2.
Can this be done with the help of DAX?
Solved! Go to Solution.
I think you can do something like:
4 Week Period Number = QUOTIENT(WeekNumber, 4)
I think you can do something like:
4 Week Period Number = QUOTIENT(WeekNumber, 4)
Yes, this worked for me.
Thanks for your help
User | Count |
---|---|
11 | |
9 | |
6 | |
6 | |
5 |
User | Count |
---|---|
22 | |
14 | |
14 | |
9 | |
7 |