Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi, I am new to QlikView..
I want to create some sort of notification based on the number of stock available.
So, once stock drops under 330, I would signal the word 'ASAP', above that would be 'OK'.
Or probably can add 'Review' when the Stock goes between 330 and 660.
I tried this if(Sum(Stock)) << 330, 'ASAP', 'OK') // I already tried with only Stock, Sum(Stock) and even using Nums... But the result, everything becomes ASAP.
Can anyone please share their guidance?
Thank you
hi,
share sample data.
$@M.
Try this:
if(Sum(Stock) <330, 'ASAP',
if(Sum(Stock) =>300 and Sum(Stock)<= 600 'Review',
if(Sum(Stock) > 600 ,'OK')))
Hi,
try:
if(Sum(Stock)<= 330, 'ASAP', 'OK')
or:
if(Sum(Stock) < 330, 'ASAP',
if(Sum(Stock) >=330 and Sum(Stock)<= 660, 'Review',
if(Sum(Stock) > 660 , 'OK')))
Hi,
Third if not necessary
try like
if(Sum(Stock) <330, 'ASAP',
if(Sum(Stock) =>300 and Sum(Stock)<= 600, 'Review','OK'))
Regards
You can simplify further:
=if(Sum(Stock) < 330, 'ASAP', if(Sum(Stock) <= 600, 'Review', 'OK'))
I think you guys mean 660
=if(Sum(Stock) < 330, 'ASAP', if(Sum(Stock) <= 660, 'Review', 'OK'))