Forum Discussion

Mehul's avatar
Mehul
Frequent Visitor
3 years ago
Solved

Pct values not displaying correctly

I have a table with state, site and % value.

 

State    Site              Pct

NY       New York    71%

NY       Buffalo        50%

PA       Philadelphia  20%

 

I would like to display the % value as tooltip but when I drag the Pct colum, it comes up as sum and I don't want it to Avg either.  Anyway to display the value of each datapoint on the map w/o the average.

 

I trried using CALCUATE(MAX('TABLE[PCT])) but that displays the max value.

  • Its not possible to show a tooltip value without a aggregate function. If you are sure its only one value per dimension value you can Try to use:

    Selectedvalue ( table[pct] )

     

    If this throws an error of multiple Values you need to use an aggregate function, because a measure can only return a scalar value.

     

    Br

    Marius

1 Reply

  • Its not possible to show a tooltip value without a aggregate function. If you are sure its only one value per dimension value you can Try to use:

    Selectedvalue ( table[pct] )

     

    If this throws an error of multiple Values you need to use an aggregate function, because a measure can only return a scalar value.

     

    Br

    Marius