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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
guyvermeiren
Creator
Creator

Chart (pivot table) sort by expression ignoring zero's (null?)

Hello,

I have a pivot table with several expressions and one dimension. Now I want to sort 'descending' one of the expression-columns.

The problem I get is that it shows first a number of zero values and then starts ith the highest value (see example sort / sort by Turnover 2007). Has this got to do with the fact that the zero's represent missing data ???

How can I solve this problem ??

Thanks,

Guy

7 Replies
Not applicable

Perhaps: in presentation tab delete values null

guyvermeiren
Creator
Creator
Author

Hello,

We already tried to use these options in the presentation tab.

No succes.

Kind regards,

Guy

Not applicable

try sort by expression and put your expression...

are you sure that "0" is considerated as a null value?

guyvermeiren
Creator
Creator
Author

Hello,

I don't exactly understand what you mean. We already worked by "Sort by expression" putting in the expression.

It's at that moment that we get the the result as in the example.

First the zero's (probably the customers whithout turnover for that year) followed by the sort as it should be.

Kind regards,

Guy

Not applicable

Can you post an application with this table?

Not applicable

For ones that are looking for the solution:

I had a similar problem. The solution is to sort by expression and in this expression use rank function, for ex.

rank(count(id)) and sort it ascending. This will solve the problem . It worked for me.

Not applicable

For ones that are looking for the solution:

I had a similar problem. The solution is to sort by expression and in this expression use rank function, for ex.

rank(count(id)) and sort it ascending. This will solve the problem . It worked for me.