Skip to main content

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Action-Packed Learning Awaits! QlikWorld 2023. April 17 - 20 in Las Vegas: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
alpha148
Contributor
Contributor

Sort expression in straight table

Hello everyone,

I have a straight table with several dimensions, and 3 expressions.

I want the straight table be sorted according to one of the expressions, in descending order.

However, my expression is not sortable in the sort tab in properties because expression is not checkable.

I have found that the tips is to sort the dimension with the expression.

However, when I do this, nothing changes in my straight table...

Here is the expression I want to sort the straight table with :

=num(Sum({$<HISTO_CTRL_TYPE_ELEM={'CRA'}, CTRL_SEMANTIQUE-={'VALORISATION/REJET/CHARGEMENT'}>}HISTO_CTRL_NB_ELEM_DIFF), '# ###,', ',', ' ')

& ' ('

& round(100 - (Sum({$<HISTO_CTRL_TYPE_ELEM={'CRA'}, CTRL_SEMANTIQUE-={'VALORISATION/REJET/CHARGEMENT'}>}HISTO_CTRL_NB_ELEM_DEST) * 100)

/

(Sum({$<HISTO_CTRL_TYPE_ELEM={'CRA'}, CTRL_SEMANTIQUE-={'VALORISATION/REJET/CHARGEMENT'}>}HISTO_CTRL_NB_ELEM_SRC)), 0.001)

& '%)'

Thank you for your help

0 Replies