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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

import new folder data how to deal with date issue ?

Hi All

I start to add more new data to PBI fle , when i add the new CSV file , the date field is in text format , when i try to convert the date field to date , i get error mg , what else i can do ?

Paulyeo11_0-1604454563875.png

 

2 ACCEPTED SOLUTIONS

Hi @Anonymous,

 

it is showing error because the date format that power bi detecting is dd/mm/yyyy.

Try to change the Regional Setting of the report. Options and Settings->Options->Regional Setting

 

if it is English UK , format is dd/mm/yyyy

if you select Englisg US , format is mm/dd/yyyy

 

Hope this helps.

 

View solution in original post

Hi @Anonymous 

That image shows you trying to change the date from the Ribbon, I said to right click on the column header and then Change Type -> Using Locale

use-locale.png

change-type-with-locale.png

 

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


View solution in original post

11 REPLIES 11
PhilipTreacy
Super User
Super User

Hi @Anonymous 

It's not so much an error as a warning.  Looks like you have dates stored as text.

When you bring the data into PBI with PQ you should change the data type in the PQ Editor.  My guess is you've left the date column as text.

In PBI you can click on the Data icon (Left panel), select the 'Dates' column and then change the type from Text to Date - which I think is what you are doing to get this warning appear?

Changing the text dates to actual dates is fine.

Phil


If I answered your question please mark my post as the solution.
If my answer helped solve your problem, give it a kudos by clicking on the Thumbs Up.



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


@Anonymous , Warning is OK. As long as the new data type works.

To me, it seem like mixed date fomat issue. UK/US or some with / some with - etc

 

First, do some tranformation to correct it. Share some sample.

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
Anonymous
Not applicable

Hi Phil

Thank you phil , i try to use PQ to change :-

Paulyeo11_1-1604457216794.png

 

When i convert to date field from text to date , i see many error , as after convert date field missing :-

Paulyeo11_0-1604457149676.png

 

Hi @Anonymous 

Those dates are stored in mm/dd/yyyy format, presume you are using dd/mm/yyyy?

In the PQ Editor right clickon the AR Invoice Date column -> Change Type -> Using Locale.

Choose Data Type : Date and Locale : English (United States)

change-type-with-locale.png

Regards

Phil

 



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Anonymous
Not applicable

Hi Phil

Thank you for your advise. I try to create a new pbi file. and the date format is mm/dd/yyyy. see the image below :-

Paulyeo11_0-1604459963716.png

But the field is text , and i need to change to date , and it will work fine , cannot change at PQ.

Paulyeo11_1-1604460261189.png

 

Hi @Anonymous 

Why can't you change it in the PQ Editor as I described?  I don't see why you can't??

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Anonymous
Not applicable

Hi Phil

I just load a new file from folder , as you can see from PQ , the date is text , i try to chnage to date :-

Paulyeo11_1-1604461379740.png

you notice that date field get many error :-

Paulyeo11_2-1604461433857.png

 

Where did it go wrong ?

 

Paul

 

 

Hi @Anonymous 

That image shows you trying to change the date from the Ribbon, I said to right click on the column header and then Change Type -> Using Locale

use-locale.png

change-type-with-locale.png

 

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Anonymous
Not applicable

Hi Phil

it work fine now. Thank you learn one more thing.

Paul

Hi @Anonymous,

 

it is showing error because the date format that power bi detecting is dd/mm/yyyy.

Try to change the Regional Setting of the report. Options and Settings->Options->Regional Setting

 

if it is English UK , format is dd/mm/yyyy

if you select Englisg US , format is mm/dd/yyyy

 

Hope this helps.

 

amitchandak
Super User
Super User

@Anonymous , Error is not visible. But seem like data type error. Maybe dates are in two format.

refer how to handle error in power query
https://www.youtube.com/watch?v=OE6DPmKqN7s
https://www.youtube.com/watch?v=9-Lag0VOiTs

debug issue
https://www.youtube.com/watch?v=OE6DPmKqN7s



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

Power BI Monthly Update - September 2025

Check out the September 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