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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Dax to make a weeks columns based on a date column

Hello everyone, 

I hope you are doing well

 

I would like to know how can i create a week column (like 1st week, 2nd week, 3th week and 4th week) based on a date column

2 REPLIES 2
FreemanZ
Super User
Super User

try to create a new column with this:
WeekNum = WEEKNUM([Date],2)

or like this, to be more close to your expectation:

WeekNum = โ€œWeekโ€&WEEKNUM([Date],2)

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Users online (27)