Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
devarasu07
Master II
Master II

nested if condition?

Hi All,

=aggr(if(sum({<Year={'*'},Week={"*"}>}SoldQty) > sum({<Year={'*'},Week={"*"}>} OrderQty), 'Repeat',

  If(StockType='Seasonal','Seasonal',

  If(StockType='Terminal','Terminal',null() ))),ArticleNo)

above expression returns only null.  do you have any idea how can we achieve this?

if condition.jpg

sample mock and more details.

how to combine two dimension value into one column?

Thanks,

Deva

1 Reply
Anil_Babu_Samineni

Try only for this and look whether it works or not. If not, please attach sample qvw

if(sum(SoldQty) > sum({< Type_ID={'NB'}>} OrderQty), 'Repeat', 'NA')

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful