Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
good afternoon
such a task
we must exclude clients who bought mango
Client, Product, Date, Sales
1, Apple, 01-01-2015, 750
1, Mango, 01-02-2015, 450
1, Limon, 01-02-2015, 350
2, Apple, 01-01-2015, 1750
2, Limon, 01-02-2015, 550
3, Limon, 01-01-2015, 25
We choose from the list of mango
We see in the table clients 2 and 3
is it possible?
Thanks
create the variable as vExclude on front end with below expression
=concat(chr(39)&Product&chr(39),',')
Now use the set analysis as below
sum({<Client=e({1<Product={$(vExclude)}>})>}Sales)
This will show the error but it will work..
try this
sum({<Client=e({1<Product={'Mango'}>})>}Sales)
we can choose the list of lemon or apple... or mango and lemon , that is a random selection
Do you mean that based on selection, you want to exclude that product?
Yes exactly
create the variable as vExclude on front end with below expression
=concat(chr(39)&Product&chr(39),',')
Now use the set analysis as below
sum({<Client=e({1<Product={$(vExclude)}>})>}Sales)
This will show the error but it will work..
Many thanks
Welcome
Hi Kush,
I'm also interested in this question, and I saw your answer, but I tried it, it didn't work, I just don't know how to use it to make it work, could you please help me to check my attachedment?
Thanks a lot!
Aiolos Zhao