Forum Discussion

letizia's avatar
letizia
Frequent Visitor
2 years ago

Tooltip Power bi

Hello, I have a tooltip which has value only for some data , so I would like to show it only when data is not null , and I would like to hide it or to reduce his size when data is null. My tooltip is based on a measure which still have a condition on data :

ALERT_text_popup =
VAR resultat = MAX(Alerting[alert_text])
RETURN
    IF(
        ISFILTERED('KPI'[kpi_name]),
        IF(ISBLANK(resultat), "", resultat),
        [ALERT_text_popup_otif]
    )

. As you can see in the picture, I don't want to show an empty tooltip. Thanks in advance