Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Highlighted
Not applicable

Use button as a slider

Hello all,

I want to use buotton as a slider in qlikview.

I have attached a screenshot.

On click of < and > buttons previous and next Regions values should be displayed with the sliding effect.

How I can do it?

Thank You in advance..

8 Replies
MVP
MVP

Re: Use button as a slider

Hi

I have an article on my blog that shows how to do this in detail:

http://yahqblog.blogspot.com/2013/01/paged-charts-in-qlikview.html

HTH

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
MVP
MVP

Re: Use button as a slider

Hi

I have an article on my blog that shows how to do this in detail:

yahqblog.blogspot.com/2013/01/paged-charts-in-qlikview.html

HTH

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
MVP
MVP

Re: Use button as a slider

You have to use trigger to achieve this. Try to create a sample qvw and share here.

Not applicable

Re: Use button as a slider

Hello Tresesco,

I have attached a .qvd and .qvw file of the same.

Thank You.

yashadam
New Contributor II

Re: Use button as a slider

Hi,

Please try the attached application and let me know if this is what u expected.

cheers,

keep qliking

MVP
MVP

Re: Use button as a slider

Please check the attached qvw.

Not applicable

Re: Use button as a slider

Thank You Yashadam for quick reply,

but I am working on QlikView personal edition and not able to open files that u have just sent..

yashadam
New Contributor II

Re: Use button as a slider

ok..here is how you can achieve it:

Step 1: add 2 variables;

              test=1

                    and

              object

              if($(test)=1, 'CH01',
              if($(test)=2, 'CH02',
              if($(test)=3, 'CH03', 'CH04')))

step 2: On the button add action "Set Variable"

step 3: set the test variable and value to

              =if($(test)=1,2,

                if($(test)=2,3,

                if($(test)=3,4,1)))

step 4: Add another action "Activate Object" and Object ID as $(object)

Similarly, on the reverse button change step 3 as following

Step 3: set the test variable and value to

              =if($(test)=4,3,

                if($(test)=3,2,

                if($(test)=2,1,4)))

try it out..:)

cheers