Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello there,
I have two power BI files that use the same database but different permissions for each set of tables. Every time I use one of them I have to enter the credentials of each username which feels a bit overwhelming because I have to ask for these. and when I put one of them the other stops working until I enter the credentials again.
Is there anyway to save the credentials of each username in each file or do I have to keep doing this?
thank you in advance.
Solved! Go to Solution.
Hi @BeshOz ,
Based on the information, power bi currently supports the need to verify credentials every time you fetch data. Credentials for data sources are managed at the data source level, not at the individual file level.
Try to publish to the service, managing semantic model access as workaround.
View the following documents to learn more information.
Manage semantic model access permissions - Power BI | Microsoft Learn
Solved: connect to the same database with 2 different user... - Microsoft Fabric Community
Solved: Add two different credentials for same data source... - Microsoft Fabric Community
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @BeshOz ,
Based on the information, power bi currently supports the need to verify credentials every time you fetch data. Credentials for data sources are managed at the data source level, not at the individual file level.
Try to publish to the service, managing semantic model access as workaround.
View the following documents to learn more information.
Manage semantic model access permissions - Power BI | Microsoft Learn
Solved: connect to the same database with 2 different user... - Microsoft Fabric Community
Solved: Add two different credentials for same data source... - Microsoft Fabric Community
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you! publishing it solved the problem, although I have to work on web version now but it works and I don't need to enter the credentials anymore.
Hi Rohit,
Apperantly the database is the same but the permissions are different. like only the username and the password are different. so that does not work as I have just tried to do it.
Sorry for that.
You can save credentials for each SQL Server in Power BI:
Save Credentials:
Use DirectQuery or Import Mode: Ensure each file is set to its respective connection mode.
For detailed steps, refer to the official Microsoft documentation.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
97 | |
65 | |
45 | |
39 | |
31 |
User | Count |
---|---|
164 | |
111 | |
61 | |
53 | |
38 |