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
biterbit
Frequent Visitor

Error when expanding SharePoint lookup field in Power Query Editor

I am setting up a new Power BI project based on a number of interlinked SharePoint tables. I've found out how to expand Lookup fields to enable replationships between tables, but in one case this is not working. I have a column (Centre) in one table that is a lookup to the Centres table. It is initially displayed with the usual List placeholder values. 

biterbit_0-1636830529139.png

I then click on the Expand button in the header and select Expand to New Rows and it changes the fields to say Record, but the top line of the table turns from green to red stripes, indicating an error.

biterbit_1-1636830696432.png

I don't see an error message anywhere on the screen - is there somewhere I can look to see why it doesn't like expanding this particular Lookup column?

 

I tried ignoring the error indicator and selecting a field value but the data refresh then failed. All the other lookup columns I have tried work fine - is there something I should be looking for to explain the way this column is behaving?

biterbit_2-1636831023383.png

 

Thanks for any help you can offer.

 

 

1 ACCEPTED SOLUTION
PhilipTreacy
Super User
Super User

Hi @biterbit 

 

On the column of Records with errors, select the column then from the Home tab of the Ribbon, click on Keep Rows then Keep Errors.

 

This should give you a column containing any errors in it.  You can then examine the errors by clicking into the column beside the word Error to see what is wrong.

error2.png

 

If you have lots of errors there are other things you can do create columns showing the error message and details.  This involves creating columsn using try otherwise to extract the Error Record information.  Post back here if you need me to write this for you.

 

FYI Dealing with errors | Microsoft Docs

 

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
Syndicate_Admin
Administrator
Administrator

Hello 👋

Please tell me how you managed to expand the Sharepoint search columns in Power Bi @Syndicate_Admin

To expand a column, you click on the button at the right-hand side of the column header and select Extract values. The field contents will change from List to Record. Then click on the same button again, and you will see the list of available fields. Those which are selected will be turned into new columns.

PhilipTreacy
Super User
Super User

Hi @biterbit 

 

On the column of Records with errors, select the column then from the Home tab of the Ribbon, click on Keep Rows then Keep Errors.

 

This should give you a column containing any errors in it.  You can then examine the errors by clicking into the column beside the word Error to see what is wrong.

error2.png

 

If you have lots of errors there are other things you can do create columns showing the error message and details.  This involves creating columsn using try otherwise to extract the Error Record information.  Post back here if you need me to write this for you.

 

FYI Dealing with errors | Microsoft Docs

 

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.