March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello all,
So I have a collection of data I'd like to configure into a report with directquery mode, and publish to the web service whereas all of the datasources will refresh when the web interfacve refresh button is clicked. Unfortunately, it doesn't appear as though I can do it natively.
Source 1 - Azure SQL DB with some data, directquery is natively supported
Source 2 - Salesforce report, when I try to add this source it balks that DQ is not supported and all sources in the report now need to change to import.
Import isn't the end of the world, but it sure would be nice to avoid that. I'm curious if this a challenge others have faced? I haven't dug into the on-premise data gateway yet, but was wondering if that would serve my needs better or would hit the same limitation, requiring a scheduled (or manual) refresh.
Solved! Go to Solution.
@LegendaryTokash,
In DirectQuery mode, all tables should come from same data source and a single database, please check the limitations here.
In your scenario, as you combine multiple data sources in a single PBIX file, you can only use import mode. Besides, as you are connecting to online data sources, gateway is not required to refresh your dataset in Power BI Service. Just enter credentials for your data sources under "Data Source Credentials" in Power BI Service, and you will be able to set schedule refresh for your dataset.
Regards,
Lydia
Hi @LegendaryTokash were you able to find a solution? As a workaround, maybe you can try to test your connection with a 3rd party connector, which exports SF data directly from SF objects API and therefore the data will be exported in direct query mode. I've tried windsor.ai, supermetrics and funnel.io. I stayed with Windsor because it is much cheaper so just to let you know other options. In case you wonder, to make the connection first search for the Salesforce connector in the data sources list:
After that, just grant access to your Salesforce account using your credentials, then on preview and destination page you will see a preview of your Salesforce fields:
There just select the fields you need. It is also compatible with custom fields and custom objects, so you'll be able to export them through windsor. Finally, just select PBI as your data destination and finally just copy and paste the url on PBI --> Get Data --> Web --> Paste the url.
@LegendaryTokash,
In DirectQuery mode, all tables should come from same data source and a single database, please check the limitations here.
In your scenario, as you combine multiple data sources in a single PBIX file, you can only use import mode. Besides, as you are connecting to online data sources, gateway is not required to refresh your dataset in Power BI Service. Just enter credentials for your data sources under "Data Source Credentials" in Power BI Service, and you will be able to set schedule refresh for your dataset.
Regards,
Lydia
Hi There,
Can you please help me, I want to connect My Power Bi file to salesforce Objects, But when i connected it the PBI file size increases to ~300 MBs resulting in slow performance and very slow runrate.
Is there anyway to use DirectQuery instead of Importing Data? Please suugest me if you have any solution.
Regards,
Shivam
Just checking in to see how you resolved your Salesforce connection - have you tried using Power Query Editor to limit the number of fields you bring into PBI? You can also remove rows based on a filter. Together, they speed up refreshes
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.