Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How I can apply conditional filter to count values?

Hi,

I have a problem, im new user in QV, I have the next table:

DATE_CREATION                  ID                 STATE

        15/5/15                       Q123456             PROC

        16/5/15                       Q789101             PROC

        16/5/15                       Q112131                EP

        14/5/15                       Q312456                EU

        12/5/15                       Q789121             PROC

        17/5/15                       Q152131                EP

        28/5/15                       Q153456             PROC

        28/5/15                       Q789131             PROC

        28/5/15                       Q192131                EP

I need count IDs in PROC that have expired more than 1 day (TODAY)

The result should be= 3.      (Q123456, Q789101,Q789121)

Please.

2 Replies
pokassov
Specialist
Specialist

Hello!

Count({$<DATE_CREATION={'<$(=date(today()))'}, STATE={PROC}>} ID)

Not applicable
Author

Hi Cepren,

It is exactly what I was looking for.

Thank you very much.