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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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

Top Solution Authors