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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
GaryK
Frequent Visitor

Changing Password for Data Source

Ok, so I know how to change the data source connection settings, but need to be able to do so without PB accessing the data source.

The specific scenario is that I am using Direct Query and every so often the DBA's change the database user account password.

So what happens is that I open my pbix and not only does it fail to get data from the source, the user account gets locked due to invalid login attempts.

 

Is there a way to change the connection password without opening the pbix, or some way to open it but not try to retrieve data?

 

Thanks

Gary

1 REPLY 1
v-sihou-msft
Microsoft Employee
Microsoft Employee

@GaryK

 

No, it's not possible. The data source is created within Power BI Desktop, to edit the accessing user credential, you have to open the .pbix file. And we can't disable retrieving data when using Direct Query mode.

 

Under Direct Query mode, it will open connection to data source at intervals. In this scenario, if each user has own account, you should let end users to edit the password. If this account is shared by multiple users, it's not a good practice to lock this account due to access with incorrect password.

 

Regards,

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 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.