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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Mahamed_Qlik
Specialist
Specialist

Urgent Need1

Hello Guys,

I have below given data.

Dealer CodeMonthQuantityResult
D0001JAN30-
D0001FEB40-
D0001MAR501
D0002APR601
D0002MAY701
D0002JUN801
D0003JUL901
D0003AUG10-
D0003SEP20-

In this scenario only Dealer code D0002 should be consider because there is consistent 3 months results(1) is appearing however

for Dealer code D0001 and D003 there is missing of result for few months.

Note :Result is calculated as 1 if quantity is greater than or equal to 50.

So, I need to calculate the sum of distinct dealer code where result is appearing for consistent 3 months.

Kindly suggest.

Labels (1)
3 Replies
richnorris
Creator II
Creator II

I think you want something like:

=if(aggr( sum(Result), [Dealer Code]) >= 3, [Dealer Code])

Anonymous
Not applicable

Hi Mohammed,


Try:

=if(aggr( sum(Result), [Dealer Code]) >= 3, [Dealer Code])


Regards

Neetha

Kushal_Chawda

Please see the attached.

This is what you are looking for?