Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
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