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

set analysis with a field > 0

Hello ,

I am sorry for the very simple question I am doing, but, knowing how efficient you are, I will do it.

I want to create an expression with selection of the products that are in stock. I tryed with this expression below, but it is not correct.

sum({$<[Stock]>{0}>} Sales)

Thanks

Andrea

1 Solution

Accepted Solutions
MayilVahanan

HI

Sum({<Stock ={">0"}>}Sales)

Hope it helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.

View solution in original post

4 Replies
MayilVahanan

HI

Sum({<Stock ={">0"}>}Sales)

Hope it helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

You shoul use > , < inside the braces {}

sum({$<[Stock]={>0}>} Sales)

or

sum({$<[Stock]={">0"}>} Sales)

jagan
Luminary Alumni
Luminary Alumni

Hi,

Try this

=Sum({<Stock ={'>0'}>} Sales)

Regards,

jagan.

Not applicable

Hi

use this

sum({<stock={">0<=4"}>} sales)