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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Aggregation for clients count base of target

I need a report for number of clients for sellers. I have field for target products, target brands and target clients. I need Sellers, regions, level of performance and actual performance as dimensions. If some of sallers reach exact level of performance for product and product brands, I have to increase number of clients in target group. I have field for this target in

TargetOfBrands

.

But I can't realize what aggregation I need in dimensions. I have values for products, but they aren't distributed for level of performance

if

(



if(

aggr(

sum(ProductQuantity)

,ProductBrand
)

>=
sum(TargetForProduct)

,
count(Distinct BrandProduct))

>=
sum(TargetOfBrands)

,





count( ClientName)







)

1 Reply
Not applicable
Author

count(

if(

count(Distinct

if(aggr(sum(ProductQuantity),ProductBrand)>=sum(TargetForProduct), BrandProduct)

>=sum(TargetOfBrands),
ClientName)