Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Sort fields with null values

I tried to order with a dimension match function . I give you an example :

match ( TEAM, 'Madrid' , 'Barcelona' , 'Sevilla ', ' Oviedo ' )

This put it in -> Sort - Expression

But when one team has "0" placed me in the first position. I want Although the value is null, is it possible to continue to keep the order I put it , any suggestions?

Thank You !!

1 Solution

Accepted Solutions
4 Replies
jagan
Luminary Alumni
Luminary Alumni

Hi,

Try this

match ( TEAM, 'Madrid' , 'Barcelona' , 'Sevilla ', ' Oviedo ', '*' )


Regards,

Jagan.

pokassov
Specialist
Specialist

Hello!

if(match ( TEAM, 'Madrid' , 'Barcelona' , 'Sevilla ', ' Oviedo ' )>=1,match ( TEAM, 'Madrid' , 'Barcelona' , 'Sevilla ', ' Oviedo ' ),99)

Joaquin_Lazaro
Partner - Specialist II
Partner - Specialist II

Hello rrrrrrrr8:


Try this:


If (match( ...) = 0, 99, match( ...)


Saludos,

Joaquín

Not applicable
Author