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
Quenjo
Helper II
Helper II

How to handle date format "YYYY-MM-DD" when transforming data ?

Hi community,

 

I have quite a strange issue, let me show you some examples :

 

Quenjo_0-1664289199209.png

 

When importing data from the database it imports the dates as a "Text" field.

When I change the "Text" into "Date" format, here is the output :

Quenjo_1-1664289247636.png

 

This is exactly what I am expecting. However, when saving my modifications, on my report I have the following :

Quenjo_2-1664289323661.png

 

How is it possible ? How can I handle this ?

Taking into account that on my preview everything seems to be fine...

 

I cannot let the field be in "Text" format because I need to do some filtering on the dates.

 

Many thanks for the help provided.

 

Jonathan

 

 

 

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @Quenjo 

 

In Power BI Desktop, switch to Data view, select your Date column, ensure its Data type is Date and change its Format to dd.mm.yyyy in Column tools ribbon. 

vjingzhang_0-1664334531514.png

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

View solution in original post

2 REPLIES 2
v-jingzhang
Community Support
Community Support

Hi @Quenjo 

 

In Power BI Desktop, switch to Data view, select your Date column, ensure its Data type is Date and change its Format to dd.mm.yyyy in Column tools ribbon. 

vjingzhang_0-1664334531514.png

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

amitchandak
Super User
Super User

@Quenjo , Make sure the data type is date in both power query and in DAX. Check column tools for data type

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

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