How to use grafana to calculate the 95th value of the switch

How to use grafana to calculate the 95th value of the switch, which is to remove the maximum value of 5%. Then take the maximum

This depends on the data source you’re using. Could you share some more information on your data source?

For example, with Prometheus, you can use the histogram_quantile function.