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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
jarwest
Helper II
Helper II

How to use separate credentials for the same data source for 2 different reports?

Hey all,

 

Like it says on the tin, I have 2 different sets of credentials for the same data source that I need to use for PBI Reporting.

 

I have my usual credentials, lets call them credential_A, that I use for everything. It's a service account credential that I and another PBI developer I work with use to connect to a SQL server the data for our reports is stored on.

 

However, for a recent report, I needed to make it so only I can access it, so we made another service account credential, let's call this one credential_B, that can access specific schemas on the SQL server. 

 

Whenever I publish the recent report, it fails to refresh because it thinks I'm using credential_A. But, when I try to change it to credential_B, it changes my login to credential_B for every other report I own, disabling several other reports. I'm changing my credentials back to credential_A, but this doesn't fix the recent report in question. 

 

How do I use credential_A on other reports, but credential_B on the recent report?

 

Any and all help is appreciated

1 ACCEPTED SOLUTION

I don't believe that is an option for me, but I found a workaround. My team uses a gateway, I was able to add a new connection pointed to the same place just renamed, using the new credential. Everything is working smoothly now, I apologize for making a question just to answer it myself. Thanks for your help!

View solution in original post

2 REPLIES 2
Greg_Deckler
Super User
Super User

@jarwest My suggestion would be to create an alternate DNS entry or something for your SQL Server or create the connection using the IP address or something versus the friendly name. Basically, you need to create an alternate connection that Fabric *thinks* is different from the current one.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

I don't believe that is an option for me, but I found a workaround. My team uses a gateway, I was able to add a new connection pointed to the same place just renamed, using the new credential. Everything is working smoothly now, I apologize for making a question just to answer it myself. Thanks for your help!

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.