Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Compare Previous Expression

Hi Guys,

I need to arrive at the total count of the values based on the previous expression.

Attached is the sample Excel & the Desired output as well.

Can some1 help me in this

Rgds,

srini

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try: if(amt>=20,count({<amt={'>=20'}>} total amt),0)

See attached qvw


talk is cheap, supply exceeds demand

View solution in original post

4 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try: if(amt>=20,count({<amt={'>=20'}>} total amt),0)

See attached qvw


talk is cheap, supply exceeds demand
Not applicable
Author

BINGO 🙂

Not applicable
Author

just one help,

is it possible to count the same no of rows, if the second Expression ("Yes/No") = 'Yes' as per my excel.

i.e, can i get output something based on below

Column(2) = if(amt>=20,'Yes','No')

count(if(column(2)='Yes', count(rowno()))

Rgds,

srini

Not applicable
Author

Hi,

i have done it @ Script itself..

Rgds,

srini