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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.