Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hi All
My query is if I've a listbox say Fruits
Fruits:
Apple
Banana
Pineapple
Mango
Strawberry
I want to Create a listbox as:
Fruits:
Apple
Banana
Pineapple
Mango
Strawberry
Not Mango
If someone selects Not Mango, it must reflect in all the charts showing + I must be able to select Not Mango and Banana together.
Any kind of help will be appreciated. Thanks in advance.
Regards
Pratyush
Please try the attached
Expression used : =aggr(Only({1-$} Fruits),Fruits)
Hi Pratyush,
May be like at attached file?
Regards,
Andrey
Hi Andrey, I dont want to make changes to the charts but handle it through the list box only. There are too many charts and it is not possible to change the expression everywhere.
Regards
Pratyush
Any other solution?
Where this "Non Mango" coming from? Does this same table / diff table?
I assume, You need some charts displaying. Can you describe more how you want to show even selection from filter
So No Mango represents every other value than Mango. Lets' say if I have data as
Fruits, Trees
Apple, 10
Banana, 20
Pineapple, 30
Mango, 40
Strawberry, 50
I want to create a listbox such that it contains the below values
Apple
Banana
Pineapple
Mango
Strawberry
No Mango
If someone selects No Mango in the filter, the expression Sum(Trees) would return
110 (150-40)
If No Mango is selected, one should be able to select the other value ex. Apple
it means No Mango and Apple are selected together
and it should show the Sum as 10.
Regards
Pratyush
I think you need to write some script to achieve this
Data:
LOAD * Inline [
Fruits, Trees
Apple, 10
Banana, 20
Pineapple, 30
Mango, 40
Strawberry, 50];
Concatenate
LOAD 'No Mango' as Fruits,
Trees
Resident Data
where Fruits<>'Mango';
Now you can use the Fruits in lisbox
Hi Pratyush,
Please find the attached app.
Thanks,
Arvind Patil