Forum Discussion
DataSource.Error: invalid query locator when expanding a column
Dear,
I had the same "invalid query locator" issue with Salesforce.com related data.
After selecting the following menu path "Power BI Desktop - Home - Edit queries - Advanced Editor", I changed the "source" parameters :
Situation before :
let
Source = Salesforce.Data(),
Opportunity1 = Source{[Name="Opportunity"]}[Data],
#"Filtered Rows" = Table.SelectRows(Opportunity1, each [Dep_Code] = "PER")
in
#"Filtered Rows"
Situation afterwards:
let
Source = Salesforce.Data("https://login.salesforce.com/", [CreateNavigationProperties=true]),
Opportunity1 = Source{[Name="Opportunity"]}[Data],
#"Filtered Rows" = Table.SelectRows(Opportunity1, each ([Dep_Code] = "PER"))
in
#"Filtered Rows"
That means: the issue in my scenario has been solved by approaching the Salesforce data via my corporate salesforce account + applying correct source parameters.
Cheers!
Gaston
This method worked for me. Thanks for sharing!