Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
hkg_qlik
Creator III
Creator III

Expression (Syntax Modification)

Hi,

=sum(aggr(count(distinct [Person ID]),Date))            - Counts the Person ID.

Req: I want to create a Text object which shows only the count for Current Year and Month. ( vCurrentMonth & vCurrentYear - Created)

How to accomodate the above requirement in existing syntax for count which is =sum(aggr(count(distinct [Person ID]),Date))

Thanks,

H

1 Solution

Accepted Solutions
Not applicable

Not sure to understand

=sum(aggr(count(distinct if(Month = vCurrentMonth and year = vCurrentYear,[Person ID])),Date))           

View solution in original post

2 Replies
Not applicable

Not sure to understand

=sum(aggr(count(distinct if(Month = vCurrentMonth and year = vCurrentYear,[Person ID])),Date))           

hkg_qlik
Creator III
Creator III
Author

Thanks Eva.