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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors