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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors