Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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

Try this

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

View solution in original post

2 Replies
Colin-Albert

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.