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: 
paulyeo11
Master
Master

Set expression how to add one more condition ?

Hi All

sum({$<month-={$(=Num(Month(AddMonths(Today(),-2))))}>} [TOTAL_AMT])/1

DO filed :-

NOT_INVOICE

Reserve

Now i like to add condition DO=NOT_INOVICE into above expression.

I try :-

sum({$<month-={$(=Num(Month(AddMonths(Today(),DO=NOT_INVOICE,-2))))}>} [TOTAL_AMT])/1

If the above expression is correct , the value display with be same as column 2 Correct column.

Hope some one can advise me.

Paul

1 Solution

Accepted Solutions
Ivan_Bozov
Luminary
Luminary

Hello! Try this:

sum({$<month-={$(=Num(Month(AddMonths(Today(),-2))))}, DO={'NOT_INVOICE'}>} [TOTAL_AMT])/1

Result:

Capture.PNG

vizmind.eu

View solution in original post

3 Replies
paulyeo11
Master
Master
Author

my QVF

Ivan_Bozov
Luminary
Luminary

Hello! Try this:

sum({$<month-={$(=Num(Month(AddMonths(Today(),-2))))}, DO={'NOT_INVOICE'}>} [TOTAL_AMT])/1

Result:

Capture.PNG

vizmind.eu
paulyeo11
Master
Master
Author

Hi Ivan

Thank it work

Paul Yeo

DIrector

TDS Technology (S) P/L

Whatsapp +65 9326 1804

www.tdstech.com<http://www.tdstech.com>