Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi Power BI Community,
I need to get week ranges like this way :
1Jan-8Jan
9Jan-16Jan
17Jan-24Jan
25Jan-31Jan ( If it's until 30th of Jan then get me until 30th)
How to write this kind of DAX formula considering 30th and 31th case?
I want it for each month like this way without weeks interfering from 1 month with another month
Solved! Go to Solution.
something like this?
Week Number |
1Jan-8Jan |
9Jan-16Jan |
17Jan-24Jan |
25Jan-31Jan ( If it's until 30th of Jan then get me until 30th) |
something like this?
you may create a new column with WEEKNUM function, then refer to the added column in your new measures or visuals.
About WEEKNUM
@FreemanZ I don't want to use week number. I want date to be the same format I mentioned above.
could you depict your expected result with a table?
User | Count |
---|---|
50 | |
23 | |
18 | |
18 | |
13 |
User | Count |
---|---|
91 | |
86 | |
46 | |
28 | |
21 |