Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Disabling Button when there are no selections

I am creating a button which has to be shown on sheet only when year is 2007, I changed in Layout->Show option. But the Problem i am having is , the button is showing even when there are no selections.

1 Solution

Accepted Solutions
swuehl
MVP
MVP

What is the show condition you are using?

=Only(YearField)=2007

View solution in original post

4 Replies
swuehl
MVP
MVP

What is the show condition you are using?

=Only(YearField)=2007

Anonymous
Not applicable
Author

I have used like this Only(Year=2007).

Thank you Swuehl, I kept like what you said. It is working fine.

could you please tell me what is the difference between Only(Year=2007) and =Only(Year)=2007?

Not applicable
Author

Only(Year=2007)  Declaration of Year Field is wrong , here you can use Set Analysis or  If statement, however year=2007 is not making any sense.

and

=Only(Year)=2007?  Here Steffen taking year field  records and assigning 2007 to it if it is match, you will get your desired result.

Anonymous
Not applicable
Author

Thank You..:) JohnDawson