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
prduddu
Regular Visitor

How to change the Date format from String to "MM/DD/YYYY" ?

Hi All,

 

I have a date column with the Date values as "Jul-17","Aug-17",....."Dec-18". This is by default coming in as string format and we will have no control of changing the format of it. How can I change the format to "MM/DD/YYYY" for this?

 

Thanks

Prash

2 REPLIES 2
v-yuezhe-msft
Employee
Employee

@prduddu,

Please click the date column in the Fields panel, then click on Modeling in the Desktop ribbon and change data type of the column to Date and change date format to MM/dd/yyyy.

 1.JPG2.JPG3.JPG



Regards,

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Create a calculated column... and try this...

Column = FORMAT(Table1[Column1],"MM/DD/YYYY")

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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