Forum Discussion
salesforce connectivity - 2000 lines restriction
Hi,
Is there any solution to ensure ALL the rows in salesforce appear in power BI? Currently the restriction is 2000 rows.
I understand from earlier responses and searches that this is a Salesforce API restriction and not Power BI, but if im not wrong, this issue does not exists in Tableau, so why with Power BI?
Also, is connecting to salesforce objects a work around?
Thanks
- Anonymous9 years ago
Anonymous,
Based on Miguel’s response in this idea, the 2000 row limit is from Salesforce Report API but not from Power BI. You can share this feedback with Salesforce as this is fully in their control.
As a workaround for the above issue, you can use Salesforce Object connector in Power BI Desktop to pull all the rows from individual tables and recreate reports you’d like. The Object connector doesn’t have the 2000 row limit.
Regards,
8 Replies
- AnonymousNot applicable
Anonymous,
Based on Miguel’s response in this idea, the 2000 row limit is from Salesforce Report API but not from Power BI. You can share this feedback with Salesforce as this is fully in their control.
As a workaround for the above issue, you can use Salesforce Object connector in Power BI Desktop to pull all the rows from individual tables and recreate reports you’d like. The Object connector doesn’t have the 2000 row limit.
Regards,- AnonymousNot applicable
Is there a way to limit the rows (fields) from the object when connecting directly to a Salesforce Object?
- catcollectorHelper I
Anonymous Any chance you have a solution for this? We have pulled in a few objects, but there's due to large amounts of data PowerBI just keeps churning to return the results. If we can limit the number of records being returned, we can vet out visualizations first.
- manuelaschusterNew Member
Hi, I have a question
is the salesforce obejct connetor the online service from salesforce?
If I try to access/load this datas it tooks hours.
Thanks in advance
Manuela
- metricaPost Prodigy
Hi everyone,
The 2,000-row cap is still there. It comes from the Salesforce Reports API and Salesforce hasn't lifted it. The standard workaround - switching to the Object connector - does bypass the cap, but introduces two new problems that several people in this thread ran into and never got an answer for:
- you lose all the report-level logic you'd already built in Salesforce (filters, groupings, joined reports) and have to rebuild it from raw tables in Power Query
- the Object connector doesn't fold filters into SOQL, so on anything above ~100k rows it pulls the whole object into memory before filtering - which is why catcollector and manuelaschuster were seeing churn for hours
A third option worth knowing about is Power BI Connector for Salesforce on AppExchange. It sits between the two native paths: pulls Salesforce Reports as-is without the 2,000-row cap, and for Objects does server-side filtering - so you trim millions of rows down to what you need before they reach Power BI, instead of after.
30-day free trial, no card. Docs at https://metricasoftware.com/, and we're happy to walk through a quick demo on your own reports if useful - just reach out.
Cheers,
Metrica Team.
- TaxiDadNew Member
You can upvote the request to increase that 2000-row limitation. The more votes, the more likely it will be changed. Here is that link. https://ideas.salesforce.com/s/idea/a0B8W00000GdYvXUAV/power-bi-communicate-with-microsoft-development-team
- QueryWhizPost Patron
Hi, connecting to SF objects like it's been mentioned would be a workaround. You can try to test your connection with a 3rd party connector. The difference between the native PBI objects connector and an external tool is that this one wil let you pre-filter your data in the tool UI before moving it to Power BI. 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.