Qlik Community

Qlik Sense Integration, Extensions, & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

amien
Valued Contributor

mashup and get selection

i use this to get a list of the current selection:

me.selections = reply.qSelectionObject.qSelections;

var mySelectedFields_arrayLength = mySelectedFields.length;

if (mySelectedFields_arrayLength > 0) {


The thing is that i want to exclude the selection which has a hide prefix or a $hidden tag. How do i exclude these from the get selection count? I have nothing selected, only some fields in a data island. But these selected fields also counts while they have a $hidden tag.


Thanks in advanced

1 Solution

Accepted Solutions
s29124141
Contributor II

Re: mashup and get selection

You can get the state count using below. (Change the index to the desired field)

waterfall.png

Below post might help you

Show all hidden field in Listbox

1 Reply
s29124141
Contributor II

Re: mashup and get selection

You can get the state count using below. (Change the index to the desired field)

waterfall.png

Below post might help you

Show all hidden field in Listbox

Community Browser