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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Ciara
Creator
Creator

Pivot Table Sorting

Hi All

I'm finding the pivot table sorting a little tricky and need some advice.

I have 2 dimension - Inventory and StockNumber

I have 3 measures - Vendor 1 Value on Hand, Vendor 2 Value on Hand, Variance (between V1 and V2)

I have no problem sorting the Inventory descending by the variance, but when I expand on an inventory, the I cant quite figure out how to sort descending on the variance here.

Can anyone help?

Much appreciated

Ciara                                            

1 Reply
brunobertels
Master
Master

Hi 

May be use aggregate function aggr() by Inventory and rank fonction rank() in it to class the rank of variance BY inventory