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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.