Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all:
I want to sort my Client Dimension and Type dimension by sum(Qty) in a bar chart in qlikview, I don't want script solution only inside chart if it's possible. Assume Qty is a calculated field.
Data:
Client | Type | Qty |
AGY | a | 2 |
AGY | b | 5 |
DMEO | a | 3 |
DMEO | b | 10 |
DMEO | c | 6 |
DMEO | d | 5 |
ZIH | a | 4 |
ZIH | b | 5 |
ZIH | c | 8 |
GPO | a | 9 |
Like this
Thanks
Try a calculated dimension instead of Type: aggr(dual(Type,Sum(Qty)),Client,Type). Then set the sorting of that calculated dimension to Sort numerically, Descending.
Try a calculated dimension instead of Type: aggr(dual(Type,Sum(Qty)),Client,Type). Then set the sorting of that calculated dimension to Sort numerically, Descending.
Thank you, this do the trick