Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Save $600 on Qlik Connect registration! Sign up by Dec. 6 to get an extra $100 off with code CYBERSAVE: REGISTER

Qlik Sense Chart-level scripts, #hc1.dimension.n(rr) silently fails i.e. when PUT is used, no error generated and expected changes are not displayed

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Joseph_Musekura
Support
Support

Qlik Sense Chart-level scripts, #hc1.dimension.n(rr) silently fails i.e. when PUT is used, no error generated and expected changes are not displayed

Last Update:

Sep 5, 2024 4:01:32 AM

Updated By:

Sonja_Bauernfeind

Created date:

Sep 2, 2024 10:03:43 AM

Attachments

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
Labels (2)
Version history
Last update:
‎2024-09-05 04:01 AM
Updated by: