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

DataFormat.Error: We couldn't parse the input provided as a Date value.

Hi everyone,

Im having a error it terms of my "RegDate" when i try to add into group by and the error says:

DataFormat.Error: We couldn't parse the input provided as a Date value.
Details:
--/--/----

In my regdate raw data I have that "--/--/----" when i try toremove  that errors it minus my total sum of the result
what i try to do:
1. i will remove errors to my raw data

2. when i remove errors then i can put my regdate column in my group by, then i will add that regdate to my current group by
70.JPG
BUT the value get affected before it is 186,329.27 now is 186278.27 😞

is there anyway i can handle this error? because i want to add that regdate to my current group by. 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

Please try right-clicking “--/--/----” in Query Editor -> Replace Values, replace with null. Then you should be able to change regdate to Date type.

1.PNG

2.PNG

 

Best Regards,

Jay

Community Support Team _ Jay Wang

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

Hi @Anonymous 

 

Has the question been solved, did my answer help you?

Could you please accept my post as the solution if it helps?

Please feel free to ask if you have any questions.

 

Best Regards,

Jay

Community Support Team _ Jay Wang

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

Anonymous
Not applicable

Hi @Anonymous ,

 

Please try right-clicking “--/--/----” in Query Editor -> Replace Values, replace with null. Then you should be able to change regdate to Date type.

1.PNG

2.PNG

 

Best Regards,

Jay

Community Support Team _ Jay Wang

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

Can you replace this value with blank? Or have a new column like

 

if (a="--/--/----", blank(),a)

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

@amitchandak 

 

Hi i try to do your formula but it seems to have an error? Also if the formula has been rectified i can just use that "Regdate" to add into my group by without getting the error again?

here's the error:

71.JPG

I was able to create one sample data -

Column = if(Sheet1[Date]="--/--/----",BLANK(),Sheet1[Date])
.
If possible please share a sample pbix file after removing sensitive information.

Screenshot 2019-12-04 18.58.12.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

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.