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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
adeeln
Post Patron
Post Patron

How to change format(dd/mmm/yyyy) for date field with DAX expression while get data as direct query

I want change format for date with DAX expression while direct query in Power BI. I have tried with format function in DAX but getting error like "Function 'FORMAT' is not allowed as part of calculated column DAX expressions on DirectQuery models." Date format that i wants DD/MMM/YYYY.

1 ACCEPTED SOLUTION

Hi @adeeln ,

 

Isn't this format?

mm1.PNG

mm2.PNG

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

5 REPLIES 5
v-lionel-msft
Community Support
Community Support

Hi @adeeln ,

 

Has your problem been solved?

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@adeeln , you see an option under format for that

Data Format New Rib.png

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

 @amitchandak In Power Bi Date format show (d mmmm yyyy).But I Need this Format dd-mmm-yyyy.e.g 01-Mar-2020.

Hi @adeeln ,

 

Isn't this format?

mm1.PNG

mm2.PNG

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

harshnathani
Community Champion
Community Champion

@adeeln ,

 

https://community.powerbi.com/t5/Desktop/Change-date-format-in-DIRECT-Query-Mode-not-on-list-of/td-p...

 

https://community.powerbi.com/t5/Desktop/Direct-Query-transform-Date-TIme-to-Date/td-p/614651

 

Please check if this helps.

 

Regards,

Harsh Nathani

Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!!

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors