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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Syndicate_Admin
Administrator
Administrator

Mostar or hide Object (Power Automate button) according to connected user.

Hello colleagues, I need to show or hide a visual, depending on the user who connects. In this case, as there would only be two users to whom the visual has to appear, I did not want to use RLS because I tried and I could not.

Someone comes up with how to show an object with some type filter:

if (_usu="abcd@outlook", shows object, does not show object) something that I can put to that object and show it only to that user?

I would appreciate any help, because I have been trying for several days before requesting your help.

Thanks and greetings

1 ACCEPTED SOLUTION
v-jianboli-msft
Community Support
Community Support

Hi @Syndicate_Admin ,

 

Please try:

1. Create a card visual and adjust its size to cover the object (Power Automate button):

vjianbolimsft_0-1678760878352.gif

2. Apply the measure to the card visual and turn off Category Label:

Measure = ""

vjianbolimsft_1-1678760950310.png

3. Create a transparent measure and apply this to the card visual:

Transparent = 
IF ( USERNAME()="abcd@outlook", "#FFFFFF00", "White" )

vjianbolimsft_2-1678761087853.png

Final output:

vjianbolimsft_3-1678761303554.gif

Note: This method is not completely secure, so if the content you need to hide contains sensitive data, consider using RLS.

 

Best Regards,

Jianbo Li

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

1 REPLY 1
v-jianboli-msft
Community Support
Community Support

Hi @Syndicate_Admin ,

 

Please try:

1. Create a card visual and adjust its size to cover the object (Power Automate button):

vjianbolimsft_0-1678760878352.gif

2. Apply the measure to the card visual and turn off Category Label:

Measure = ""

vjianbolimsft_1-1678760950310.png

3. Create a transparent measure and apply this to the card visual:

Transparent = 
IF ( USERNAME()="abcd@outlook", "#FFFFFF00", "White" )

vjianbolimsft_2-1678761087853.png

Final output:

vjianbolimsft_3-1678761303554.gif

Note: This method is not completely secure, so if the content you need to hide contains sensitive data, consider using RLS.

 

Best Regards,

Jianbo Li

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

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.