Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be 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

Reply
fcivardi
Advocate I
Advocate I

Salesforce data load stops at 128001

I try lo load the Account table  and it stops at 128.001 with one error (I've seen there is another post with the same problem). If I refer to the same query, I can get different numbers:

 

-- 128.001 rows

#Account table

let
    Source = Salesforce.Data(),
    OpportunityLineItem = Source{[Name="Account"]}[Data],
    #"Removed Other Columns" = Table.SelectColumns(OpportunityLineItem,{"Id", "Name", "RecordTypeId"})
in
    #"Removed Other Columns"

 

-- this refers to the previous query and gets 222.001 rows:

let
    Source = #"Account Table"
in
    Source

 

 

10 REPLIES 10
ReportMaster
Post Patron
Post Patron

Hi @fcivardi were you able to find a solution? As a workaround, maybe you can try to test your connection with a 3rd party connector, which pulls data from the SF objects API which has less strict limitations. 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:

 

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

BIUser1524
New Member

Has anyone identified the solution to this problem? I am getting the same error "URL too long". I tried Power BI as well as Excel PowerQuery and I get the same error. It think it is because the table has too many columns. The error message gives the URL and it is all (or most) of the columns listed one after another. I don't have any ability to update the table or change the number of columns. Any help would be hugly appreciated!

Beckham
Advocate II
Advocate II

This happens ALL THE TIME at our organization. It's not pulling in all the rows from Salesforce. 

 

The only work around we've been able to figure out, is to load the entire object into excel without filtering anything in powerquery (from what I understand, when you filter in powerquery, it bumps into salesforce's restrictions very fast). Then once it's loaded into a table, create a new query and link to the loaded table. Then perform your transformations in a second query locally.

 

 

joeort
Frequent Visitor

I have the same problem.  PBI Support keeps telling me to update to the latest version (which I have - currently Jan 2016) and that's supposed to fix it.  It's made the product unreliable and frustrating to work with.

 

I've had lower numbers pull through and still get the error which then cascades into the later tables not loading at all (1 row loaded 1 error; turns out it's a blank table row).  Contact tables have loaded at 234 and 1 error and 82,001 and 1 error.

Greg_Deckler
Super User
Super User

Generally when I have run into similar issues it comes down to some bad data. I had similar issues with certain fields in Microsoft CRM when loading Leads. That being said, it looks like you are only loading a single field so you can't get around it like I did by removing fields. What is the error?


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

How can I see the error?  I only see " loaded x rows with 1 error"

pqian
Microsoft Employee
Microsoft Employee

@fcivardi Can you run the following query:

 

= Table.SelectRowsWithErrors(PreviousStep)

DataSource.Error: The operation has timed out Details: https://my.salesforce.com/services/data/v29.0/query/01g2000002x2iwbAAA-128000

Not sure how you are connecting into Salesforce.com but be aware that Salesforce.com has execution Governors and Limits to prevent performance issues.  It is quite possible that Salesforce.com connectivity is telling you that you are limited in the data you can extract.

 

Check out the url below for more info.....

 

https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_gov_limits.htm

 

Diana

@fcivardi - Probably the best thing to do would be to turn on logging. Go to File | Options & Settings | Options | Diagnostics and check the box to enable Tracing. Run the data load and then take a look at the trace file.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.