Grafana dashboard table panel with unique rows

Hi,
I created a Grafana dashboard that should act similarly to helm history command using this helm-exporter:

Helm history command output:

The problem is that the exporter and Prometheus are exporting metrics periodically (time-series / time based) and due to that I have duplicated rows in my table (There were only 3 revisions of the dummy chart but in the panel we see a lot).

I tried to make the rows unique by the revision and release columns but for no success
I also tried to use max by() and some transform but couldn’t achieve it.

The promQL query is:

helm_chart_info{chart=~"$chart", release=~"$release", namespace=~"$namespace"}

Any idea?