The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi all,
I am trying to have the flag of a country shown in a separate, text box-like, object. But I want to have this only when a country is selected from a table; it should be empty when no selection is made.
Some sample data:
The output I had in mind:
I need this feature in the future when we have a table with all products that are for sale. When the user selects a product, the corresponding image should show up such that the user knows exactly what product he is selecting.
Thanks in advance.
Kind regards
Solved! Go to Solution.
Hi,
If i have understood correctly then one way to achieve it would be to create your separate flag visual using a table for example then creating a measure using a code like below
Hide/Show = IF(ISFILTERED(Table[Country]),1,0)
After that you can add the measure as a visual filter and set it like below
This should show the image when something is selected in the slicer but be empty when nothing is selected
Hi,
If i have understood correctly then one way to achieve it would be to create your separate flag visual using a table for example then creating a measure using a code like below
Hide/Show = IF(ISFILTERED(Table[Country]),1,0)
After that you can add the measure as a visual filter and set it like below
This should show the image when something is selected in the slicer but be empty when nothing is selected
Works exactly as planned. Thanks a lot!
User | Count |
---|---|
65 | |
61 | |
60 | |
53 | |
30 |
User | Count |
---|---|
180 | |
88 | |
71 | |
48 | |
46 |