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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
renjithpl
Specialist
Specialist

Flag a null value

Hi all,

Is it possible to flag as "Null", if in a formula where the numerator or denominator has null value in a straight table. ?

Regards

Renjith

3 Replies
vishsaggi
Champion III
Champion III

Can you elaborate?

May be like this?

LOAD Numerator,

         Denominator,

          .....,

         IF(ISNULL(Numerator) = -1, 1, 0) AS NumeratorFlag,

         IF(ISNULL(Denominator) = -1, 1, 0) AS DenominatorFlag

From Source;

felipedl
Partner - Specialist III
Partner - Specialist III

Hi Renjith,

You could do something like that in the modeling or by expression.

With the flag you can select the ones that have zero or null values.

Felipe.

avinashelite

Try like this

if(len(trim(expression))=0,1,0)