Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello,
I am trying out the (new) slicer in PBI Desktop and one of the features that it doesn't seem to have compared to the classic slicer is the checkboxes next to items.
I have seen screenshots in the official documentation where we can see checkboxes next to items :
New button slicer | Public preview | Microsoft Power BI Blog | Microsoft Power BI
I would like to replicate these checkboxes but from my understanding, it's not just a feature to turn off/on in the options, you have to set it up using the Images section of the slicer and have a measure that returns a dynamic image and using the State option (default, on press, selected etc...).
But it's not like you can put a measure for the default state (that would be a link to an unchecked box image from the web) and put an other for the Selected state.
It's only one measure for all states, and I guess you have to change the image displayed depending on whether the item is selected or not in the measure directly.
My issue is that I don't know how to set up my measure to be able to check if an item is selected or not.
Has anyone tried this before ?
Thanks in advance for the help.
Best regards
Solved! Go to Solution.
Hi @Ant_C ,
You do not setup a dinamic measure, you have to have an image for each one and then use it on the FX so you would have a measure for thedefault, another for selected, another for the hover and so on.
Check this video around 50 minutes you need to add a fill image to the buttons.
https://www.youtube.com/watch?v=CW7Vs0kDrC8&t=3059s
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHello,
Thanks for the answers. I confirm you do it by going to the Buttons section (and not Images), creating static images like this (in ppt) and use them as background :
And you set one image for each state.
Best regards
Hi @Ant_C ,
You do not setup a dinamic measure, you have to have an image for each one and then use it on the FX so you would have a measure for thedefault, another for selected, another for the hover and so on.
Check this video around 50 minutes you need to add a fill image to the buttons.
https://www.youtube.com/watch?v=CW7Vs0kDrC8&t=3059s
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @Ant_C
You use the Image | State option.
Set an image for Selected and a different image for Default.
Here I have the smilling face when selected and the user profile when not.
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
User | Count |
---|---|
84 | |
76 | |
69 | |
48 | |
39 |
User | Count |
---|---|
111 | |
56 | |
51 | |
42 | |
41 |