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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Importing excel data that contains #N?A values

Hi

 

When I am importing data or a table from excel into powerquery that contains a #N/A value in cell I get a an 'Error'.  When I click on the error or link, which is diplayed in the field, the description states DataFormat.Error: Invalid cell value '#N/A'.  I know why I am getting the #N/A; this is linked to a 'vlookup' on my data source but unfortunelaty I am unbale to change the formula in Excel.  

 

Any Suggetions.  The Error message happens to any cell(s) where any vlookup(s) fail.

 

Chris

Finance & Information Analysts

1 ACCEPTED SOLUTION
az38
Community Champion
Community Champion

Hi @Anonymous 

there are 2 options "remove errors" and "replace error" in Power Query Editor

Right-click to columns that contains errors and choose appropriate option

 

do not hesitate to give a kudo to useful posts and mark solutions as solution


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

View solution in original post

3 REPLIES 3
az38
Community Champion
Community Champion

Hi @Anonymous 

there are 2 options "remove errors" and "replace error" in Power Query Editor

Right-click to columns that contains errors and choose appropriate option

 

do not hesitate to give a kudo to useful posts and mark solutions as solution


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

'Remove Errors' worked for me! Here's my case:
- Data source was an Excel file from a SharePoint folder

- Date column was sorted in descending order and resulted to, 'DataFormat.Error: Invalid cell value '#N/A''
- Traced back a few steps and found that another column, a string column, had errors: 

kymramosrpo_0-1702892621513.png

- Right-clicked on the string column > 'Remove Errors' (Table.RemoveRowsWithErrors())

Anonymous
Not applicable

Hi

 

So simple and it works great, thanks.

 

Chris

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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