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

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.

Reply
jlix
New Member

Week number based on month start date and month end date

Good morning Community, 

 

I've trying to get the year week number based on the start and the end of the month date. I have the following columns: start, end, month. The start and end date indicate the range date for the column month. For instance there are ending dates that end in the next month but belong to January for example. here is an example of the table. However, if the week number is based on the date column I will end up with week 53 when the month reference is January so I want the week number to mach the month column so it is consistent. I hope I made sense 🙂 

jlix_0-1713278420596.png

 

I  appreciate any help you might be able to provide.  Also if you have any other idea how to approach this please share them the column that are required tho are month, start and end

 

2 REPLIES 2
dufoq3
Super User
Super User

Hi @jlix, could you provide sample data in usable format (if you don't know how - read note below please) and also expected result based on sample data?


Note: Check this link to learn how to use my query.
Check this link if you don't know how to provide sample data.

lbendlin
Super User
Super User

I've trying to get the year week number based on the start and the end of the month date. 

Those things are violently incompatible.  Use an external Calendar tabe that has all the required details.

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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.

Top Kudoed Authors