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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
zanottiluca
Helper II
Helper II

[DataFormat.Error] Invalid cell value '#N/A'

Hello gurus,

 

apologies if this has already been responded but i could not find any reference in the Community. 

 

I had the following error thrown today [DataFormat.Error] Invalid cell value '#N/A' which thwarted the refresh of our report in the PBI Service.

 

Basically i was importing a csv file with #N/A values on three columns.  In the Data steps (Edit Query) I had already some Replace.Value() function for those columns both for #N/A and for n/a in order to replace 000, but still the error was thrown. 

 

I have then finally add a further step Replace.Error() on the three columns and everything was refreshed perfectly.

 

Do you know why this? Is Replace.Error() better for this type of error than Replace.Values().

Another point: the csv file was relatively old ( imported since 2 weeks) and the refresh was OK until today. Do you know why this? There has been any update to the PBI Service? 

 

Thanks in advance

 

Luca

 

 

 

1 REPLY 1
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi Luca,

 

Can you share a little sample? The data like below doesn't have issue.

col1        col2          col3

a 100 jack
#N/A 200 power
b #N/A bi
c 300 #N/A

 

Best Regards,

Dale

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

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.