Skip to main content Skip to complementary content

Expression containers

Some properties are also expression containers (ExpressionContainers). Expression containers can handle both normal strings and expressions. Qlik Sense support two different expression containers:

  • StringExpressionContainer

  • ValueExpressionContainer

String expression container

Example: Non-calculated string expression container

	  myTable.Properties.Title = "My Table Title";
Result:
	  string stringValue = myTable.Title;

Example: Calculated string expression container

	  myTable.Properties.Title = "=1+1";
Result:
	  stringValue = myTable.Title;

Value expression container

Example: Evaluated value expression container on gauge measure

            IGaugeMeasureAxis measureAxis = gauge.Properties.MeasureAxis;
            measureAxis.Max = "25";
            measureAxis.Max = 25d;
			
            measureAxis.Max = "=20+5";

            double value = gauge.MeasureAxis.Max;

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!