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
Anonymous
Not applicable

Cannot load lookup field from a sharepoint list

Hi there

 

I am trying to expand a lookup field from a sharepoint list, but I got this error:

 

DataSource.Error: Value cannot be null.
Parameter name: entitySet
Details:
DataSourceKind=OData

DataSourcePath=

errorrrrr.png

This is my step:

 

= OData.Feed("companysharepointurl/_api/web/lists/GetByTitle('Table1')/Items?$select=Title,cod_name,dsc_name,FieldValuesAsText/Title&$expand=FieldValuesAsText/Title")

 

I tried the same sintaxe in another lookup field and the query worked normally. 

= OData.Feed("https://hbsis.sharepoint.com/sites/EnterpriseIntelligence/_api/web/lists/GetByTitle('Table1')/Items?...")

 

expand.png

 

 

 

 

 

 

 

 

 

 

Can anynone help me on this?

2 REPLIES 2
Icey
Community Support
Community Support

Hi @Anonymous ,

 

Based on the error code, please check if there is any null value in the column.

 

 

 

Best Regards,

Icey

 

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

Anonymous
Not applicable

Hi @Icey thank you for your return, there is null value in the column and the error persists.

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.

Top Solution Authors
Top Kudoed Authors