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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

check for role to show/hide elements

Hello dear Community,

 

i have done some research and  it seems there is no solution for this but still i wanted to ask before giving up on it. So i got this report with 3 roles and i want to hide or show specific Elements on my Dashboard depending on the users role. So is it possible to get the role of the user which he's assigned to and check before showing a specific View?

 

Thanks alot!

1 ACCEPTED SOLUTION
v-yulgu-msft
Employee
Employee

Hi @Anonymous,

 

What elements are you taliking about? Do you mean visualizations on a report page? If so, I would say it is not possible to dynamically show/hide visuals based on user roles. RLS is used to restrict data rows. Also, per my knowledge, it is not supported to get the role of the user which he's assigned to.

 

Regards,

Yuliana Gu

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

View solution in original post

2 REPLIES 2
v-yulgu-msft
Employee
Employee

Hi @Anonymous,

 

What elements are you taliking about? Do you mean visualizations on a report page? If so, I would say it is not possible to dynamically show/hide visuals based on user roles. RLS is used to restrict data rows. Also, per my knowledge, it is not supported to get the role of the user which he's assigned to.

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hello @v-yulgu-msft,

 

yes i was talking about visualizations. I used RLS to hide datasets from users without permission but now my Company needs a way to hide specific visualisations based on the roles they got. Well it would be a great addition for PowerBi.

 

Thank's for replying and best regards,

Engin

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.