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

Announcements
Search may be unavailable 11:30 PM on Aug 24 to 1:30 AM on Aug 25. Thank you for your patience.
cancel
Showing results for 
Search instead for 
Did you mean: 
harveenkaur
Contributor III
Contributor III

Using 2 aggregate functions

Hi

I want to count cities having sum(Quantity)>1000 and sum(Sales)>1200 for the maximum month year in Date( In sample Data :- Sept. 2018)

Sample Data:

CityQuantitySales(Rs)Date
C11000200012-Sep-18
C2123121231013-Sep-18
C31212122312-May-18
C41212131330-Aug-17
C112121212320-Sep-18
C2121131308-Nov-18
C312113209-Nov-17
0 Replies