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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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

8 REPLIES 8
v-yuezhe-msft
Employee
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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors
Top Kudoed Authors