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

How to Exclude Null Values from Calculated Expression?

Hi All,

How do i exclude Nulls from my Calculated Dimension Expression?

Below is my Code:

=if( aggr(rank(sum(People)),Service)<=vTopValue,Service)

SAMPLE TABLE:

ServicePeople
A200
B34
-676
-90

OUTPUT:

ServicePeople
A200
B34

Thanks in Advance.

25 Replies
Not applicable
Author

Hi,

Rubeeeeeeeeeeeeeen you're a Star

This is what i want, then i suppressed the Null it still gives me what i want.

Thank you a lot.

Not applicable
Author

Hi,

Thank you also your solution work Perfectly.

Thank you Guys.

rubenmarin

Nice, glad to help.

Not applicable
Author

Hi All.

Thank you all i got the answer and its working Properly

Not applicable
Author

Hi,

In dimension , You can try this condition .

=if(Len(Service)>0, Service)

simenkg
Specialist
Specialist

How about just using Service as dimension and using the expression:

sum({<Service={"=Rank(Sum(People))<=vTopValue"}>} People)