Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Ranking Zeros or Nulls

Looks like QlikView does not rank zeros in Rank(), I have a requirement to rank zeros and NULL. For example:         

RegionWeekSales
North America199
North America254
North America375
Europe152
Europe248
Europe30
Asia157
Asia345

For ranking by Region by Week, I should able to show Rank of Europe for week 3 as '3' and for Asia, for week 2 as '3' by converting NULL to 0. Tried "Sum({1}0)" in the Rank expression to convert NULL to 0 but still not able to Rank 0.

Any suggestions ?

0 Replies