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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
jschuchter
Frequent Visitor

Unpivot causing [DataFormat.Error] Invalid cell value '#N/A' on date field

Hi, I have a simple table (10k rows) with a column for date and three columns for persons. I unpivot the three columns for persons into a single columns. My date field seems fine just before the unpivot. It is a date type and when I go to filter and load all values, I see only dates (about 2 months worth in the range) and no errors. However, immediately after the unpivot, I then go to filter and load all values, I get the error: [DataFormat.Error] Invalid cell value '#N/A'.

 

I've triple checked the date field in Excel, and in BI, and tried to Transform > replace errors w/ null values in Query Editor. No luck.

 

I'm stuck because I use the date field in my reporting and reference this table a lot.

 

Thanks,

 

Joe

 

 

 

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@jschuchter , just check you number field might have got - or N/A or null or #NA

In edit query run auto-detect data type and check does it change the data type

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

View solution in original post

v-xicai
Community Support
Community Support

Hi @jschuchter ,

 

You may enter into Query Editor, remove the step "Change Type" behind of step "Source" .

104.png

 

 

 

 

 

 

 

 

Best Regards,

Amy 

 

Community Support Team _ Amy

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

2 REPLIES 2
v-xicai
Community Support
Community Support

Hi @jschuchter ,

 

You may enter into Query Editor, remove the step "Change Type" behind of step "Source" .

104.png

 

 

 

 

 

 

 

 

Best Regards,

Amy 

 

Community Support Team _ Amy

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

@jschuchter , just check you number field might have got - or N/A or null or #NA

In edit query run auto-detect data type and check does it change the data type

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.

Top Solution Authors