Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements
Modernize Your QlikView Deployment webinar, Nov. 3rd. REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
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
Highlighted

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')

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)