Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
awilson484
Contributor
Contributor

Count

Hey All, I am struggling to come up with an expression for a KPI that is being built. The KPI will display how many individual orders are "Past Due" from their due dates. I do not need days past due, but the number of orders that are past due. 

As far as data, I have DueDate and OrderID, but do not have a master calendar set up for Date. 

1 Solution

Accepted Solutions
JuanGerardo
Partner - Specialist
Partner - Specialist

Hi @awilson484 , probably it should be something like this:

Count({<DueDate={"<$(Today())"}>} Distinct OrderID)

JG

View solution in original post

1 Reply
JuanGerardo
Partner - Specialist
Partner - Specialist

Hi @awilson484 , probably it should be something like this:

Count({<DueDate={"<$(Today())"}>} Distinct OrderID)

JG