Skip to main content

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Skip the ticket, Chat with Qlik Support instead for instant assistance.
cancel
Showing results for 
Search instead for 
Did you mean: 
rt_new_user
Contributor III
Contributor III

Qlikview Buttons - Select in field

Hi QV users

I have a variable flag in my Master Calendar 'Prevweek' which when =0 shows all dates, when =1 shows data for only previous week.

I am trying to create a button. I created a button and then assigned an action using 'select in field'

when i put 1 in search string, the button works one way i.e data changes from all dates to previous week's data, but doesn't go from prevweek's to all dates.

Any suggestions?

image.png

Labels (2)
1 Solution

Accepted Solutions
atoz1158
Creator II
Creator II

Hi

Try using the following in the Select String box

=If(GetFieldSelections(PrevWeekFlag)=1,0,1)

Regards

Adrian

View solution in original post

2 Replies
atoz1158
Creator II
Creator II

Hi

Try using the following in the Select String box

=If(GetFieldSelections(PrevWeekFlag)=1,0,1)

Regards

Adrian

rt_new_user
Contributor III
Contributor III
Author

Thanks
It worked perfectly!!!