Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Set variable dependent analysis of a button (Variable set analysis dépendant d'un bouton)

Hello,

in set I analysis would change a dimension based on a pre-established selection button

my function is: = sum ({<Période_Hebdo_Courante = {'O'}>} [Ca CDE]) + sum ({<Période_Hebdo_Précédente = {'O'}>} [Ca CDE])

I would like to be configurable according Période_Hebdo_Courante 3 distoncs buttons and clickable In User by the weekly, monthly and yearly knowing that I have in my database Période_Hebdo_Courante three dimensions, and Période_Mensuelle_Courante Période_Annuelle_Courante?

Could you help me?

thank you

Translated with Google Translate - Qlik Community Administrative Team

Bonjour,

dans un set analysis j'aimerais paramétrer une dimension en fonction d'un choix de bouton pré-établis

ma fonction est la suivante :=sum({<Période_Hebdo_Courante={'O'}>} [Ca Cdé])+sum({<Période_Hebdo_Précédente={'O'}>} [Ca Cdé])

Je voudrais donc Période_Hebdo_Courante soit paramétrable en fonction de 3 boutons distoncs et cliquable par l'utilsateur hebdomadaire, mensuelle et annuelle sachant que j'ai dans ma base les trois dimensions Période_Hebdo_Courante ,Période_Mensuelle_Courante et Période_Annuelle_Courante?

Pourriez vous m'aider?

Merci

1 Solution

Accepted Solutions
Not applicable
Author

You can add the SET expression into variable and use the variable in SET Analysis.

vSETAnalysis = '$(vButtonValue)={"0"}'

Sum( {<$(vSETAnalysis)>} [Ca Cde])

View solution in original post

2 Replies
Not applicable
Author

You can add the SET expression into variable and use the variable in SET Analysis.

vSETAnalysis = '$(vButtonValue)={"0"}'

Sum( {<$(vSETAnalysis)>} [Ca Cde])

Anonymous
Not applicable
Author

thanks a lot for your help