cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
smeenaks Frequent Visitor
Frequent Visitor

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
Moderator v-yuezhe-msft
Moderator

Re: Connecting to Salesforce through Power BI

@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.
smeenaks Frequent Visitor
Frequent Visitor

Re: Connecting to Salesforce through Power BI

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
Moderator v-yuezhe-msft
Moderator

Re: Connecting to Salesforce through Power BI

@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.
smeenaks Frequent Visitor
Frequent Visitor

Re: Connecting to Salesforce through Power BI

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

smeenaks Frequent Visitor
Frequent Visitor

Re: Connecting to Salesforce through Power BI

Hi Lydia - Any update on this issue ? 

 

Thanks,

Sujatha.M

Moderator v-yuezhe-msft
Moderator

Re: Connecting to Salesforce through Power BI

@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.
smeenaks Frequent Visitor
Frequent Visitor

Re: Connecting to Salesforce through Power BI

Hi Lydia - I am able to login to Salesforce without any issues. 

 

Thanks,
Sujatha.M

Moderator v-yuezhe-msft
Moderator

Re: Connecting to Salesforce through Power BI

@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.