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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
jpellegrini
New Member

Help with Invalid cell value '#REF!' error

Hi there,

 

In Power Query Editor, is there a way to isolate the faulty cell responsible for the Invalid cell value '#REF!' error? I have removed errors & nulls and replaced values Error ->Null. I have also confirmed that there are no formulas/errors in the source sheets. The error is occuring when transposing a table from Rows to Columns. 

1 ACCEPTED SOLUTION
PhilipTreacy
Super User
Super User

Hi @jpellegrini 

Are you sure there are no errors in your source sheet?  Transposing a table won't create a #REF error. Such an error will be there in the source data.

Try this:

1. Duplicate your query

2. Delete all steps except the Source & Navigation steps

3. Close & Apply - this should result in a pop-up like this telling you there are errors in your query.

qerr.png

4. Click on the View errors link in the yellow-highlighted section.

5. This creates a new query in the PQ Editor that lists the errors in your query, including the row number where the error is

qerr2.png

 

6. Check the rows for your error(s).

 

If that doesn't help you find the issue please supply your source data file.

 

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Thanks Phil. Saved me a lot of effort with this solution. 🙂

jpellegrini
New Member

Thanks very much @PhilipTreacy . Indeed, as you allude to, it was an error in the source sheet. I was overlooking several #Value! errors and fixed this with a Replace -> 0 command. You suggest a good way of isolating the errors in question. Thanks again for your response.

PhilipTreacy
Super User
Super User

Hi @jpellegrini 

Are you sure there are no errors in your source sheet?  Transposing a table won't create a #REF error. Such an error will be there in the source data.

Try this:

1. Duplicate your query

2. Delete all steps except the Source & Navigation steps

3. Close & Apply - this should result in a pop-up like this telling you there are errors in your query.

qerr.png

4. Click on the View errors link in the yellow-highlighted section.

5. This creates a new query in the PQ Editor that lists the errors in your query, including the row number where the error is

qerr2.png

 

6. Check the rows for your error(s).

 

If that doesn't help you find the issue please supply your source data file.

 

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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