Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register Now!
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

Labels (1)
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