Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
danosoft
Specialist
Specialist

Set Analisys, take element withouth another

I want to do this set analisys taking a value from my list box, when i choose "CESSAZIONE" in my list box:

this work:

//Sum({<DATA_OUT={"=Aggr(Max(DATA_OUT), MESEOUT, COD_PUNTO)"},STATO_OUT={"CESSAZIONE"} -  {'SCADENZA'}>} CONSUMO_TOT_ANNUO),

but i need to put the element of my list box, i tried in this way, but it not work, where is the problem?

    Sum({<DATA_OUT={"=Aggr(Max(DATA_OUT), MESEOUT, COD_PUNTO)"},STATO_OUT={"GetFieldSelections(STATO_OUT)"} -  {'SCADENZA'}>} CONSUMO_TOT_ANNUO),

1 Solution

Accepted Solutions
PrashantSangle

use $(=) to evaluate function

try below

  Sum({<DATA_OUT={"=Aggr(Max(DATA_OUT), MESEOUT, COD_PUNTO)"},STATO_OUT={"$(=GetFieldSelections(STATO_OUT))"} -  {'SCADENZA'}>} CONSUMO_TOT_ANNUO),


Regards,

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

View solution in original post

1 Reply
PrashantSangle

use $(=) to evaluate function

try below

  Sum({<DATA_OUT={"=Aggr(Max(DATA_OUT), MESEOUT, COD_PUNTO)"},STATO_OUT={"$(=GetFieldSelections(STATO_OUT))"} -  {'SCADENZA'}>} CONSUMO_TOT_ANNUO),


Regards,

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂