Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
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?
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.