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: 
devarasu07
Master II
Master II

Exclude 0

Hi All,

Please refer to the attachment, how to apply below Product condition into Grade expression

Product:

=if(aggr(sum(QtySold),Product) <>0  and aggr(sum(Sales),Product)<>0,Product)

Grade:

=aggr(if( rangesum(above(TOTAL (Sum({<Product>} Sales)/Sum(TOTAL {<Product>} Sales)),0,RowNo(Total)))<=0.6,'A Stocks',if(

  rangesum(above(TOTAL (Sum({<Product>}Sales)/Sum(TOTAL {<Product>} Sales)),0,RowNo(Total)))>0.6 and rangesum(above(TOTAL (Sum({<Product>} Sales)/Sum(TOTAL {<Product>} Sales)),0,RowNo(Total)))<=0.9,'B Stocks',

  'C Stocks'

  )

  ),Product)

Note: my case i can't use suppress 0 value (Presentation tab because summary report won't work)

Thank,Dev

1 Solution

Accepted Solutions
lironbaram
Partner - Master III
Partner - Master III

hi

have a look at the example ,

i changed the dimension in the summary table

and checked suppress null values

View solution in original post

1 Reply
lironbaram
Partner - Master III
Partner - Master III

hi

have a look at the example ,

i changed the dimension in the summary table

and checked suppress null values