Quantcast
Viewing all articles
Browse latest Browse all 13053

calculating the values which is having fixed value and then more than fixed value

I am having a table like below Field value a 1 a 2 a 5 b 6 b 8 c 1 c 8 I want to calculate number of fields which is having 1 and then more than 1 In the above example, ans is 2 bec a and c is having 1 and then more than 1, but not b (6 & 8, there is no 1 in b) Kindly help. I am trying but did't work ..| count(eval(value=1 & value>1)) as Total


Viewing all articles
Browse latest Browse all 13053

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>