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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I have a card visual that shows the name of the selected section of a shape map (In this case Ward name) using this measure:
I'm trying to revise the measure so that it shows 'Total Wards' if nothing has been selected on the shape map, otherwise it displays the Ward name.
Can somebody point me in the right direction please?
Solved! Go to Solution.
Hello @Fusilier2,
Can you please try this approach:
Wardmeasure =
IF(
ISBLANK(SELECTEDVALUE(Wards_December_2022_Boundaries_UK_BGC_6200513685334869522[WD22NM])),
"Total Wards",
SELECTEDVALUE(Wards_December_2022_Boundaries_UK_BGC_6200513685334869522[WD22NM])
)
Hello @Fusilier2,
Can you please try this approach:
Wardmeasure =
IF(
ISBLANK(SELECTEDVALUE(Wards_December_2022_Boundaries_UK_BGC_6200513685334869522[WD22NM])),
"Total Wards",
SELECTEDVALUE(Wards_December_2022_Boundaries_UK_BGC_6200513685334869522[WD22NM])
)
Thank you!
Anytime! If you have any more questions, feel free to reach out to me 🙂
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 58 | |
| 56 | |
| 35 | |
| 18 | |
| 14 |