Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Expression in text object


Hi

I have created the following expression in a text object:

 

= If(Delay>=0,NumericCount (Delay))

Expressions seems to be OK, but I doesn 't give a result.

= -

What could possibly be wrong ?

Thanks in advance.

Marc

4 Replies
datanibbler
Champion
Champion

Hi Marc,

that happens sometimes when your condition is not met and you have not specified an alternative in the IF construction.

swuehl
MVP
MVP

Try

= NumericCount (If(Delay>=0,Delay))

Not applicable
Author

Hi

It works, thank you very much.

Grt

Marc

Not applicable
Author

Your expression only works when you select Delay fields because your aggregation scope limited to only one value.

Please try: NumericCount(IF(Delay>0,Delay) --> In this the aggregation scope to total Field values.