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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors