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
Rinku21
Helper III
Helper III

Dynamic URL parameter in Power BI report with row level Security

Hi,

 

Can we pass dynamic url parameter in Power BI report? My requirement is, we have defined row level security with Manager-employee hierarchy. When employee logs in and if he is a manager then he can see his employees data and if he is an employee, he can see only his data.

But some of our users who needs to test this reports are not present in that Manager-employee hierarchy table. Is there any way they can access the report by passing parametrs dynamically in the power BI report url?

 

Thanks,

Rinku

3 REPLIES 3
v-yingjl
Community Support
Community Support

Hi @Rinku21 ,

If the report has enabled RLS, they can only view their related data based on RLS. Dynamic url parameter could not achieve this.

If anyone who is not in the RLS regulation wants to see the data of the report, he needs 'edit' permission to see all the data of the report, 'view' permission could not see any data.

To have 'edit' permission, just add him into the workspace as roles who are over 'viewers' role in power bi service if he is in your organization. If he is out of your organization, add him as a guest user first.

Please refer:

  1. Roles in the new workspaces 
  2. Distribute Power BI content to external guest users with Azure AD B2B 

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

Hi @v-yingjl ,

 

Thanks for your reply. Is there any other way to achieve the requirement?

I tried creating RLS but I am facing some issues while creating DAX. Below is the post where I mentied the issue:

https://community.powerbi.com/t5/Desktop/Dynamic-Row-Level-Security-in-Power-BI-with-if-condition/m-...

 

Thanks,

Rinku

amitchandak
Super User
Super User

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.