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: 
pal25
Contributor III
Contributor III

How to find the unique count of people on the latest date ?

Hi 

I have 2 columns - one with dates and another one with people names. I want to prepare a KPI where i show the unique count of  people who appeared on the latest date (which is 10th Jan in the given example). How can i achieve this ?

Date Person
1/1/2022
1/1/2022 B
2/1/2022 C
2/1/2022 A
3/1/2022 B
10/1/2022 A
10/1/2022 B
10/1/2022 C

 

1 Solution

Accepted Solutions
rubenmarin

Hi, you can try with: Count(Distinct {<Date={"$(=Date(Max(Date)))"}>} Person)

View solution in original post

2 Replies
rubenmarin

Hi, you can try with: Count(Distinct {<Date={"$(=Date(Max(Date)))"}>} Person)

pal25
Contributor III
Contributor III
Author

Thank you so much @rubenmarin . It worked  🙂