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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
emmanmapada
Frequent Visitor

Salesforce Objects - New Fields

Our company recently had a Salesforce redesign and managed to lessen the number of fields on the Accounts objects. How do I display the new (and lesser) fields in Power BI if I load the entire Account object? I tried doing it and it still shows the old fields.

 

Thank you in advance!

10 REPLIES 10
pablobarra
Advocate I
Advocate I

Hi

 

You can use a a couple of options:

 

1) in Power BI go to Options\"Clear cache" and click the "Refresh Preview" button in Query Editor of Power BI. Select an early step, if you have a trasnformation like "Remove other columns" you have double click in the step and check the new fields to be included.

 

2) With your Excel spreadsheet connected to Salesforce, if you can see the new fields in the preview table, you can copy the M code from you Excel Advanced editor to  the Advanced editor in Power BI

 

Regards

v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@emmanmapada,

Have you clicked the "Refresh Preview" button in Query Editor of Power BI ?

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Lydia,

 

Thanks for the help. I did, but it still shows the old fields.

@emmanmapada,

Are you able to view the new field when you connect to salesforce from other applications such as Excel? What is the type of this field?

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-yuezhe-msft Yes. I am able to view the fields when I export to Excel. The field types are a combination of drop-down and free text fields. 

@emmanmapada,

What is the specific option in Excel do you use? If you use Power Query option, could you please post the code in Advanced Editor of Power Query? And also please post the code in Advanced Editor of existing query in Power BI Desktop. Do mask sensitive data before uploading codes.

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-yuezhe-msft Please see side by side comparison of Contact Object and Power BI

 

Presentation1.png

@emmanmapada

I am not able to see the second screenshot.

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-yuezhe-msft Hello. It's only one image. Left is Salesforce, beside it is Power BI.

@emmanmapada

Could you please post the code in Advanced Editor of Power Query?

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.

Top Kudoed Authors