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
Anonymous
Not applicable

Convert YYYYMM to Date

Hi all,

 

I have the following column, withthe year and the week number and I'm looking to convert this to a date where the date is the first date of the given week (ie 202304 would be 23/01/2023). Is this possible using DAX and perhaps a new column? 

 

Any help would be much appreciated! Thanks 

1 ACCEPTED SOLUTION
FreemanZ
Super User
Super User

hi @Anonymous 

try to add a column like this:

 

DATE = DATE( LEFT([YYYYMM], 4), 1,1) + (RIGHT([YYYYMM],2)-1)*7 + 1

 

 

FreemanZ_0-1674393574369.png

 

View solution in original post

2 REPLIES 2
FreemanZ
Super User
Super User

hi @Anonymous 

try to add a column like this:

 

DATE = DATE( LEFT([YYYYMM], 4), 1,1) + (RIGHT([YYYYMM],2)-1)*7 + 1

 

 

FreemanZ_0-1674393574369.png

 

Anonymous
Not applicable

This worked, thank you so much!

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.