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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
v-yaningy-msft
Community Support
Community Support

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.