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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

Reply
Anonymous
Not applicable

Different User Same Datasource in a pbix, is Dataflow a solution?

I need to connect to Salesforce with 2 different usernames in the same pbix. As we cant do that in Desktop since the credentails gets overwritten. 

In order to overcome that - 

1) can we publish/create the dataset in the service and then connect to it thru desktop 

2) create a dataflow in the service and then connect to it thru desktop

 

What is advisable in the scenario. 

 

thanks in advance.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thank you all for the help! 

@Anonymous - the link is helpful but it dint help much in the scenario. My data source is saleforce, only the URL can be passed as the parameter and not the credentials. 

 

What worked for me was - 

1) Created a dataflow in the service with different username in the connection.

2) Connected to dataflow and saleforce in the desktop(both with different credentails) and published in the workspace. 

3) In the service (as I learnt) - 

Each user can only have one set of credentials per data source, across all of the data sets they own... 

So I had to take help of a teammate to publish one data source and other was published by self so as to enable refresh to work. 

 

Now data is getting refreshed from the same source for differnt users.

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @Anonymous ,

 

You can connect the dataset on Service through Desktop but i doubt if it will solve your problem.

Please take a look at below artical about how to switch datasource through parameters.

https://www.red-gate.com/simple-talk/sql/bi/power-bi-introduction-working-with-parameters-in-power-b...

 

Best Regards,

Jay

Anonymous
Not applicable

Thank you all for the help! 

@Anonymous - the link is helpful but it dint help much in the scenario. My data source is saleforce, only the URL can be passed as the parameter and not the credentials. 

 

What worked for me was - 

1) Created a dataflow in the service with different username in the connection.

2) Connected to dataflow and saleforce in the desktop(both with different credentails) and published in the workspace. 

3) In the service (as I learnt) - 

Each user can only have one set of credentials per data source, across all of the data sets they own... 

So I had to take help of a teammate to publish one data source and other was published by self so as to enable refresh to work. 

 

Now data is getting refreshed from the same source for differnt users.

tctrout
Responsive Resident
Responsive Resident

I am not familiar with Salesforce as a datasource, however I encountered a similiar issue with another source that may be helpful.

Our workaround was to create a service account that had access to all the information and then published the solution with this service account.  This way the service account's is used as the user.

lbendlin
Super User
Super User

Neither one is an option. Maybe if you create two separate dataflows then it might work.

 

You'll have to wait for the composite data model feature that was promised for later this year.

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.