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: 
danosoft
Specialist
Specialist

Select months below

If I select a month I want the information to be shown in the graph as if I had selected all the months below. Example if I select 5 I want the graph to show me the values ​​as if I had selected 1,2,3,4,5. I put the sample photos

This is field :  mese_competenza

danosoft_0-1657008225991.png

this is expression: Sum(CONSUMO_SMC) / Sum({1<ANNO=P(ANNO),DES_REFERENTE=P(DES_REFERENTE)>}BUD_VOLUMI)

danosoft_1-1657008262494.png

how can I put the data in the expression as if I had selected all the months: 1,2,3,4,5 and not just the selected month?

 

Labels (1)
1 Reply
Mark_Little
Luminary
Luminary

Hi,

Hard to advise fully as there are too many knowns. But the general appraoch i would use would be ad follows.

Create a variable to capture the selections - Var1

GetFieldSelections(Dimension)

Then add the following to the Set Analysis

Month={"<=$(Var1)"}