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.

Salesforce API limit exhaust by incremental refresh

Hi,

I am facing below issue on incremtal refresh.
I am creating report based salesforce object, When I apply incremental refresh and publishing to the power BI service and refresh the data set, It will making too many salesforce API call that it will hit the maximum API limit.

 

So I am geeting token invaild, Access to resouce is forbidden error.

Does Anyone know how we can control/trace API call while refresh. see below error SS.Online service error.PNGPower BI desktop error.PNG

Status: New
Comments
v-yuta-msft
Community Support

@hardikmehta112 ,

 

The data source should have some policy about the request numbers. You can add a query timeout on power bi side. Please refer to doc below:

https://docs.microsoft.com/en-us/power-bi/service-premium-incremental-refresh#query-timeouts

 

Regards,

Jimmy Tao

QueryWhiz
Helper V

Hi @hardikmehta112 were you able to find a solution? 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