The documentation on this page does not say anything about setting variable values, but when I look at the API documentation for Qlik Reporting API, I see this on line 559-565:
type SelectionFilter = { /** A map for applying soft properties, aka patches, to specific visualization IDs within the sheet. */ patchesById?: Record<string, NxPatch[]>; /** Map of selections to apply by state. Maximum number of states allowed is 125. Maximum number of fields allowed is 125 and Maximum number of overall field values allowed is 150000. */ selectionsByState?: Record<string, QSelection[]>; variables?: unknown[]; };
It seems that the variables part variables?: unknown[] is probably possible but it is not documented yet on how it can be used. I have tried several ways to see if i can discover how to utitlize it, but i have not been able to do so.
Can anyone help with figuring out if this is possible at all? I want to set variable values before creating a report using the SenseExcelTemplate.