Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

conditional Expression

Attached is one of my simple expression which sums a column. Now I want to add a condition in the expression where it should sum the 'Invoiceamount' only when there is no word like 'Rejected' in the Status column.

With reference to the attached image, the red one should not be a part of sum

1 Solution

Accepted Solutions
Not applicable
Author

Try this in your expression:

sum({<Status-={'*Rejected*'}>}InvoiceAmnt)

Cheers,

Shyam

View solution in original post

4 Replies
Not applicable
Author

Sum({$<Status={'Pending'}>}InvoiceAmount). 

Best Regards,
Vishal

Not applicable
Author

Thanks for the expression. But here I need a statement where it looks for a word 'Rejected' in a statement.

In SQL you will represent it as (Status like 'Rejected%)

Not applicable
Author

Try this in your expression:

sum({<Status-={'*Rejected*'}>}InvoiceAmnt)

Cheers,

Shyam

Not applicable
Author

Thanks it works,

How can I filter the Rejected and Cancelled in Status field from the report as per the attached image.