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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Miss_A
Regular Visitor

Month format

I have month name, 3-2023,4-2023,5-2023, 10-2023. I wnat to change to 01-2023, 02-2023, 03-2023,10-2023 ect. how can I do it.

1 ACCEPTED SOLUTION
Fowmy
Super User
Super User

@Miss_A 

In Power Query, add a custom column,:

Date.ToText(Date.FromText( "1-" &  [Column1],"en-gb"), "MM-yyyy")

Fowmy_0-1703735407958.png

 



Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

2 REPLIES 2
Fowmy
Super User
Super User

@Miss_A 

In Power Query, add a custom column,:

Date.ToText(Date.FromText( "1-" &  [Column1],"en-gb"), "MM-yyyy")

Fowmy_0-1703735407958.png

 



Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Thank you. It working.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors
Top Kudoed Authors