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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors