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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

How to display/hide visual(s) based on user login?

Hello,

we are maintaining a table where we do the mapping of which user sees which visual. We need to check and hide visuals which are not there in the list for particular user. 

For Eg.

 

UserNMPageNMVisualNM
User1Page1Visual1
User1Page1Visual2
User1Page2ViIsual3
User2Page1Visual2
User2Page2Visual3
User2Page2Visual4

 

This means, when user1 logins, he/she will be able to see Visual1 & Visual2 on Page1 whereas user2 will see only Visual2 on Page1 and so on .

Is this possible?

2 REPLIES 2
v-zhangti
Community Support
Community Support

Hi, @Anonymous 

 

You can try using RLS to achieve your results. Please refer to the following document, hope it can help you.

https://docs.microsoft.com/en-us/power-bi/enterprise/service-admin-rls 

https://radacad.com/dynamic-row-level-security-with-organizational-hierarchy-power-bi 

https://community.powerbi.com/t5/Desktop/Dynamic-RLS/m-p/2523328#M895590 

 

Best Regards,

Community Support Team _Charlotte

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

Anonymous
Not applicable

@v-zhangti  Thanks for the reply.

But we are not looking for RLS.

Using RLS, will make the data on the visual disappear but Actually we need to hide/show the entire visual.

 

Priyamishra_2-1655455933092.png

 

 

 As shown in the above example, User1 will see only 1 visual whereas User2 will see 2 visuals.

 

Helpful resources

Announcements
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.