Forum Discussion
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
- AnonymousNot 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 LearnBest Regards,
Yang
Community Support TeamIf 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
- sonu123456Frequent Visitor
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.