The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
I have developed Power BI report with datasource sharePoint list. It works fine when there are items to the sharepoint list.
when data set(SharePoint list) has no record, on click refresh report from Power BI desktop or refresh dataset from Power BI workspace, it shows error message:Expression.Error: The column 'ID' of the table wasn't found.
Details:
ID
Editor code:
Source = SharePoint.Tables("https://SiteURL", [ApiVersion = 15]),
#"f5637e27-9ed1-4276-b244-539e73fafbe4" = Source{[Id="f5637e27-9ed1-4276-b244-539e73fafbe4"]}[Items],
#"Renamed Columns" = Table.RenameColumns(#"f5637e27-9ed1-4276-b244-539e73fafbe4",{{"ID", "ID.1"}}),
It should show some relevant message " There is no record." instead of error message.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.