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 September 15. Request your voucher.

Reply
Niraj_vora0106
Helper III
Helper III

Date Error

Hi community, 

 

I'm getting this following error in my Date columns, 

Can anyone please help me out as I've encountered this Error for the first time.

Untitled.png In Dates Column I'm getting this Error,

 

And in Datetime and Custom column I'm getting the following Error : 

 

Expression.Error: We cannot convert the value #date(2021, 11, 11) to type Number.
Details:
Value=11/11/2021
Type=[Type]

1 ACCEPTED SOLUTION
MargaritaG
Resolver I
Resolver I

Hey, 

To avoid this issue, change regional settings of Power BI Dekstop

MargaritaG_0-1643181242426.png

Alternatively, you can just do it in PowerQuery. Change type using Locale 

MargaritaG_1-1643182314780.png

It's impoprtant to fist let Power Query  identify correctly date and then proceed with further transformations.
E.g. if you have Date/Time, then first change it with Locale to Date/Time format and only then to Date 

Hope this helps

 

View solution in original post

5 REPLIES 5
MargaritaG
Resolver I
Resolver I

Hey, 

To avoid this issue, change regional settings of Power BI Dekstop

MargaritaG_0-1643181242426.png

Alternatively, you can just do it in PowerQuery. Change type using Locale 

MargaritaG_1-1643182314780.png

It's impoprtant to fist let Power Query  identify correctly date and then proceed with further transformations.
E.g. if you have Date/Time, then first change it with Locale to Date/Time format and only then to Date 

Hope this helps

 

v-janeyg-msft
Community Support
Community Support

Hi, @Niraj_vora0106 

 

Has the problem been solved? I've been waiting for your reply to follow up.

Hi @v-janeyg-msft 

The issue has been solved, in Power Query there was Calculation error.

v-janeyg-msft
Community Support
Community Support

Hi, @Niraj_vora0106 

 

The problem is what's your original data format. Normal date formats don't go wrong. Can you show it so we can help you fix it?

vjaneygmsft_1-1642734287079.png

 

Best Regards,
Community Support Team _ Janey

amitchandak
Super User
Super User

@Niraj_vora0106 , Can you check the data, I think there are different formats of date which is not working.

Also, check it before the first time the change data type is applied 

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.