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

firstsortedvalue and AGGR

Hi All,

I have the following 2 expression

exp1 Aggr(Sum([Entryheader.provide-integral]), [Entryheader.noncust-name],Entryheader.Zone)

exp 2 FirstSortedValue([Entryheader.provide-integral],[Entryheader.item-number])

both work as stand alone expression for testing but I need to combine the 2 and I am having issues

Any help is appreciated.

6 Replies
rustyfishbones
Master II
Master II
Author

I am using the expression in a Pivot Table

sasiparupudi1
Master III
Master III

Did you try?

Aggr(FirstSortedValue([Entryheader.provide-integral],[Entryheader.item-number]),Entryheader.Zone)

rustyfishbones
Master II
Master II
Author

That does not work, thanks.

raman_rastogi
Partner - Creator III
Partner - Creator III

May Like this

FirstSortedValue([Entryheader.provide-integral],-Aggr(Sum([Entryheader.item-number]),[Entryheader.noncust-name],Entryheader.Zone))

rustyfishbones
Master II
Master II
Author

Thanks, but not does not work for me either.

vishsaggi
Champion III
Champion III

May be try this?

Sum(Aggr(FirstSortedValue([Entryheader.provide-integral],[Entryheader.item-number]), [Entryheader.noncust-name],Entryheader.Zone))