Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
k_burata
Creator
Creator

Reverse order of dimension

Hi All,Capture.PNG

How do you reverse the order of the dimension without affecting the values? Tried sorting dimension in reverse order but getting the wrong values.

TIA.

1 Solution

Accepted Solutions
jyothish8807
Master II
Master II

refer the attached.

Best Regards,
KC

View solution in original post

6 Replies
jyothish8807
Master II
Master II

Hi Kim,

As far as i know you cannot achieve the same output with "Full Accumulation" on , since it will consider the max month as first month and do the calculation from the bottom.

The best solution in this case is to use Rangesum(above).

Br,

KC

Best Regards,
KC
k_burata
Creator
Creator
Author

Hi KC,

Problem is I don't get the same values when I reverse the dimension. I would like to sort it Apr --> Jan and not Jan --> Apr. Is there like a function that would just flip the chart without changing the values?

Regards,

Capture.PNG

ogautier62
Specialist II
Specialist II

Hi,

RangeSum(bottom) ?

jyothish8807
Master II
Master II

You can sort the rangesum chart by setting Y axis decending in sort

Best Regards,
KC
jyothish8807
Master II
Master II

refer the attached.

Best Regards,
KC
sunny_talwar

You can also try this expression

=Sum(TOTAL {<[Group]>} Qty) - RangeSum(Above(Sum({<[Group]>} Qty), 1, RowNo()))