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
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! 

@v-jayw-msft - 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
v-jayw-msft
Community Support
Community Support

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-bi-desktop-part-4/

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
Anonymous
Not applicable

Thank you all for the help! 

@v-jayw-msft - 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
Resolver III
Resolver III

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