The conclusions in this article were reached in collaboration with cjgorrin from the European Commission's Joint Research Centre Qlik Sense team.
Based on Qlik Sense online documentation, PUT statement can be used to set some numeric value to the hypercube
But in the following example (see attached CHART LEVEL SCRIPT_Put Dimension_silently fails.qvf), PUT statement seems to do nothing i.e. when used, no error is returned and expected changes are not displayed
Put #hc1.dimension.1(rr) = 'myvalue_' & rr;
Put #hc1.dimension.2(rr) = rr * 100;
Resolution
This is working as designed.
Put statements are not allowed to manipulate dimensions. The Qlik Sense online help will be updated to reflect this.
Internal Investigation ID(s):
QB-27952
Environment
- Qlik Sense May 2024 and above
- Qlik Sense Cloud