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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

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
Microsoft Employee
Microsoft 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
Microsoft Employee
Microsoft 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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors