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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
rdsuperlike
Creator
Creator

If to set analysis

I have below statement:

count(distinct if([Test Result Code] <> ' ' AND [Test Result Code] <> null(),[Serial Number]))

Below set analysis looks correct ?

count(distinct{$<[Test Result Code] -= {' ',null}>} [Serial Number] )

the xpression shows ok but it gives those red line...so not sure

2 Replies
swuehl
MVP
MVP

NULL is not a value, but maybe like

count(distinct{$<[Test Result Code] = {"=Len(Trim([Test Result Code]))>0"}>} [Serial Number] )

sunny_talwar

May be this:

Count(DISTINCT {$<[Serial Number] = {"=Len(Trim([Test Result Code])) > 0"}>} [Serial Number])