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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
suvechha_b
Creator III
Creator III

How to sort accordingly ?

Hi All ,

How can I sort the pivot table according to dimension. Please see the screen shot- My expected result should like

With most Saleable Stock will appear first and so on :-

W10 ,then W30 and then others.

Capture.PNG

sample model attached.

1 Solution

Accepted Solutions
malini_qlikview
Creator II
Creator II

Hi,

In chart properties --> Sort -- > disable any sort order for the Dimensions - Brand,Product,distributor_link

                                        --> Enable sort by Expression for dimension -Warehouse code name

set the sort by expression - descending and include the expression which you have for 'Salable Stock'

i.e : sum({1}{<distributor = {'NRP','Pin'}>} qty_available)- sum({1}{<distributor = {'NRP','Pin'},[Fiscal_Year]=,[Month]=>}stock_alloc_inv)

Pivot Sort.png

Modified sample app attached

View solution in original post

1 Reply
malini_qlikview
Creator II
Creator II

Hi,

In chart properties --> Sort -- > disable any sort order for the Dimensions - Brand,Product,distributor_link

                                        --> Enable sort by Expression for dimension -Warehouse code name

set the sort by expression - descending and include the expression which you have for 'Salable Stock'

i.e : sum({1}{<distributor = {'NRP','Pin'}>} qty_available)- sum({1}{<distributor = {'NRP','Pin'},[Fiscal_Year]=,[Month]=>}stock_alloc_inv)

Pivot Sort.png

Modified sample app attached