Forum Discussion

Lewis_Beard's avatar
17 days ago
Solved

Do widget expressions support if/then value substitution?

A user has a need to treat zero values on some jitter graphs as if they were NULL, and not roll up into some averages on a widget. I know that I can add a complex datapoint to the datasource, or clon...
  • Mike_Moniz's avatar
    17 days ago

    If I understand you correctly, and you didn't mention the type of widget, but you can try making a Virtual Datapoint in a graph widget (and set the real datapoint to "do not display") that looks something like this (untested):

    if(le(MyDatapoint,0),unkn(),MyDatapoint)

    That should have the graph not show any values that are 0 or less. Virtual Datapoints use the same expressions as Complex DataSources.