@Aloy I struggled with this for awhile… You need to set the variables value with a workflow and a tiny bit of Javascript.
Checkout this forum post where @aurelie walks through the whole thing:
She covers exactly what you are looking for.