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: 
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