Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Filter by on expression

I have a single chart as this one:

Customer A **************** 35 %

Customer B ************** 30 %

Customer C ******** 10 %

Customer D ***** 7 %

...

PCT Discount expression is some thing like sum( discount ) /  ( sum( price ) + sum( discount ) )

At this time, I want to filter chart to see only clients with a PCT Discount < X. How can I create a slider object to select X ?

This is my first question. Sorry if I have contravened any etiquette rule.

1 Solution

Accepted Solutions
martin59
Specialist II
Specialist II

Hi Daniel,

First, if you want to use a slider object, you must create a variable.

So, go to Settings / Variable overview  and add a new variable called vLimit.

2014-02-02_00h42_52.png

After that, you have to create a new "Slider / Calendar object".

Let the input type as slider, choose your variable and set the options like in the picture.

2014-02-02_00h46_45.png

Hope that helps you,

Martin Favier

View solution in original post

2 Replies
martin59
Specialist II
Specialist II

Hi Daniel,

First, if you want to use a slider object, you must create a variable.

So, go to Settings / Variable overview  and add a new variable called vLimit.

2014-02-02_00h42_52.png

After that, you have to create a new "Slider / Calendar object".

Let the input type as slider, choose your variable and set the options like in the picture.

2014-02-02_00h46_45.png

Hope that helps you,

Martin Favier

Not applicable
Author

Thanks Martin,

runs like a charm:

Screenshot - 02022014 - 10:27:38 AM.png

Also important to set limit to var in chart limits dimension properties:

Screenshot - 02022014 - 10:32:34 AM.png

daniel.