简体   繁体   中英

Making a dynamic microsoft power bi report for every company

I'm working in a dashboard of KPIs, well it contains some power bi reports.There is a dropdown with it you can change the company, so do i have to do 2 differents reports for every company or can i make just one parametrable report?

If the report is a standard report that will deployed across a number of customers, I would suggest that you use row level security to filter the report based on the logged in user. You'll need to create a table of user to the company, then set up the filtering across the table. The Microsoft article gives a good outline on how to do this.

If that is not an option, you can deploy a report per customer, and set a parameter in Power Query, with a 'default' value, maybe one which returns no data so you don't accidentally return a customers data. You can then set the real parameter in the service and deploy the report in the iframe to the customer.

Another option is to filter the report at the url setting , that will pass a filter to the generic report, in your case to a customer.

Of the above options, Row Level Security will give the best & most secure option.

Hope that helps

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM