# How to set threshold for Singlestat panel for values like x/y both of which are numbers (eg :2/14)?

**URL:** <https://community.grafana.com/t/how-to-set-threshold-for-singlestat-panel-for-values-like-x-y-both-of-which-are-numbers-eg-2-14/20564>\
**Category:** Stat Panel\
**Created:** [August 29, 2019, 10:13am UTC](https://community.grafana.com/t/how-to-set-threshold-for-singlestat-panel-for-values-like-x-y-both-of-which-are-numbers-eg-2-14/20564 "2019-08-29T10:13:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yadavbhai](https://avatars.discourse-cdn.com/v4/letter/y/e95f7d/32.png) [@yadavbhai](https://community.grafana.com/u/yadavbhai)\
**Post date:** [August 29, 2019, 10:13am UTC](https://community.grafana.com/t/how-to-set-threshold-for-singlestat-panel-for-values-like-x-y-both-of-which-are-numbers-eg-2-14/20564/1 "2019-08-29T10:13:06Z")

</div>

I am able to display two values on my Singlestat panel in a way x/y which are numbers. (eg. 2/14)  
And now i want to set my thresholds for my data.  
I know how the threshold works but i am not getting how they are working in this case.

For reference i’ll provide you with some cases:  
Declared Green-Orange-Red for the range  
Declared Value 2/14 results are,

0,1 : Orange  
0,2 : Orange  
0,10 : Orange  
-1,0 : Red  
-1,1 : Orange  
0.2,1 : Green

Kindly help me with this Issue.

Regards  
grafananoobie

---

<div class="post-metadata">

**Author:** ![myratgeldijumageldiy](https://avatars.discourse-cdn.com/v4/letter/m/3ec8ea/32.png) [@myratgeldijumageldiy](https://community.grafana.com/u/myratgeldijumageldiy)\
**Post date:** [February 16, 2024, 2:25am UTC](https://community.grafana.com/t/how-to-set-threshold-for-singlestat-panel-for-values-like-x-y-both-of-which-are-numbers-eg-2-14/20564/2 "2024-02-16T02:25:19Z")

</div>

@yadavbhai can you explain how you display two values in form x/y there? I’m trying to do that
