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
Anonymous
Not applicable

Direct Query & Salesforce Scheduled Refresh

Hi All,

 

I currently have a published report that has data from a Direct Query and from a Salesforce report. From my understanding, Datasets from a Direct Query do not need to be scheduled. My issue is that I would need to have the Salesforce report dataset refreshed on a daily basis. Would this be accomplished through a data gateway? Apologies if this is a novice question, as I'm relatively new to Power BI and its functionality.

 

Thanks in advance!

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

HI @Anonymous,

It sounds like a common report with multiple data sources, how did you connect to the salesforce data source? Web connector with rest api or connect with salesforce connector?

If you are working with mixed on-premise and online data sources, you need to configure on the premise data source on your gateway and turn on use gateway to manage cloudy data sources to enable the refresh. (cloudy Datasource does not need to configure datasource in your gateway, you only need to verify its data credentials)

Merge or append on-premises and cloud data sources 

If you are work with two on-premise data sources wiht differnert conneciton mode(direct query and salesforce with import mode connector), you need to turn on scheduled refresh on this dataset to enable refresh.

Notice: two data sources will apply different refresh types based on their connection modes, import works on scheduler refresh, direct query model data source will refreshed when you interact with its records.

Please check the following link to know more about different data refresh types in power bi:

Data refresh in Power BI 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

3 REPLIES 3
ReportBuilder07
Helper III
Helper III

Hi, in this case I think you don't need to use a gateway, as a workaround, maybe you can try to test your connection with a 3rd party connector. I've tried windsor.ai, supermetrics (which doesn't have PBI as a destination, so you first have to export to Google Sheets and then export to PBI) 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:

 

SALESFORCE-1.png

 

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:

 

SALESFORCE-2.png

 

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. 

 

SELECT_DESTINATION_NEW.png

v-shex-msft
Community Support
Community Support

HI @Anonymous,

It sounds like a common report with multiple data sources, how did you connect to the salesforce data source? Web connector with rest api or connect with salesforce connector?

If you are working with mixed on-premise and online data sources, you need to configure on the premise data source on your gateway and turn on use gateway to manage cloudy data sources to enable the refresh. (cloudy Datasource does not need to configure datasource in your gateway, you only need to verify its data credentials)

Merge or append on-premises and cloud data sources 

If you are work with two on-premise data sources wiht differnert conneciton mode(direct query and salesforce with import mode connector), you need to turn on scheduled refresh on this dataset to enable refresh.

Notice: two data sources will apply different refresh types based on their connection modes, import works on scheduler refresh, direct query model data source will refreshed when you interact with its records.

Please check the following link to know more about different data refresh types in power bi:

Data refresh in Power BI 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
Anonymous
Not applicable

Hi Xiaoxin,

 

Yes, this is the solution I came to after doing some more research. I appreciate the information and have accepted your answer as the solution.

 

-mpsentry

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