Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
earlcool
Contributor II
Contributor II

Age function

I have a database with birth_date.

I use 

Age(Today(), birth_date) as Age

I used later

=Count(Age >=18)

but it does not seem to work.

Labels (1)
1 Solution

Accepted Solutions
HugoRomeira_PT
Creator
Creator

Hello,

For the count, try the following function:

=count({<Age={">=18"}>} Age)

 

 

If the issue is solved please mark the answer with Accept as Solution.
If you want to go quickly, go alone. If you want to go far, go together.

View solution in original post

2 Replies
HugoRomeira_PT
Creator
Creator

Hello,

For the count, try the following function:

=count({<Age={">=18"}>} Age)

 

 

If the issue is solved please mark the answer with Accept as Solution.
If you want to go quickly, go alone. If you want to go far, go together.
earlcool
Contributor II
Contributor II
Author

thanks for the answer, however the personID makes a lot of visits to the store and they get counted on every visit.

I did create the database. I want to find the distinct or unique number without double counting. 

thanks again.