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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Order a Pivot Table for Expression

Hello to all

I have a pivot table, and want to order it for volume, descended. I ordered the dimesion chains for expression, descending, in this case SUM(volume), but, when the volume is zero is it at the beginning of the list and not at the end.

Thanks

3 Replies
Not applicable
Author

In the pivot chart properties, tab Sort.

Check Expression and select Descending, then in the expression window just below that type in =sum(vol)

regards,
FC

Not applicable
Author

Thanks,

The Sum add in the expression, but continuous first the values zeros.

This is the expression:
=num(sum ({$<d_anio = {*}, d_mes = {*}, dia_del_mes = {*}, Fecha_num = {$(vPeriodo)}>} Vol))

Sum the volume for a period of time.

Not applicable
Author

In the Dimensions tab of the chart/pivot try to check the box "Surpress when value is Null" in the Settings for selection Dimension