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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
gamaplast
Contributor III
Contributor III

Help in set_analisys formula

Hi,

I have to build an expression in set_analisys which sums the values of a reference year from Jan to a reference month; reference year and reference month are stored in two variables.

It should be something like that:

=Sum( {$<AnnoReg = {$(RefYear)}, MeseRegNum = {"=<$(RefMonth)"}>} Values)

Should someone help me with the syntax formula, please?

Thks.

R.

1 Solution

Accepted Solutions
Colin-Albert
Partner - Champion
Partner - Champion

Try this

=Sum( {$ <AnnoReg = {$(RefYear)}, MeseRegNum = {"<=$(RefMonth)"}>} Values)

View solution in original post

2 Replies
Colin-Albert
Partner - Champion
Partner - Champion

Try this

=Sum( {$ <AnnoReg = {$(RefYear)}, MeseRegNum = {"<=$(RefMonth)"}>} Values)

gamaplast
Contributor III
Contributor III
Author

Thank you, Albert,

it was only a little (but very important) switch!! 😉

C u soon for next help... 🙂

R.