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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. 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
Memorable Member
Memorable Member

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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