Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
tgumbing
Contributor III
Contributor III

variable with parameters

Hi,

I have a variable with 2 parameters :

FuncCal=SUM({<Year={$1}, Month={$2} >}  TimesValue)

And when I call it in my Pivot Table it's not working :

=$(FuncCal(max(YearSelect),max(MonthSelect)))

Can some one help me ?

Thanks

1 Solution

Accepted Solutions
sunny_talwar

May be change the variable to this

FuncCal=SUM({<Year={"$(=$1)"}, Month={"$(=$2)"}>}  TimesValue)

View solution in original post

2 Replies
sunny_talwar

May be change the variable to this

FuncCal=SUM({<Year={"$(=$1)"}, Month={"$(=$2)"}>}  TimesValue)

tgumbing
Contributor III
Contributor III
Author

Thanks