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.
Hi,
My issue is with sheduling a refresh using a sharepoint list dataset,
So my sharepoint list has 3 columns, labelled 'ClientID', 'ClientName', 'ClientGroup'. When I connect to the sharepoint list through Power BI it does the following:
All I need is my original data format, so the 3 columns with my column headers, I've tried so many different variations of steps to try and rename/remove/duplicate columns.
However once the report is published and I try to refresh from the online service, I get an error saying it can't find the column labelled either 'ID' or 'Title' (I don't understand how pbi desktop adds all these columns to my dataset, but then says it can't find them when refreshing from the online service)
The report refreshes fine in desktop, so there's no typo's or anything in my M query code, there must be something different about the online service refresh, anyone able to explain and let me know the work around?
Thanks in advanced,
'
Hi @Anonymous ,
Based on my research, I suggest you open your advanced editor in query editor to modify your column, you could refer to below link that may have the same issue with you:
Regards,
Daniel He
Hi Daniel,
How do you suggest I modify the column?
I'll paste an example of my M query here (I've replaced any links/ids), but there isn't any typo's or anything as the refresh works fine through desktop. I've rebuilt my query from scratch a few times, so there's no sort of referencing a deleted column
I've also tried plenty of different ways of scripting this, so referencing the "FieldValuesAsText" column or just referencing the 3 original column headers, i've changed up the order to rename columns last or ignore the multiple ID columns
let Source = SharePoint.Tables("https://xxx.sharepoint.com/sites/xxx", [ApiVersion = 15]), #"xxx" = Source{[Id="xxx"]}[Items], #"Renamed Columns" = Table.RenameColumns(#"xxx",{{"ID", "ID.1"}}), #"Removed Other Columns" = Table.SelectColumns(#"Renamed Columns",{"FieldValuesAsText"}), #"Expanded FieldValuesAsText" = Table.ExpandRecordColumn(#"Removed Other Columns", "FieldValuesAsText", {"Title", "OData__x0049_D1", "ClientGroup"}, {"Title", "OData__x0049_D1", "ClientGroup"}), #"Renamed Columns1" = Table.RenameColumns(#"Expanded FieldValuesAsText",{{"Title", "ClientName"}, {"OData__x0049_D1", "ClientID"}}) in #"Renamed Columns1"
Anyone solved this? I have the same issue.
Works fine in PBI Desktop, but not in the PBI Service with Scheduled nor manuel refresh
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.