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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
apthansh
Creator
Creator

Expression help

I have the below expression.

count( {<  Key = {"=sum([Amount (USD)]) >90000"} >} ID)

Here Amount USD is combination of Expense & Revenue So I want to Only include Expense which is greater than >90000.

Can I add that If statement within the above expression ?

I have a column called Type which  has Expense and Revenue.

sum(if(Type='Expense',Amount (USD)))

Thanks Much

3 Replies
trdandamudi
Master II
Master II

May be as below:

count( {<  Type={'Expense'},Key = {"=sum([Amount (USD)]) >90000"} >} ID)

vishsaggi
Champion III
Champion III

Did you try this ?

count( {<  Key = {"=sum({< Type = {'Expense'}>}[Amount (USD)]) >90000"} >} ID)

sunny_talwar

I agree with Vish. His expression should work for you.