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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
ltommylel
New Member

Missing Salesforce Fields When Loading Data Into Power BI

Hey everyone,

 

I'm trying to load in data from Salesforce Opportunity History object into Power BI and a quite few fields are missing.  The important fields I'm looking for that isn's available is:
1. Stage Duration

2. To Stage

3. From Stage

 

Creating a opportunity history report in Salesforce and loading in the report is insufficient because of the 2000 row limit.  Am I missing a setting somewhere to have all the fields visible in Power BI?

 

@Salesforce 

2 ACCEPTED SOLUTIONS
lbendlin
Super User
Super User

That's not how Salesforce History objects work.  You need to bring your own filter (in this case "Sales Stage"  for the "Field / Event" column, and then you can reconstruct the history from the "Old Value"  and "New Value" data.

 

Also note that the absence of a change record means the Sales Stage is the same as on the Opportunity object.  

View solution in original post

It's not that they are not available - the computation works very differently.  The complexity is more than compensated for by the much smaller storage size and the ability to recreate any moment in the history of each opportunity (for the captured field/event values)

View solution in original post

3 REPLIES 3
lbendlin
Super User
Super User

That's not how Salesforce History objects work.  You need to bring your own filter (in this case "Sales Stage"  for the "Field / Event" column, and then you can reconstruct the history from the "Old Value"  and "New Value" data.

 

Also note that the absence of a change record means the Sales Stage is the same as on the Opportunity object.  

@lbendlin Thank you for confirming that.  I found this reference doc that confirms those fields aren't available through SOQL.

It's not that they are not available - the computation works very differently.  The complexity is more than compensated for by the much smaller storage size and the ability to recreate any moment in the history of each opportunity (for the captured field/event values)

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.