Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Slider

    Hi all,

I got a pivot table containing the following information:

                                        revenue     revenue ex     %

Divisionname+Week

Now I would like to make slider that selects the number of weeks i want the table to show me. When I slide it to the number 7 it shows me 7 weeks. Do I need to put a variable in my dimension?

Like

                    weeks               revenue     revenue ex               %

Divsion  1      -1

                    -2

                    etc

Division 2       -1

                     -2

                      etc

kind regards

1 Solution

Accepted Solutions
sundarakumar
Specialist II
Specialist II

I think u need to define a calculated dimension for week in the pivot table like,

if(weekno<vSlider,weekno,null())

then select the calculated dimension and check suppress null values

create a slider object and variable called vSilder to complete the process..

-Sundar

View solution in original post

4 Replies
Not applicable
Author

In your Slider Properties, under Field, choose Expression, and then type [weeks]

Lucas

sundarakumar
Specialist II
Specialist II

I think u need to define a calculated dimension for week in the pivot table like,

if(weekno<vSlider,weekno,null())

then select the calculated dimension and check suppress null values

create a slider object and variable called vSilder to complete the process..

-Sundar

Not applicable
Author

thanks for the quick response!

sundarakumar
Specialist II
Specialist II

You are welcome