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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
jchangco
Regular Visitor

How to group the week number per month

Hi Good Day,

 

How do I count the number of weeks in a month & concatenate it in the month name?


WeekNumber.png

3 REPLIES 3
FreemanZ
Super User
Super User

or you do it in Power Query Editor like:

FreemanZ_1-1676168520711.png

 

it worked like:

FreemanZ_2-1676168573706.png

 

FreemanZ
Super User
Super User

hi @jchangco 

try to add a column like:

MonthWeek = FORMAT([Date], "MMM")&" - "&" Week "&(1 + WEEKNUM([Date]) - WEEKNUM(EOMONTH( [Date],-1 )))

 

it worked like:

FreemanZ_0-1676168283493.png

 

@FreemanZ ,

 

Thank you very much. I tried both the DAX & PowerQuery. It's working already.

jchangco_0-1676182875444.png

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.