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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

distinct of Sum

I am trying to find out how many distinct SUM of point each Nmae has

I am getting: Error in expression Nested aggregation not allowed  when trying : Count(DISTINCT(sum(Point)))

I tried various use of aggr but I have not yet found the solution.

Any idea?

for example for:

1.bmp

I would expect to see:

1.bmp

14 Replies
Anonymous
Not applicable
Author

3 and 3

Anil_Babu_Samineni

If you look data, You will understand the Result

Capture.PNG

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Anonymous
Not applicable
Author

No ,

Should be

A = 3 as  over the period there were 2 distinct Sum 400002 ,3, 6

B = 2  as  over the period there were 2 distinct Sum 12 and 600007

Anil_Babu_Samineni

May be this?

Count(Aggr(Sum(TOTAL <Date> Point), Date, Name))

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Anonymous
Not applicable
Author

Thank you!