Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
How to sort 2 dimension in pivot table ?
Please find the sample file attached.
make the second dimension as a calculated dimension as below:
=aggr( dual(STORES, SUM(SALES)), QUARTER, STORES)
on Sorting:
Sort numerically DESC
I hope it can helps.
Hi Rajkimar.
Try this...
Create a new Dimension Stores_v2 = Dual(STORES, Aggr(Sum(SALES), QUARTER, STORES))
And Sort this, by expresion SUM(SALES).
Is the same that this old post... https://community.qlik.com/t5/Qlik-Sense-App-Development/Order-pivot-table-by-expression/m-p/1456741...
mark complete if is fine!
Regards.
do you mean sorting by expression ASC or DESC ?
Yes DESC order.
make the second dimension as a calculated dimension as below:
=aggr( dual(STORES, SUM(SALES)), QUARTER, STORES)
on Sorting:
Sort numerically DESC
I hope it can helps.
Hi Rajkimar.
Try this...
Create a new Dimension Stores_v2 = Dual(STORES, Aggr(Sum(SALES), QUARTER, STORES))
And Sort this, by expresion SUM(SALES).
Is the same that this old post... https://community.qlik.com/t5/Qlik-Sense-App-Development/Order-pivot-table-by-expression/m-p/1456741...
mark complete if is fine!
Regards.
It works completely fine.
Only concern is performance because is data is huge.
Any other way ?
Hi,
Any Help?
Thank you! That's brilliant!