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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

aggregation with set analysis issue

Hi All!

I hope i can get you to understand my issue,

got a table containing the following fields:

ID, StationID ,Date, Box, Active

i need to present a number counting how many StationsIDs are following these rules:

1. Box= Yes

2. Active= Yes

3. Date= (last max value, already got this from a different table, can call id Max_date..)

3. Date= in last year

I am having issues combining all of these together trying to use Aggr and set expressions..

=Aggr(count(DISTINCT

  {$<Date = {"Year to Date"}, Active={"Yes"}, Box={"Yes"}}>} 

  StationID),max_date,StationID)

Will appreciate any help!

1 Reply
MK_QSL
MVP
MVP

Provide sample app or dummy data.