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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
khajafareed
Contributor III
Contributor III

Sorting Issue in Straight Table?

Hi All,

I have 400 plus Dimensions in my Straight Table. I am facing sorting issue in Straight Table, Sorting in the sense columns are not getting arranged in chart according to my selection.

Suppose i have dimension like Country, Address Line1, CSO Item Key, etc., If i select Country then CSO Item Key later Address Line1 Then i have to get result in Chart as i select but i am not getting respectively as my selections.

Please help me in this case.

Thanks,

Khaja Fareed

11 Replies
marcus_sommer

For this you need to query the selections from your selection-field quite similar to above mentioned but instead of getcurrentselections you would use getfieldselections. But this would only work for selections which are made one after another - if the user makes multiple selections by draging several values with mouse or pressing the ctrl-key to get the selection-order would fail.

As alternatively you could build fix selection-structures with a field or variable for each dimension but I doubt that will be a real option for you.

- Marcus

qlikviewwizard
Master II
Master II

Hi,

1. It is really astonishing that you are using 400 + dimensions in your report.

2. Order the objects by demote and promote option ans save it.

Hope this will help you. Thank You.