Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Ramu_i
Creator II
Creator II

In Text box label display the all by default, according to selection display the selected vales.

Hi All,

I have two filters in that I keep it selected all values action.

While opening the dashboard it will display the all for current selection. 

I took one Text object in that I need , while opening the dashboard it will display the All , other wise it will display the selected values, Here more than selected values are there it will display the 60 of 100 but I need all 60 values.

 

Thanks & Regards,

Ram

3 Replies
abhijitnalekar
Specialist II
Specialist II

Try GetCurrentSelections(fieldname)

Regards,
Abhijit
keep Qliking...
Help users find answers! Don't forget to mark a solution that worked for you!
tresesco
MVP
MVP

If you are using getcurrentselections(), then it has fourth argument that takes 'max values' which is by default 6.

tresesco_0-1632745756469.png

That means, if your selection generates more than six values - it would not show all the individual values by default but like you said '60 out of 100'. To see all the values - you can set this max value passing a parameter, like:

GetCurrentSelections('|','-','@', 200

If you are using GetFieldSelections(), it would be the third parameter instead.

Ramu_i
Creator II
Creator II
Author

Hi Abhijitnalekar,

I Tryed this one, But Here I have provided Action for Selected all, while opening the dashboard it will display the all data, In that case it will display the All , Other wise selected value is displayed. Here I have provided Action is Selected all, In the filters will un check the element ,in text object show Not values, after 4 is there it will display the 60 of 100 like that.