# I need help with PromQL - not sure if this is even possible

**URL:** <https://community.grafana.com/t/i-need-help-with-promql-not-sure-if-this-is-even-possible/29564>\
**Category:** Prometheus\
**Created:** [May 1, 2020, 2:58pm UTC](https://community.grafana.com/t/i-need-help-with-promql-not-sure-if-this-is-even-possible/29564 "2020-05-01T14:58:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rogier](https://avatars.discourse-cdn.com/v4/letter/r/ecc23a/32.png) [@rogier](https://community.grafana.com/u/rogier)\
**Post date:** [May 1, 2020, 2:58pm UTC](https://community.grafana.com/t/i-need-help-with-promql-not-sure-if-this-is-even-possible/29564/1 "2020-05-01T14:58:42Z")

</div>

Hi there and thanks for opening this post!

I have 3 metrics: sli\_1, sli\_2 and sli\_3. Each metric has a value of either 0 or 1 and is published to Prometheus every minute. What I want is a Singlestat panel that tells me the percentage of time during the past day that the sum of sli\_1,. sli\_2 and sli\_3 had the value of 3.

I’m pretty new to Grafana and PromQL and any help with this query would be greatly appreciated!
