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

Aggr() dimension

Hi there,

here my problem...

From the Raw Data Table I want to catch the row in red border (for each Symbol/Sequence is the value of LastSale for the higher value of Count)

If I build a new aggregate table using an Aggr() as dimension,  the Sum(LastSale) seems don't take into account the Aggr() dimension. Instead the value is exactly the sum of all rows.

What's wrong?

Thanks a lot in advance

 

ciampaciampa_0-1624463301059.png

 

1 Solution

Accepted Solutions
sunny_talwar

May be try this

FirstSortedValue(Aggr(Sum(LastSale), Symbol, Rilevamento), -Aggr(Rilevamento, Symbol, Rilevamento))

View solution in original post

2 Replies
sunny_talwar

May be try this

FirstSortedValue(Aggr(Sum(LastSale), Symbol, Rilevamento), -Aggr(Rilevamento, Symbol, Rilevamento))
ciampaciampa
Contributor III
Contributor III
Author

It works!

Thanks Sunny.