Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

Trying to get total count till selected year from multiselect input

$
0
0
Hi All, I am trying to display total active users count till selected year. I could achieve this , if I select only one year at a time, but if i try to select more that 1 year , I am getting error . Query using : ------------------ base query | eval cur_year=tonumber($year_value$) --> this is not allowing me to select more than one year. | eval count_status=if(Status="Active" AND year <= cur_year,1,0) | stats sum(count_status) as count_status by Supplier Could anyone please let me know if there is a way to display total count till multiple years.

Viewing all articles
Browse latest Browse all 47296

Trending Articles



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