Forum Discussion

VenkatC's avatar
VenkatC
Frequent Visitor
1 year ago
Solved

Report building for multiple clients

I have a database containing client details and want to create a report for each client. Although the reports will be similar, I aim to implement a single report that can be used for multiple clients. Which method is better: 1) filtering a report using query string parameters in the URL, or 2) dynamically binding datasets to a paginated report? Are there any other methods you would recommend?"

  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi, VenkatC 

    Thank you for your reply. You can build a dynamic query for your Power BI report according to the following demonstration, bind it to a specific table, and then set RLS for this table so that users can only access the data they have permission to access.

    Pass parameter to SQL Queries statement using Power BI | Microsoft Learn

    Dynamic M query parameters in Power BI Desktop - Power BI | Microsoft Learn

    In your case, you should set an RLS for the client table to ensure that only users with corresponding permissions can access the corresponding rows, and then pass it as a parameter in Power Query, which will dynamically query the data source.

     

     

     

    Best Regards

    Jianpeng Li

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

     

     

6 Replies