I made button to go other page, but I want to make button enabled only when user select one value from slicer.
Is there any way to control button to disable / enable?
Thanks in advance.
I may be very late to this but I have a solution if you are still looking for one.
For example, if your slicer is built on country name-
And I have buttons to navigate to the pages-
Next as per your requirement, I have created a measure in the dim_product table as below-
You are good to go.
@parry2k Do you think I can do the same thing with navigation button?
I followed the post, created the measure and it works great but when it button of type navigation I dont manage to disable it when the conditions are not met. the button dosent do anything but its not disabled
@DanielLinda it will work, did you actually tried it or asking questions. Everything is there, well documented for you to test. You can ask as many questions as you want but you have to test before asking the next questions. Just feedback.
I'm trying what you infromed, but I cannot use "SELECTEDVALUE" function and the error shows like below.
I cannot understand why the function cannot be found in my environment since I'm just following as same as the document.
Please give me any solution about it.
I succeeded to use HASONEVALUE function rather than SELECTEDVALUE.
However, the disabled drill through button just control text not action.
Is there no option to make user cannot click button?
Thanks so much.
Hi @DanielLinda ,
I'm not clear about your required? Do you want to all of the report consumers can't click this button? If yes, then this button is meaningless...
No, I want to control the button by selected value from slicer.
If user doesn't select any value from slicer, the button should be disabled(even though user click the button, any action should not work.).
When user select value from slicer, user can go other page by clicking the button.
Check out new user group experience and if you are a leader please create your group!
On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks
Mark your calendars and join us for our next Power BI Dev Camp!