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

Direct Query convert date from mm/dd/yy to dd/mm/yy

HI need help to convert date from mm/dd/yy to dd/mm/yy in direct query. I was able to use below formula:

 

 Invoice Date  = IF(ISBLANK('Carton_V'[InvoiceDate]),BLANK(),DAY('Carton_V'[InvoiceDate])&"/"&MONTH('Carton_V'[InvoiceDate])&"/"&YEAR('Carton_V'[InvoiceDate]))

 

but the Invoice date is in text format and i need it in Date format so that i can use a slider filter for the date. 

 

I am using Direct Query. is there any other way?

 

Help please. 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

1 REPLY 1
Anonymous
Not applicable

https://community.powerbi.com/t5/Service/Date-issue-dd-mm-yyyy-vs-mm-dd-yyyy/m-p/560625#M57419

 

You can refer to this thread for solution. 

 

Regards,

Paridhi

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.