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

See when key Fabric features will launch and what’s already live, all in one place and always up to date. Explore the new Fabric roadmap

Reply
sonu123456
Frequent Visitor

I want to change database dynamically

I have created Power bi report, also I created server name & database name parameters in power query. I have 25 databases and schema are same of all databases. In power bi service i need to change parameters manually in schematic model settings. Can we set parameters for User1 so he can only dynamically/automatucally see user1 database data, similar for user2,etc. if not possible automatically change database through parameters, Please suggest me other options.

2 REPLIES 2
Anonymous
Not applicable

Hi, @sonu123456 

The idea of dynamically changing the database to the point where each user is viewing data that belongs to them is not supported in the current version of Power BI Desktop, you can use RLS to achieve a similar effect. You can read the official documentation for more information and steps on how to do this.

Row-level security (RLS) with Power BI - Microsoft Fabric | Microsoft Learn

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum



Client requirement is that if user 1 opens the report then he can see only user 1's database data, if user 2 opens the report then he can see only user 2's database data, this is same for all 25 users' database data. In one workspace he wants to change database data dynamically while users are using/opening the report.

 

  • Client main requirements is power bi report run on a browser on the local workstation and connect to the customer's local SQL database automatically.
  • He want to change 25 database data dynamically as per the report users. All users have own database.

Helpful resources

Announcements
May PBI 25 Carousel

Power BI Monthly Update - May 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

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

Top Solution Authors