How to view unique sum in grafana using elasticsearch data source

Hello everyone!

I am having some problems when visualizing data in grafana.
How can I get the only one metric which is newest?

I think it's a question you should ask in Grafana forums.