Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi All,
I have a requirement to show an image based on the slicer selection.
The below icon should appear only when one protocol is selected from the slicer. By default all the protocols will be selected, hence we want to hide this image.
When the icon is selected, there will be dates showing up
This functionality should be available only when one protocol is selcted.
Can someone please suggest on how to achieve this. Sample pbix file is uploaded here.
Thank you
Solved! Go to Solution.
Hi @POSPOS
There is no functionality for conditional visibility of the icon.
But you can get the needed effect with conditional formatting.
IF the report's background is white like on the dummy file you need to use one of the generic icons of the tool,
because you need the ability to format its color.
For example :
Then you can create a flag measure which will check if the protocol selected :
Result :
*It will not work with imported icons because you can't format their line color,
you can't also hide it by another object because it should be clickable.
pbix is attached
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
Hi @POSPOS
There is no functionality for conditional visibility of the icon.
But you can get the needed effect with conditional formatting.
IF the report's background is white like on the dummy file you need to use one of the generic icons of the tool,
because you need the ability to format its color.
For example :
Then you can create a flag measure which will check if the protocol selected :
Result :
*It will not work with imported icons because you can't format their line color,
you can't also hide it by another object because it should be clickable.
pbix is attached
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
User | Count |
---|---|
98 | |
76 | |
69 | |
53 | |
27 |