Hi All,
I am facing a very different issue from past 1 week. its so irritating that i am unable to traceout what causing this issue. My data source is sharepoint list and i am fetching a list and below is the script in Advanced editor.
let
Source = SharePoint.Tables("https://abc.sharepoint.com/sites/demo", [ApiVersion = 15]),
#"684bdc0c-b008-49bf-b3b8-5f6e057df7bc" = Source{[Id="684bdc0c-b008-49bf-b3b8-5f6e057df7bc"]}[Items],
#"Renamed Columns" = Table.RenameColumns(#"684bdc0c-b008-49bf-b3b8-5f6e057df7bc",{{"ID", "ID.1"}})
in
#"Renamed Columns"
The power bi data refresh happens successfully with out any issue. Now when i publish it to workspace and click on refresh now or schedule refresh it fails in less than min the refersh fails with error "The colum "ID" wasn't found. Then in the advanced editor , i had a look and see that two column have been imported from Sharepoint with one as "Id" and other as "ID.1". So i renamed column back to "ID" and other to "Id_A". Again the desktop refresh works
But schedule refresh fails.
I am really pissed of with this error as all of our live reports failed. I have raised a support ticket with microsoft but ended up with very poor response.The initial response came with a rocket speed but its been 2 days there is no mail from the support even after sending reminders. This is the ticket #: 117033115538550
i tried few snippets like below
#"Renamed Columns" = Table.RenameColumns(#"684bdc0c-b008-49bf-b3b8-5f6e057df7bc",{{"ID", "ID.1"}},MissingField.Ignore)
#"Renamed Columns"=Table.TransformColumnNames(Source, Text.Lower),
Still no luck . Please let me know whether anyone can help me with the resolution.