Forum Discussion

lachlanP's avatar
lachlanP
Icon for Helper II rankHelper II
5 years ago
Solved

How to return a string instead of (Blank)

I have a tooltip page which displays the time of an event when it is hovered over on a line chart - this works well. The field being used in the card on the tooltip is a Time Only type and has a summ...
  • Greg_Deckler's avatar
    5 years ago

    Perhaps try one of these:

    event1Time tooltip =
    var result = MIN(event1table[eventTime]) & ""
    return
    if(
    result = BLANK(),
    "Not Detected",
    result
    )
    
    event1Time tooltip =
    var result = MIN(event1table[eventTime]) & ""
    return
    if(
    result = "#,0.00",
    "Not Detected",
    result
    )