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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Change Data format in table as a calculated column

Hi Experts 

 

My date format in a Table is 201905 (text) - i would like this to be show as may 2019 - i cannot do this in Power Query as i have no access to the DB. Need to be done as a calculated column measure.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

Agree with @johnt75 , add another FORMAT function to get the expected result.

Add another FORMAT function to get the desired result

vstephenmsft_0-1664780985474.png

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

 

Agree with @johnt75 , add another FORMAT function to get the expected result.

Add another FORMAT function to get the desired result

vstephenmsft_0-1664780985474.png

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

johnt75
Super User
Super User

Try

Date col =
DATE ( LEFT ( 'Table'[Date as integer], 4 ), RIGHT ( 'Table'[Date as integer], 2 ), 1 )

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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