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
GuilleATT
Frequent Visitor

DataSource Error from SalesForce object

Hi all,

 

I'm getting an error which I don't even understand... it happens when filtering a column by a certain value, but it's not even the Sales_Territory column that the error mentions... 

GuilleATT_1-1600867982187.png

can anyhow throw some light on this error and if possible how to solve it?

 

Best,

 

Guillermo

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Your WHERE statement is incomplete.  At the bare minimum it will need to say TRUE=TRUE  but more likely you are missing a filter column.

View solution in original post

4 REPLIES 4
lbendlin
Super User
Super User

Your WHERE statement is incomplete.  At the bare minimum it will need to say TRUE=TRUE  but more likely you are missing a filter column.

Anonymous
Not applicable

I'm receving a nearly identical error when trying to expand account object fields. I understand that in the error displayed, the statement is incomplete; however, I don't see a way to edit the soql query directly (if I could this would be super easy to resolve). I'm not sure what you mean by 'missing a filter column'. Can you please elaborate on what the issue might be and how to correct?

Show your Power Query code please.

Hello, I don't know if the issue has already been adressed and resolved.
Anyway I'm getting the same error than Guillermo.
Please find below steps that I have made:

  1. Load Account data from Salesforce source --> The stand alone table works fine
  2. Load Competitor data from Salesforce source --> The stand alone table works fine
  3. Join the above table to get the competitor accounts details -->
    1. The "join" step works properly
    2. The "expand table column" steps got this error: SELECT Id FROM Account WHERE TRUE

I got the issue even if i try to recreate the step from zero.
Please find below the power query code related to steps 3.1 and 3.2:
3.1 Code: = Table.NestedJoin(#"Removed Other Columns1", {"Competitor__c"}, #"Competitor Details 01 - Account", {"Id"}, "Competitor Details 01 - Account", JoinKind.Inner)
3.2 Code: = Table.ExpandTableColumn(#"Merged Queries", "Competitor Details 01 - Account", {"Id"}, {"Competitor Details 01 - Account.Id"})

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