Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hello,
I'm trying to dynamically display images based on selected filters. Currently my visualization works but unfortunately when nothing is selected, the viz shows a calculated result which is not what I want. I'm using the multi-row card viz for the image display, as I said all I want to adjust is the "default" image aka when no filters are selected.
Right now, I have two separate measures to achieve my result.
Solved! Go to Solution.
Hi @Anonymous ,
You could try ISFILTERED() function. For example:
IF(ISFILTERED(slicer),IMAGE URL,ANOTHER IMAGE URL)
Best Regards,
Jay
Hi @Anonymous ,
You could try ISFILTERED() function. For example:
IF(ISFILTERED(slicer),IMAGE URL,ANOTHER IMAGE URL)
Best Regards,
Jay
@Anonymous
you can use what @amitchandak mentioned above and it should work.
Also you can modify little SWITH(TRUE(), your reason is avaiable , first url, your reason unavailable, another url, other wise default url) , this also should work
Proud to be a Super User!
Many thanks, I'm actually exactly trying (and failing) to do that: the default URL part is failing. I also get an error whenever I try the "SWITCH(TRUE())..." measure it keeps telling me switch is not capable of measuring True/False and text types. Any ideas?
Unfortunately, I'm getting calculation error. I'll try to clarify what I'm trying to achieve.
If nothing is selected, I want the viz to show a separate image URL (default URL), if something is selected, I want it to show an image URL based on that values (right now it's "Available" or "Unavailable"). I tried to achieve this by changing my Banking measure to
Banking = SELECTEDVALUE('ETH'[Comms], "DEFAULT URL") but I cannot incorporate this to my Image measure without breaking. Any ideas?
Thanks
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 84 | |
| 49 | |
| 38 | |
| 31 | |
| 30 |