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: 
fs_
Contributor
Contributor

Count if date greater than specific date

Hi together!

 

I try to create a KPI that show how many logins happened since 01.06.2022 (DD.MM.YYYY).

 

The table looks like this:

UserID | First Login

ABC | 31.05.2022 12:00:00

DCF | 03.06.2022 12:00:00

 

I tried the following expression to only count First Logins that happened 01.06.2022 or later:

count({<[First Login.autoCalendar.Date]={'>'date(31.05.2022,'DD.MM.YYYY')}}[First Login.autoCalendar.Date])

 

But it does not work.

 

Labels (1)
1 Solution

Accepted Solutions
fs_
Contributor
Contributor
Author

I found a solution. My syntax was wrong. What worked for me was:

count({<[First Login.autoCalendar.Date]={">31.05.2022"}>}[First Login.autoCalendar.Date])




View solution in original post

1 Reply
fs_
Contributor
Contributor
Author

I found a solution. My syntax was wrong. What worked for me was:

count({<[First Login.autoCalendar.Date]={">31.05.2022"}>}[First Login.autoCalendar.Date])