Forum Discussion
tomas12344
1 year agoHelper III
enable/disable dynamically button
A customer need a page/report, where some buttons will be dynamically enabled/disabled based on logged user (the identification of the logged user I have done, question is only abou the dynamic enabl...
Akash_Varuna
1 year agoSuper User
Hi tomas12344 I think you could try using a measure and conditional formating could you try these please
- Use measures to control button properties, such as dynamically assigning an invalid or empty URL to unauthorized users, preventing navigation.
- Change button visuals, such as color or text, using conditional formatting based on measures to indicate disabled states.
- Simulate icon changes by using measures to dynamically swap icons or adjust their colors.
If this post helped please do give a kudos and accept this as a solution
Thanks In Advance
tomas12344
1 year agoHelper III
hi Akash_Varuna
Can you show me how to use a measure to define the icon? I cannot find it. Of course for a button. not for anything else.
Can you tel me how is an invalid URL defined for PBI?
- Anonymous1 year agoNot applicable
Hi tomas12344 ,
Please review the following threads, hope the solutions can help you get it.
Solved: Enable/Disable button based on user login - Microsoft Fabric Community
Solved: Buttons Conditional Format - Hide buttons based on... - Microsoft Fabric Community
Best Regards
- tomas123441 year agoHelper III
hi Anonymous
no this is not, what I need. As you know, there is the disable state for the button and I need to use that state.