Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set Analysis problem with last year

Hi Dear Community

I have this problem with set analysis, i have this expression

Money((Sum({<Año={$(#=Only(Año)-1)}>} Valor_PyG/$(vMoneda_PyG))/If(GetFieldSelections(MONEDA)='COP',1000000,1000))

The expression works fine with one ore more month selected but if i don't have months selected the value is zero.

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Do you get an unambiguous value for Ano if you don't have months selected (watch field list box Ano while selecting / unselecting months)? I assume your only(Ano) is returning NULL.

Hope this helps,

Stefan

View solution in original post

2 Replies
swuehl
MVP
MVP

Do you get an unambiguous value for Ano if you don't have months selected (watch field list box Ano while selecting / unselecting months)? I assume your only(Ano) is returning NULL.

Hope this helps,

Stefan

Not applicable
Author

I solved my problem add this part in set analysis Mes ,Mes={"<=$(vMaxMes)"} Thanks For all