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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Not able to change date format

Hi Guys,

 

I'm trying to change my Date format from 31-12-2020 to 12/31/2020 but when I'm using the below formula it is converting to 12-31-2020 instead of 12/31/2020. Kindly help me with this because I need the format to be like MM/DD/YYYY.

 

FOrmula Used: 

Received Date Format = FORMAT(View_CashReceipt_Summary[ReceivedDate].[Date],"MM/DD/YYYY")

 

Himanshu_13_0-1606208542787.png

 

Regards,

Himanshu 

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , check the new column is of text type. because if it is date type. then you need to change the format under column tools

also try like

Received Date Format = FORMAT(View_CashReceipt_Summary[ReceivedDate],"MM/DD/YYYY")

 

also make sure ReceivedDate is of date type

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , check the new column is of text type. because if it is date type. then you need to change the format under column tools

also try like

Received Date Format = FORMAT(View_CashReceipt_Summary[ReceivedDate],"MM/DD/YYYY")

 

also make sure ReceivedDate is of date type

Anonymous
Not applicable

@Amit I've already tried these things but its still not working.

 

Data type for ReceivedDate is also Date still not getting formatted like 12\31\2020. Not able to understand what is wrong here.

 

Himanshu_13_0-1606210448408.png

 

Himanshu_13_1-1606210476935.png

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.