Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 create
a creation of a new connexion is asked
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.
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?
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
Also, can you show me the error message you receive when trying to refresh manually?
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
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 😞
Your Salesforce account is it or was it a Trial and has expired?
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
no, no probem with my salesforce account. Anyway, i can't write my credentials. my previous screenshot shows that the fields "Authentifcation Method" and "Connexion Type" are disable.
Yes, but you said that another report still have the same connection and the refresh is still working fine, is it not?
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
yes @aj1973 , a connection Salesforce and it works perfectly.
but wtih the new report, no way to use this connection. I'm asked to create a new cloud salesforce connection. Tell me if I'm not clear.
Ok Fine,
The way you have used your desktop to connect to salesforce is not correct then.
here is the way to connect to Object
Power Query Salesforce Objects connector - Power Query | Microsoft Learn
try a new test
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
@aj1973 can you give me more explanations about what I do wrong? because i m thinking have done exactly on your link. I dont see how you can do otherwise.
For the test, Can you create a Dataflow please? I want to compare using Power Query Online and you Power Query that you used in Desktop.
just to make sure that with your credentials you can still connect Power bi service to your Salesforce account
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
to create a dataflow? what do you mean exactly?
i have just created a new slesforce connection in a new power bi desktop report. exactly on your link. In the screen, I click on Connexion and i enter my credentials
Dataflow is an online Power Query
According to the screenshot you are not able to connect with your credentials
My guesing is that the report which is connected in the service is using a Service account to connect to Salesforce. Il faut verfier avec tes Admins Salesforce et Power BI Tenant.
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
Vraimen bizzare !, You can connect online which is good,
Did you connect here in your desktop?
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
Welcome,
Can you please show me you the M code in Query Editor?
Also the steps applied please
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
the code for the connection? it's classic;
= Salesforce.Data("https://login.salesforce.com/", [ApiVersion=48])
and after = Source{[Name="Account"]}[Data]
Check this out
Compare the Version of the one report that is connected and refreshes fine.
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
30 | |
19 | |
19 | |
13 | |
13 |
User | Count |
---|---|
30 | |
21 | |
19 | |
18 | |
17 |