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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi all,
I am using Shape Map with various provinces and a Card that shows me the name of the selected province.
Now when no province is selected I can choose to see the name of the First or the Last province, but what should I do to display the text "All" in the Card when no Province is selected?
Thanks!
Solved! Go to Solution.
You can adapt this proposed by Vvelarde:
View solution in original post
First measure would be:
FilterProvince = ISFILTERED ( Table[Province] )
This measure returns FALSE when no province is selected and TRUE when one is selected.
Then you can create a measure to show in a card the name of the selected province or the text "all" when no province is selected, like this:
ShowProvince = IF ( [FilterProvince], SUMMARIZE(Table, Table[Province]), "all")
You can adapt this proposed by Vvelarde:
View solution in original post
First measure would be:
FilterProvince = ISFILTERED ( Table[Province] )
This measure returns FALSE when no province is selected and TRUE when one is selected.
Then you can create a measure to show in a card the name of the selected province or the text "all" when no province is selected, like this:
ShowProvince = IF ( [FilterProvince], SUMMARIZE(Table, Table[Province]), "all")
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!