Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello,
I have a data table that's being imported from an excel file that will be updated on a monthly basis. Occasionally, the email field contains - #N/A as the value which throws an error when the data refresh is run. I could go to the excel file each month to replace the #N/A value in excel manually, but I'd much rather not touch the raw data we receive, and update it in Power Query. I've been trying to do the Replace Values in Power Query to replace #N/A with "" or even "Unknown" but that doesn't seem to work. I still get an error. Is there a way I can fix this error in Power Query?
Name | |
ABC | abc@email.com |
BCD | bcd@email.com |
EFG | efg@email.com |
GVC | gvc@email.com |
AAA | #N/A |
Thank you for all your help!
Solved! Go to Solution.
Hi @newpbiuser01 ,
When you import your excel files to Power BI Desktop and edit it in Power Query, "#N/A" will show as "error".
Expand the errors, you may see the message as below.
When encountering any cell-level errors, Power Query provides a set of functions to handle them either by removing, replacing, or keeping the errors.
You can try to remove the errors.
Or you can select "replace errors".
Please reference the following document which will be helpful to you.
Dealing with errors - Power Query | Microsoft Learn
Best Regards,
Community Support Team _ xiaosun
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @newpbiuser01 ,
When you import your excel files to Power BI Desktop and edit it in Power Query, "#N/A" will show as "error".
Expand the errors, you may see the message as below.
When encountering any cell-level errors, Power Query provides a set of functions to handle them either by removing, replacing, or keeping the errors.
You can try to remove the errors.
Or you can select "replace errors".
Please reference the following document which will be helpful to you.
Dealing with errors - Power Query | Microsoft Learn
Best Regards,
Community Support Team _ xiaosun
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
60 | |
58 | |
54 | |
36 | |
33 |
User | Count |
---|---|
79 | |
66 | |
45 | |
45 | |
43 |