# How to display value in use with total limited value

**URL:** <https://community.grafana.com/t/how-to-display-value-in-use-with-total-limited-value/110775>\
**Category:** Grafana\
**Tags:** value-mapping\
**Created:** [December 26, 2023, 12:11pm UTC](https://community.grafana.com/t/how-to-display-value-in-use-with-total-limited-value/110775 "2023-12-26T12:11:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ozgur5](https://avatars.discourse-cdn.com/v4/letter/o/22d042/32.png) [@ozgur5](https://community.grafana.com/u/ozgur5)\
**Post date:** [December 26, 2023, 12:11pm UTC](https://community.grafana.com/t/how-to-display-value-in-use-with-total-limited-value/110775/1 "2023-12-26T12:11:12Z")

</div>

I can get values from proxmox for memory in use. But I need to add total memory next to it.

```auto
from(bucket: "s1")
  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)
  |> filter(fn: (r) => r["_measurement"] == "system")
  |> filter(fn: (r) => r["_field"] == "mem")
  |> filter(fn: (r) => r["object"] == "qemu")
  |> filter(fn: (r) => r["_value"] > 0)
  |> filter(fn: (r) => r["nodename"] == "s1")
  |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)
  |> yield(name: "mean")

```

Sample screen shot [https://disk.yandex.com/i/vdSARYpXvp-siA](https://disk.yandex.com/i/vdSARYpXvp-siA)
