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

Announcements
Only at Qlik Connect! Guest keynote Jesse Cole shares his secrets for daring to be different. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

set analysis to show only 'null values' in dimension

hi,

im trying to get my pivot to show the results of an expression if the dimension (Diag Desc) value = isnull.

e.g. picture below shows my current table (left) and my disired table (right)

error loading image

I have used the following expressions but none work:

  • IF ([Diag Desc]=NULL(),Count({< [WL Type] = {"WL"},[TCI Status] = {"Without TCI"} >} [Hospital Number Weekly Diag]),'NA')
  • Count({< [Diag Desc] = {"=Len([Diag Desc]) <4"},[WL Type] = {"WL"},[TCI Status] = {"Without TCI"} >} [Hospital Number Weekly Diag])
  • Count({< [Diag Desc] = {" "},[WL Type] = {"WL"},[TCI Status] = {"Without TCI"} >} [Hospital Number Weekly Diag])
  • if([Diag Desc]= '-',Count({$<[WL Type] = {"WL"},[TCI Status] = {"Without TCI"}>}[Hospital Number Weekly Diag]),null())

Any suggestions???

1 Reply
boorgura
Specialist
Specialist

Did you try using isnull([Diag Desc]) instead of [Diag Desc] = NULL().

you can give it a try.