Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

aggr and set analysis

Hi im trying to get the same result as this formula when i select excluded SiteID=9999

sum(AGGR(Count(DISTINCT SiteID),TransportAssignmentID))


i tried this but it wouldnt help

sum({$<SiteID =-{9999}>}AGGR(Count(DISTINCT SiteID),TransportAssignmentID))


1 Solution

Accepted Solutions
sunny_talwar

Try this may be:

Sum({<SiteID =-{9999}>}Aggr(Count(DISTINCT {<SiteID =-{9999}>} SiteID),TransportAssignmentID))

View solution in original post

2 Replies
marcus_sommer

Try:

sum(AGGR(Count({$<SiteID -= {9999}>} DISTINCT SiteID),TransportAssignmentID))


- Marcus


sunny_talwar

Try this may be:

Sum({<SiteID =-{9999}>}Aggr(Count(DISTINCT {<SiteID =-{9999}>} SiteID),TransportAssignmentID))