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

1 datasource with 2 different accounts

Hi 

 

 

How can I connect to the same datasource with 2 different accounts for 1 report? 

 

Example: 

Data connection: Web  

Url: http://***.service-now.com 

 

 

 

 

 

 

I have two accounts to access service-now:

account1: has access to data of Customer1
account2: has access to data of Customer2. 

In the report, I need to combine data of both customers. 

 

When I try to create the second dataconnection (to the same url), it will automatically use the credentials of the first account; I cannot enter the credentials of the second account. 

Any suggestions how to deal with this? 

 

Thanks in advance,

Emile 

 

 

2 ACCEPTED SOLUTIONS
v-yulgu-msft
Microsoft
Microsoft

Hi @emile1973,

 

The same scenario as yours, when I secondly connect to the same datasource, it uses previous credential by default. Also, under datasource connection pane, we can only see one record.  

1.PNG

 

In order to use another account, you should clear the previous permission before creating a second connection. Click the "Clear Permissions" button which has been highlighted in red.

 

Best regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Thanks, this works for me! Smiley Happy

 

All the best, 

Emile 

View solution in original post

4 REPLIES 4
ThreadRider2000
Regular Visitor

The solution provided breaks the connection from the first account.   How can we use two different accounts to the same datasource since each account accesses a different schema.

v-yulgu-msft
Microsoft
Microsoft

Hi @emile1973,

 

The same scenario as yours, when I secondly connect to the same datasource, it uses previous credential by default. Also, under datasource connection pane, we can only see one record.  

1.PNG

 

In order to use another account, you should clear the previous permission before creating a second connection. Click the "Clear Permissions" button which has been highlighted in red.

 

Best regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-yulgu-msft, will clearing the credential cause the first connection to stop working? As I understand the question (and my current need as well): Need to connect to a data source with *more than one* set of credentials. 

Example: 
Server: Server1
Database: Database1
User: domain\user1

Server: Server1
Database: Database1
User: domain\user2

I'd guess this is not possible without some kind of differentiation in the data source parameters. It's worth asking though!

Thanks, this works for me! Smiley Happy

 

All the best, 

Emile 

Helpful resources

Announcements
May 23 2022 epsiode 5 without aka link.jpg

The Power BI Community Show

Welcome to the Power BI Community Show! Jeroen ter Heerdt talks about the importance of Data Modeling.

charticulator_carousel_with_text (1).png

Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!

Power BI Dev Camp Session 22 with aka link 768x460.jpg

Check it out!

Mark your calendars and join us on Thursday, May 26 at 11a PDT for a great session with Ted Pattison!

Power BI Release May 2022 768x460.png

Check it out!

Click here to read more about the May 2022 updates!