Forum Discussion
Setting a default image in the image visual when no selection is made
- 5 years ago
Hi Anonymous ,
Which visual are you using?
If the visual supports to use Measure as value field, try these:
Measure 1 = SELECTEDVALUE('Table'[Image]) -------support single selection and if nothing is selected, show blank.Measure 2 = IF(ISFILETER('Table'[YourSlicerValue]),MAX('Table'[Image])) -----support multiple selectionsIf the visual doesn't support to use Measure as value field, try to use a card to cover it. Here is an example:
https://exceleratorbi.com.au/show-or-hide-a-power-bi-visual-based-on-selection/
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Anonymous ,
Which visual are you using?
If the visual supports to use Measure as value field, try these:
Measure 1 = SELECTEDVALUE('Table'[Image]) -------support single selection and if nothing is selected, show blank.Measure 2 = IF(ISFILETER('Table'[YourSlicerValue]),MAX('Table'[Image])) -----support multiple selections
If the visual doesn't support to use Measure as value field, try to use a card to cover it. Here is an example:
https://exceleratorbi.com.au/show-or-hide-a-power-bi-visual-based-on-selection/
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Icey Thanks for the solutuion. I am using the ImageViewer Visual which is supporting measures and your solution worked!