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: 
Not applicable

How to display nil values using set analysis

Dear Friends,

I have a expression like highest number of invoices based on Reason, this expression works fine but what I need is when there is no data it should display No value or Nil, is it possible using straight table.

=if(aggr({1}rank(Count([Invoice])),[Reason]) = 1,Count([Reason]))

Regards

Chriss

1 Reply
SunilChauhan
Champion II
Champion II

may be one of this one

if(aggr({1}rank(Count([Invoice])),[Reason]) = 1,Count([Reason]),'NO Value')

or

if(aggr({1}rank(Count([Invoice])),[Reason]) = 1,Count([Reason]),'Null')

Sunil Chauhan