Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
jgtdx
Contributor
Contributor

Nested set analysis

I am trying to use a nested set analysis to get from the same table a count of rows after the last row that met certain condition. 

Aggr(Count({$<[ColumnA]={'Value'},[ColumnB]={'No'},
Date={">=$(=aggr(Max({<[ColumnA]={'Value'},[ColumnB]={'Yes'}>}[Date]),[ColumnB]))"}
>} Date), [ColumnB]))

However, the table only shows values when it is filter on a specific value of Column B. and blank when the table is not filtered

 

Labels (1)
1 Reply
BrunPierre
Partner - Master
Partner - Master

Count(Aggr(Count({$<[ColumnA]={'Value'},[ColumnB]={'No'},
Date={">=$(=aggr(Max({<[ColumnA]={'Value'},[ColumnB]={'Yes'}>}[Date]),[ColumnB]))"}
>} Date), [ColumnB])))