Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME 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