Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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