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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors