Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

combine the week number to one month

rahulkrishna14_0-1619500954940.png

the graph shows the count of users registered in each week, since week 13 is in month of april and march my count get distributed. is there any way that i combine the data to one month. or instead can we  show month with only 4 or 5 weeks( example march 1st week, march 2nd week...march 5th week)

2 REPLIES 2
Anonymous
Not applicable

It worked for me!, Thanks a lot!

amitchandak
Super User
Super User

@Anonymous , You can create a month week column in your date table and use it

 

Start Month = STARTOMONTH('Date'[Date]) // or use // eomonth([Date],-1)+1
WeekDay = WEEKDAY([Date],2) //monday
Start of Week = [Date] -[WeekDay]+1 //monday
Month Week = QUOTIENT(DATEDIFF(Minx(FILTER('Date',[Start Month]=EARLIER([Start Month])),'Date'[Start of Week]),[Date],DAY),7)+1

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.