Qlik Community

QlikView Extensions

Discussion Board for collaboration on QlikView Extensions.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

MVP & Luminary
MVP & Luminary

Selection of multiple records doesn't work

Hi,

it seems that neither

SelectTextsInColumn(0, false, ["A","B"])

nor

SelectValuesInColumn(0, ["A","B"], false)

doesn't work. It selects only the first value "A".

Is there any other way to do this in one function call?

- Ralf

Tags (1)
11 Replies

Re: Selection of multiple records doesn't work

The function works for me (see the attached .qar and .qvw files).

MVP & Luminary
MVP & Luminary

Re: Selection of multiple records doesn't work

Yea, those kind of simple stuff always work. I also have some extensions that work with multiple selection, but some doesn't work.

Re: Selection of multiple records doesn't work

Can you post an example of it not working?  I'd like to play around with it.

MVP & Luminary
MVP & Luminary

Re: Selection of multiple records doesn't work

I cannot post this. But I have played around with all possible options and everytime only the first value gets selected..

tlorimier
New Contributor III

Re: Selection of multiple records doesn't work

I'm using an extension at the moment and I have the same problem actually.

But I think I have identify one problem.

Those methods : SelectTextsInColumn / SelectValuesInColumn works fine with array as parameter BUT only if your column is a simple dimension (not a calculated dimension nor a conditional dimension)


For exemple :

- This work : Dimension : X => selectTextsInColumn(0,true,["a","b","c"]) => Filter a b c
- This wont work : Dimension : =if(GetPossibleCount(X) < 10, X, Null() ) => selectTextsInColumn(0,true,["a","b","c"]) = > filter a

So now it is a problem with the method ? Or the way we use dimension is too hacky ?

Here an example :

rustyfishbones
Honored Contributor II

Re: Selection of multiple records doesn't work

Hi Ralf,

I have never seen such a function, where is this used.

Regards

Alan

tlorimier
New Contributor III

Re: Selection of multiple records doesn't work

Those function is within the javascript API QlikView 11 for Extension.

MVP & Luminary
MVP & Luminary

Re: Selection of multiple records doesn't work

Hi Alan,

in Extensions...

- Ralf

rustyfishbones
Honored Contributor II

Re: Selection of multiple records doesn't work

Thanks for clearing that up