Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
sandeepprasad_j
Creator
Creator

Need All sheets to be displayed upon selections???

HI Experts ,

I am attaching qvw file for your reference

MY problem is when i am making multiple selection upto 6 ,the  6 sheets are being displayed nicely on the tab ,if i make more than 6 selection ,nothing is being displayed.

Attaching you a qvw file for the reference .

Can anyone please help me on this ...

Regads,

Sandeep.

1 Solution

Accepted Solutions
alexandros17
Partner - Champion III
Partner - Champion III

=

if( Index(Concat( GetFieldSelections([Country],',',40),'|'),'US')>0 or Index(Concat(GetFieldSelections([Product],',',40),'|'),'US biscuit')>0,1,0

or Index(Concat(GetFieldSelections([US Product],',',40),'|'),'US biscuit')>0)

change this instruction in all the tabs ... and it will work

View solution in original post

7 Replies
prasad_dumbre
Partner - Creator
Partner - Creator

Hi Sandeep,

GetFieldSelection function which you have used, by default returns on upto 6 selection. If you want it to return more than that. They specify so explicitly.

eg:

getfieldselections ( Year, '; ' , 10 )

alexandros17
Partner - Champion III
Partner - Champion III

The problem is that when you select more than 6 values the function getfieldselection thinks in another way: excludes unselected values (not value, value ...) so you have to manage the problem in this way:

getfieldselections ( field, 'separator ' , number of selectable elements )

hope it helps

sandeepprasad_j
Creator
Creator
Author

Can u please explain me via the qvw file which i had supplied

Thanks a ton in advance

Sandeep

sandeepprasad_j
Creator
Creator
Author

HI Alexandros,

Can u please explain me via the qvw file which i had supplied

Thanks a ton in advance

Sandeep

Sokkorn
Master
Master

Hi Sandeep,

Try to change all your GetFieldSelections([Field]) to GetFieldSelections([Field],',',1000)

Ex. GetFieldSelections([Country]) to GetFieldSelections([Country],',',1000)

Regards,

Sokkorn

sandeepprasad_j
Creator
Creator
Author

HI Sokkorn,

Even though i am giving this i am not getting the sheets more than 6 , so can u please help me in this

Sandeep.

alexandros17
Partner - Champion III
Partner - Champion III

=

if( Index(Concat( GetFieldSelections([Country],',',40),'|'),'US')>0 or Index(Concat(GetFieldSelections([Product],',',40),'|'),'US biscuit')>0,1,0

or Index(Concat(GetFieldSelections([US Product],',',40),'|'),'US biscuit')>0)

change this instruction in all the tabs ... and it will work