Forum Discussion

Fusilier2's avatar
Fusilier2
Helper V
1 year ago
Solved

Card visual callout value with shape map

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:

Wardmeasure = 
SELECTEDVALUE(Wards_December_2022_Boundaries_UK_BGC_6200513685334869522[WD22NM])
 
Which works fine.

 

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?

 
  • 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])
    )
    

3 Replies

  • 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])
    )