Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hi PBI Experts,
I am not able to get the week number reset for every month. My week will start on monday for every week. I tried the below dax expression it is giving fine for those months having 4 weeks in it, but if we have 5 weeks the first week number is showing as "W0". Please help.
Dax Expression:
pls try this
Hi @Ahmedx , Thanks for your reply.
My week always start on monday and end on sunday that week we can call as "W1". If apart from monday any dates will be consider for the previous month weeks. Below is the screen shot for your reference.
Try to use :
Hi @Ritaf1983 , Thanks for your reply.
I tried the expression. It is not giving the requred result. March month is starting with week number 2 & May month starting first day as 1 remaining 2 is coming. PFB screen shots.
This is because first monday in march is 06/03.
Try to modify it for :
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Hi @Ritaf1983 , Thanks a lot for your quick reply.
I tried the expression below are the results. Seems i am not getting correct data.
Considering the April 23 month. Week start on monday and end on sunday.
April 3rd to 9, should display as week 1
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
89 | |
82 | |
53 | |
40 | |
35 |