Forum Discussion

toussdev's avatar
toussdev
Frequent Visitor
2 years ago

Salesforce connexion to Power Bi Service

hi i have just published a new report on PBI service. This report uses connexion with Salesforce Object. It works perfectly on PBI desktop. But on PBI service, impossible to set up a connexion. the weirdest is that i done that before this year and it was very easy. This previous connexion exists always (for another report) but impossible to use this for this new report. 

for this new report, i'm asked to create a new connexion for Salesforce. So but in the screen to define the new connection, the fields "Authentifcation Method" and "Connexion Type" are disable. Usely i write respectively "Salesforce" and Oauth 2.0.

Somebody can help? thanks for advance

 

impossible to createa creation of a new connexion is asked

26 Replies

  • toussdev's avatar
    toussdev
    Frequent Visitor

    the screen with my previous connexion Salesforce that works and that i use for others report PBI

    an actual SF Connexion that works

    • lbendlin's avatar
      lbendlin
      Icon for Super User rankSuper User

      When you create a new connection wait for the page to render so you can actually enter something in the connection type field.

       

      What made you use a gateway in the first place? Salesforce connections do not need a gateway unless you are trying to merge them with on-premise sources in Power Query (which you shouldn't do anyway).

      • toussdev's avatar
        toussdev
        Frequent Visitor

        hi lbendlin , happy to read you. What do you mean by waiting for the page to render? 

        I click on the link to create a new cloud connection in the page of the datas model.

        and the screen of creation is opening (you can see the screenshots)

        i dont use a gateway for the salesforce connections. it's a cloud connection. 

  • toussdev's avatar
    toussdev
    Frequent Visitor

    hi lbendin, happy to read you. What do you mean by waiting for the page to render? 

    I click on the link to create a new cloud connection in the page of the datas model.

    and the screen of creation is opening (you can see the screenshots)

    i dont use a gateway for the salesforce connections. it's a cloud connection. 

    • aj1973's avatar
      aj1973
      Icon for Community Champion rankCommunity Champion

      Hey guys, 

      I tested the connection my self and in my surprise I don't see the Salseforce connector in drop down list of the connection type

      lbendlin  I don't think toussdev  is using a Gateway, he is trying the cloud connection and it seems that Salesforce is nor detected since it is not in the list !

      Something wiered

       

  • aj1973's avatar
    aj1973
    Icon for Community Champion rankCommunity Champion

    toussdev 

    Seems to me like the source is connected already

     

    You just need to add your credential and setup the refresh

     

    Did you try to run On demand Refresh?

    • toussdev's avatar
      toussdev
      Frequent Visitor

      hi aj1973 , no the source is not connected, the credential is added when you create a new connection. 

      i did that so many times. i think Microsoft has changes something. 

      impossible to run on demand refresh without that 😞

      • aj1973's avatar
        aj1973
        Icon for Community Champion rankCommunity Champion

        Your Salesforce account is it or was it a Trial and has expired?

    • aj1973's avatar
      aj1973
      Icon for Community Champion rankCommunity Champion

      Also, can you show me the error message you receive when trying to refresh manually?

       

  • Hi toussdev As a workaround, maybe you can try to test your connection with a 3rd party connector, which pulls data directly from the SF objects API and has no problem when refreshing in the service. 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:

     

     

    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:

     

     

    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.