Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Intégration de la current selection dans un titre ?

Bonjour à tous,

J'ai besoin de votre aide, je cherche à intégrer dans le titre d'un graphique les éléments de la "current sélection".

Par exemple, =

3 éléments possible dans la current sélection : N°Projet, Mois, Trimestre

Ce qui donnerais comme titre :

n°Projet et/ou Mois et/ou Trimestre &' mon titre complet '

Si plusieurs éléments sont sélectionnés j'aimerais qu'ils soient tous indiqués dans le titre, si aucun n'est sélectionné rien ne devrait être affiché (pas de message d'erreur).

J'ai essayé sans succès le GetCurrentSelections, un set analysis Action / Set variable mais j'ai je ne suis pas certaine de ce que j'ai fait ...

Merci beaucoup pour votre précieuse aide.

Anne-Laure

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

You have to use the function  getcurrentselections().


However it could be unreadable in a title. You could use instead : Concat(Distinct Field1,'-') & ' ' Concat(Distinct Field2,'-'). It gonna limit to Field1 and Field2.

Br,

Gatien

View solution in original post

4 Replies
maxgro
MVP
MVP

can you post your qlik doc?

ecolomer
Master II
Master II

Here you have an example:

You can select some values in "Pendiente" and see in the bottom of the screen the list of values

Anonymous
Not applicable
Author

You have to use the function  getcurrentselections().


However it could be unreadable in a title. You could use instead : Concat(Distinct Field1,'-') & ' ' Concat(Distinct Field2,'-'). It gonna limit to Field1 and Field2.

Br,

Gatien

Not applicable
Author

Nice ! That works !

Thx for your help !!