Forum Discussion
Disable Button Action based on user login
- 1 year ago
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
Use conditional formatting on the Action → Bookmark field:
- Select the button.
- Go to Action → Type: Bookmark.
- Click the fx next to Bookmark.
- Use a DAX measure like:
BookmarkSelector =
IF(USERPRINCIPALNAME() = "[email protected]", BLANK(), "YourBookmarkName")
Assign this measure in the fx field.
Hi Thanks for reply , i found that there is no "fx" is available for bookmark selection