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

Announcements
Streamlining user types in Qlik Cloud capacity-based subscriptions: Read the Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Purushothaman
Partner - Creator III
Partner - Creator III

Set Analysis

Hi Qlik Experts,

Requesting your help on the below problem statement.

Show count of Order ID in a KPI object for those Customers for whom the Sales is more than 1000 for the Order Date year 2012

Many Thanks.

1 Solution

Accepted Solutions
tresB
Champion III
Champion III

May be this?

For those customers for all the years:

=Count(DISTINCT {<[Customer Name]={"=Sum({<[Order Year]={'2012'}>}Sales)>1000"}>}[Order ID])

 

For those customers  in 2012 only:

=Count(DISTINCT {<[Order Year]={'2012'},[Customer Name]={"=Sum({<[Order Year]={'2012'}>}Sales)>1000"}>}[Order ID])

View solution in original post

1 Reply
tresB
Champion III
Champion III

May be this?

For those customers for all the years:

=Count(DISTINCT {<[Customer Name]={"=Sum({<[Order Year]={'2012'}>}Sales)>1000"}>}[Order ID])

 

For those customers  in 2012 only:

=Count(DISTINCT {<[Order Year]={'2012'},[Customer Name]={"=Sum({<[Order Year]={'2012'}>}Sales)>1000"}>}[Order ID])