title: How to filter label name after count_values in promql
body: <p><a href="https://i.stack.imgur.com/s4UVT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/s4UVT.png" alt="enter image description here"></a></p>
  
  <p>a gauge named bag_status with label(a)</p>
  
  <p>using </p>
  
  <pre><code>count_values ("bag_status" ,bag_status)
  </code></pre>
  
  <p>it will count number for diferent values</p>
  
  <p>I want to filter bag_status with value &lt;1</p>
  
  <pre><code>(count_values ("bag_status" ,bag_status)){bag_status!=1}
  </code></pre>
  
  <p>does not work</p>