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

Issue with passing variable in a pick expression

My expression works fine.

=$(vTriangle(

$(=

sum({<$(vCalendarIgnoreSA), Link_Date={'$(=vToDate)'}>} NewEsignApprovals)

-sum({<$(vCalendarIgnoreSA), Link_Date={'$(=vToDatePrior)'}>} NewEsignApprovals)

)))

But when I try to put a pick, it throws an error, any idea why?

=pick(vTimeDim,$(vTriangle(

$(=

sum({<$(vCalendarIgnoreSA), Link_Date={'$(=vToDate)'}>} NewEsignApprovals)

-sum({<$(vCalendarIgnoreSA), Link_Date={'$(=vToDatePrior)'}>} NewEsignApprovals)

))),' ')

All suggestions and help greatly appreciated.

-Roy

3 Replies
Digvijay_Singh

Not sure but the only difference I could see is '=' sign before the expression when using pick.

Clever_Anjos
Employee
Employee

does vTimeDim returns which type of numbers?

susovan
Partner - Specialist
Partner - Specialist

Hi Aditya,

You can also try this,

=pick(Match(vTimeDim,$(vTriangle($(=sum({<$(vCalendarIgnoreSA), Link_Date={'$(=vToDate)'}>} NewEsignApprovals)

-sum({<$(vCalendarIgnoreSA), Link_Date={'$(=vToDatePrior)'}>} NewEsignApprovals)

)))),' ')

Warm Regards,
Susovan