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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Faadiz
Frequent Visitor

Error on cells with no date

Hello,

 

i am a marketing guy with personal interest in learning Power BI. for below table, there are some dates for which there should not be any data.

 

since i have marked entire column as date, Power BI is giving error. 

 

please help

 

Capture.JPG

1 ACCEPTED SOLUTION
ibarrau
Super User
Super User

Hi. Assuming you are reading the data from a file. You can replace value "-" to null before converting the column to date.

You can also replace errors with null after converting the column to date, but this is way not recommended because you may not recognize a true error in data.

 

Regards,


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

Happy to help!

LaDataWeb Blog

View solution in original post

1 REPLY 1
ibarrau
Super User
Super User

Hi. Assuming you are reading the data from a file. You can replace value "-" to null before converting the column to date.

You can also replace errors with null after converting the column to date, but this is way not recommended because you may not recognize a true error in data.

 

Regards,


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

Happy to help!

LaDataWeb Blog

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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