Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
fabio182
Creator II
Creator II

Sum or aggr

Hi, everyone

It´s possible:

VIN       DES

AA        20

AA        20

I want the sum is only one that is only 20, QlikTech Admin

Sum(DES) = 20

1 Solution

Accepted Solutions
Anonymous
Not applicable

Can do that too:
sum(aggr(sum(distinct DES),VIN))

See attached

View solution in original post

4 Replies
Anonymous
Not applicable

I'm not sure I understand the question...  Maybe

sum(distinct DES)

fabio182
Creator II
Creator II
Author

Hi Michael,

VIN       DES

AA        20

AA        20

BB        20

In this case, exclude VIN tip BB

AA  20

BB  20

---------------

       40

Anonymous
Not applicable

Can do that too:
sum(aggr(sum(distinct DES),VIN))

See attached

fabio182
Creator II
Creator II
Author

Thanks Michael !!!