Grafana legend filters

Im using following pmql query to fetch JVM heap.
jvm_memory_bytes_used{area=“heap”,tenant="$tenant"}

Now in legend i’m getting values with Min , Max and Avg.
I need only Avg value. please help me

You can customize this in Panel -> Legend -> Values. See this example on grafana.play.