Forum Discussion
Visual card All mention
- 5 years ago
Hi Vanessa250919 ,
I am taking following sample data where I have a field named Location as a slicer and a card visual with this value:
When I select anything in the slicer that value is displayed in the card visual.
If I understand your requirement correctly, you want to display ALL in the card visual when nothing is selected in the slicer.
for that create the following measure:
Measure =var t1 = SELECTEDVALUE('Table'[Location])RETURNIF(t1 = BLANK(), "ALL", t1)Move this measure to card visual. Now if you don't select anything in the slicer, card visual shows ALL as below:Make sure to use your column name in the above measure.
Let me know if this is what you were looking for.
Thanks,
Pragati
Hi Vanessa250919 ,
I am taking following sample data where I have a field named Location as a slicer and a card visual with this value:
When I select anything in the slicer that value is displayed in the card visual.
If I understand your requirement correctly, you want to display ALL in the card visual when nothing is selected in the slicer.
for that create the following measure:
Make sure to use your column name in the above measure.
Let me know if this is what you were looking for.
Thanks,
Pragati
- Vanessa2509195 years agoHelper V
its perfect thanks !