This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Hi All,
I am trying to load a table from an ODBC database but only bring in the values from a salesforce table I have loaded in .....
I have a column in the Salesforce table called "job Number" (roughly 100k job numbers) I have been told that is too much for a keylist.
The ODBC table has millions of job numbers
I want to be able to run the ODBC SQL query to only bring back the job numbers in the Salesforce table
The keylist way meant I used applied steps and brought in the Saleforce table then removed all other columns, then created a new column "'"&[Job Numbers]&"'" then combined to create the keylist... then in the SQL I wrote
Select
job number,
visit report,
visit number,
status
from database.table2
where job number IN ("'"&[keylist]&"'")
it works fine for a small number but affects performance with larger data sets ..... I am hoping I have explained this well, I really could do with a more efficiant way
Hi @mjjuk ,
We can enter sql statement to filter the data in advance for the ODBC connector.
Hi v-frfei_msft,
I usually write in the SQL in this advanced section but how would i reference the Salesforce table?
Are you thinking a EXISTS SQL?
SELECT column_name(s)
FROM table_name
WHERE EXISTS
(SELECT column_name FROM table_name WHERE condition);
Is it possible to reference a Salesforce Object in this way?
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.