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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
smeenaks
New Member

Connecting to Salesforce through Power BI

Hi - We are trying to connect salesforce objects through Microsoft BI and we get the following error : 

 

'DOM PArser is undefined' for one user & 'Unable to get property 'hasOwnProperty' of undefined or null reference ' for another user

 

Kindly let me know the reason for this error and a solution to fix this. 

 

Thanks,
Sujatha.M

9 REPLIES 9
ReportMaster
Post Patron
Post Patron

Hi @smeenaks 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 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

 

v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@smeenaks,

Do you connect to Salesforce in Power BI Service or Power BI Desktop? If you are using Desktop, what version of Power BI Desktop do you use? Are you able to sign in Salesforce in web browser?

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 - I connect through Microsoft Excel - > Data - > Get data -> From Online services - > Salesforce object I checked the version from the diagnostics(Data - > Get Data - > Query Options - > Diagnostics) - 2.56.5023.1102 32-bit Thanks, Sujatha.M

@smeenaks,

What is the result when you use Salesforce object connector in Power BI Desktop ?

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 - 

It requests for login credentials and when I give that and try to connect I get the following error mesasge : 

 

'DOM PArser is undefined' for one user & 'Unable to get property 'hasOwnProperty' of undefined or null reference ' for another user

 

Thanks,
Sujatha.M

Hi Lydia - Any update on this issue ? 

 

Thanks,

Sujatha.M

@smeenaks,

Are you able to sign in salesforce in web browser?

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 - I am able to login to Salesforce without any issues. 

 

Thanks,
Sujatha.M

@smeenaks,

Please add a blank query in Power BI Desktop, paste the following code to the Advanced Editor of the blank query and check if you can get any errors.

let
    Source = Salesforce.Data("[salesforce URL]", [CreateNavigationProperties = true]),
    Newtable= Source{[Name="Tablename"]}[Data]
in
    Newtable



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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors