Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Good afternoon
Need to show and hide a graffiti in Power BI-visual based on a certain role,
Can we achieve it?
To my knowledge, conditional visibility is available in Power BI using slicers and bookmarks, but I don't need a click button or slicer, it should change automatically depending on the role selected.
Please share the solutions that are available with you to accomplish this.
Solved! Go to Solution.
Hi @Syndicate_Admin,
You can dynamically control the visibility of a visual (graffiti) in Power BI based on the user's role, without using slicers or bookmarks. This can be done through Row-Level Security (RLS) and a Measure-Based Visual Filter. Thank you @Deku, for your insights.
ShowGraffiti = IF(SELECTEDVALUE(UserRoles[Role]) = "Admin", 1, 0)
Please refer to the below link for your reference:
Solved: Hide and Show visuals based on condition - Microsoft Fabric Community
If this post helps, then please give us ‘Kudos’ and consider Accept it as a solution to help the other members find it more quickly.
Thank you.
Hi @Syndicate_Admin ,
I wanted to check if you had the opportunity to review the information provided by @Deku. Please feel free to contact us if you have any further questions. If there response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.
I can't find the solution to my problem
Hi @Syndicate_Admin,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Hi @Syndicate_Admin,
I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please Accept it as a solution and give it a 'Kudos' so others can find it easily.
Thank you.
Hi @Syndicate_Admin,
You can dynamically control the visibility of a visual (graffiti) in Power BI based on the user's role, without using slicers or bookmarks. This can be done through Row-Level Security (RLS) and a Measure-Based Visual Filter. Thank you @Deku, for your insights.
ShowGraffiti = IF(SELECTEDVALUE(UserRoles[Role]) = "Admin", 1, 0)
Please refer to the below link for your reference:
Solved: Hide and Show visuals based on condition - Microsoft Fabric Community
If this post helps, then please give us ‘Kudos’ and consider Accept it as a solution to help the other members find it more quickly.
Thank you.
You could use a measure to show a SVG. Then check if the user is listed in a table to toggle visibility
SVG=
If(
USERPRINCPALNAME() in seeSVG[email],
"..."
)
Need more information about what you are trying too do
sorry but your answer is not understood
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
72 | |
38 | |
31 | |
27 |
User | Count |
---|---|
92 | |
50 | |
44 | |
40 | |
35 |