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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Count For user selected value?

 

Hi,

Below is the code written for counting based on the selection of ActivityType.

Is it right or wrong?

=Count({$<ActivityYear = {2013},
ActivityMonth,
DueDate={"<=$(=Today())>"},
ActivityType={'$(#vActivityType)'},
ActivityWeek>} distinct Count

)

1 Reply
Not applicable
Author

Hey,

Should your distinct clause must not be just before set analysis ?  -->   Count(Distinct {<....>}Activity Week)