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.
↧