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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
User232431
Helper III
Helper III

Disable Button Action based on user login

I Have 3 (first row in pic)cards and buttons on top of each card , and these buttons has assigned each bookmark.

if user "abc@org.com" login i can able to make card and button invisible to him and it becomes (second row in pic).

but after that the button is isin still active mode which he can click on invisible card and it leads to show the bookmark which is assigned to it.

How can we make button action turned "off" even if he clicks on invisible button for that specific user.

User232431_0-1747652053457.png

Thanks in advance

 

1 ACCEPTED SOLUTION
v-echaithra
Community Support
Community Support

Hi @User232431 ,

Create Two Versions of the Button:
Button A: This is the real button, linked to a bookmark. It should be visible only to authorized users.
Button B: This is a dummy (transparent) button with no action assigned. It should be shown only to restricted users.

To manage visibility:
Open the Selection Pane, and control which button is visible.
In the Bookmarks Pane, create two bookmarks:
One showing Button A and hiding Button B.
One showing Button B and hiding Button A.
When creating or updating each bookmark, make sure to:
Uncheck the option for Data.
Check the options for Display and Current Page.

If this post helps, please give us Kudos and consider marking it Accept as solution to assist other members in finding it more easily.

Regards,
Chaithra

View solution in original post

6 REPLIES 6
v-echaithra
Community Support
Community Support

Hi @User232431 ,

We wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.

 

Regards,
Chaithra.

v-echaithra
Community Support
Community Support

Hi @User232431 ,

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.

 

Regards,
Chaithra.

v-echaithra
Community Support
Community Support

Hi @User232431 ,

We wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.

 

Regards,
Chaithra.

v-echaithra
Community Support
Community Support

Hi @User232431 ,

Create Two Versions of the Button:
Button A: This is the real button, linked to a bookmark. It should be visible only to authorized users.
Button B: This is a dummy (transparent) button with no action assigned. It should be shown only to restricted users.

To manage visibility:
Open the Selection Pane, and control which button is visible.
In the Bookmarks Pane, create two bookmarks:
One showing Button A and hiding Button B.
One showing Button B and hiding Button A.
When creating or updating each bookmark, make sure to:
Uncheck the option for Data.
Check the options for Display and Current Page.

If this post helps, please give us Kudos and consider marking it Accept as solution to assist other members in finding it more easily.

Regards,
Chaithra

BhavinVyas3003
Super User
Super User

Use conditional formatting on the Action → Bookmark field:

  1. Select the button.
  2. Go to Action → Type: Bookmark.
  3. Click the fx next to Bookmark.
  4. Use a DAX measure like:

BookmarkSelector =

IF(USERPRINCIPALNAME() = "abc@org.com", BLANK(), "YourBookmarkName")

Assign this measure in the fx field.


Thanks,
Bhavin
Problem solved? Hit “Accept as Solution” and high-five me with a Kudos! Others will thank you later!

Hi Thanks for reply , i found that there is no "fx" is available for bookmark selection

User232431_0-1747656855027.png

 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.