Filter rows in table : Show rows value only if the previous value is different

I am not sure one can (in a straightforward manner) remove a duplicate row of data using Grafana. Maybe check the Influx forum and see how to handle it using the Distinct function (maybe this post from several years ago will help). If the query can indeed be built using Influx, then I would expect it could be placed in the Overrides box as shown below and then Grafana would not include that duplicate row of data when making your graph (but the data would still exist in Influx).
Override