Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Is it possible to add a where clause to SF data??
i have
Let
source= Salesforce.data("https://######.me.salesforce.com",[createnavigationproperties=true]),
knowledge_kav = source{[Name="knowledge_kav"]}[Data]
in
knowledge_kav
it shows an error which is asking for the published status to be stated - but how to I add a where clause into this ???
it would also be useful to have a where clause to reduce the initial number of records to be imported
thanks in advance
It asks about publish status of Salesforce report? I guess you should go check the salesforce report status.
When you said where clause I guess your are saying if function or filters in power bi to reduce the data table rows? You can not do that before you load the data into power bi destkop.
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
It's a shame if you could treat it more like an Sql query then you would be able to join or even limit the number of rows in tables
the actual error I get is
datasource.error: implementation restriction: when querying or searching the knowledge_kav object, you must filter using the following syntax: id = [single id], Id in [list of ids] or published status = [status], in addition publishstatus is only permitted in top-level and condition.
details:
[list]
how do you circumvent the error above if you can only have.
= source{[Name="knowledge_kav"]}[Data]
thanks
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.