Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
shamitshah
Partner - Creator
Partner - Creator

Count function expression

Hi,

I am having an issue with the following expression in Qlik Sense (basically it is a count of invoices with three conditions):

=Count(Distinct(if({<PKL_Status={'<=5'},LIT_Status={'>0'},BST_IsInactive <> (-1)>}InvoiceNumber))

Should i be using an AGGR function? Any idea what the correct expression should be?

Thanks

Shamit

1 Solution

Accepted Solutions
Kushal_Chawda

change the expression like below

Count(Distinct {<PKL_Status={"<=5"},LIT_Status={">0"},BST_IsInactive -={"-1"}>}InvoiceNumber)

View solution in original post

2 Replies
Kushal_Chawda

change the expression like below

Count(Distinct {<PKL_Status={"<=5"},LIT_Status={">0"},BST_IsInactive -={"-1"}>}InvoiceNumber)

shamitshah
Partner - Creator
Partner - Creator
Author

Thanks Kushal!