Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

Not applicable

How to hide or make a button inactive after one click

Hi Friends

My name is Rahul & I am very new to Qlikview.

I have added a button with action pareto (80 % spend covering items).

It is working fine, but how can i make the  80-20 button inactive after one click?

Request you to share feedback.

Rahul

Tags (1)
1 Solution

Accepted Solutions
swuehl
Not applicable

Re: How to hide or make a button inactive after one click

You can use the conditional Show on layout tab to hide/show the buttons.

I created a new variable vShow and additional actions.

In fact, since you can't see the pareto button anymore, you probably won't use the first variable to deactivate the button then.

I am a bit unsure if this solves your problem, really resetting your chart, it might be necessary to add an action "Clear in field" with field Value for the reset button. I've added that.

Regards,

Stefan

11 Replies
swuehl
Not applicable

Re: How to hide or make a button inactive after one click

You could create a variable, let's call it vEnable Button, in Variable Overview and set it to 1. Then create a second action External - Set Variable for your button to set the variable to 0. Use the Variable as Enable Condition of your Button.

You just need to add a method / button to reset the Variable when it is appropriate.

Please see attached.

Regards,

Stefan

kaushik_solanki
Not applicable

Re: How to hide or make a button inactive after one click

Hi,

     Have a look at the attched sample file.

Regards,

Kaushik Solanki

Not applicable

Re: How to hide or make a button inactive after one click

Hi Swuehl

Thanks for your feedback

I have added a reset button, which reset the vEnable back to active .

Is there any way we avoid a new button. Is it possible that on second click to 80/20 button it again become active.

Or

we can hide the 80/20 button after selectioin & make the reset button active & hide the reset after selection & make 80/20 active.

Rahul

Not applicable

Re: How to hide or make a button inactive after one click

hi Kaushik

Thanks for your feedback.

But it now clearing all the selection, that will create problem.

Not applicable

Re: How to hide or make a button inactive after one click

Hi Rahul

Do you need sth like this?

See attachment.

Not applicable

How to hide or make a button inactive after one click

Hi Przemek

Thanks a lot for your help.

However,Is it possible on clicking Reset it goes back to 100 percent value,

Currently, After pressing the 80-20 button it takes items covering 80% of total value if we click on Reset

it takes items covering 80 % of 80%  & so on.

However i want, After pressing the 80-20 Buttion it takes items covering 80% of total value but if we click on Reset it again come back to 100%.

Rahul

Not applicable

Re: How to hide or make a button inactive after one click

Hi Przemek

Thanks a lot for your help.

However,Is it possible on clicking Reset it goes back to 100 percent value,

Currently, After pressing the 80-20 button it takes items covering 80% of total value if we click on Reset

it takes items covering 80 % of 80%  & so on.

However i want, After pressing the 80-20 Buttion it takes items covering 80% of total value but if we click on Reset it again come back to 100%.

Rahul

swuehl
Not applicable

Re: How to hide or make a button inactive after one click

You can use the conditional Show on layout tab to hide/show the buttons.

I created a new variable vShow and additional actions.

In fact, since you can't see the pareto button anymore, you probably won't use the first variable to deactivate the button then.

I am a bit unsure if this solves your problem, really resetting your chart, it might be necessary to add an action "Clear in field" with field Value for the reset button. I've added that.

Regards,

Stefan

Not applicable

Re: How to hide or make a button inactive after one click

Thanks All for your help

Hi Stefan

Thanks a lot for your help.

How you have added "clear in field' option in the action is not visible in my action tab?, I am using qlikview 10.

Capture.JPG