Expression where some values might be "no data"

Are those queried as timeseries? Because if they are timeseries, then it is not so simple: