1 Reply Latest reply: Jun 23, 2016 7:25 AM by Gysbert Wassenaar RSS

    Dimensions & Expressions in Qlik Sense

    Christabelle Galea

      Hi,

       

      I have created a dimension in Qlik Sense. The dimension is a set of 4 values from a valueList (ValueList('A', 'B', 'C')).

       

      Is it possible to refer to this dimension from an expression so as to use it in a chart?

       

      Thanks!

        • Re: Dimensions & Expressions in Qlik Sense
          Gysbert Wassenaar

          No. The calculated dimension you created is not a field in the data model. So you can't refer to it in expressions. You'll have to reuse the valuelist function in the expression too. The easy solution is to add a small table in the Data Load Editor:

           

          MyList:

          LOAD * INLINE [

          MyField

          A

          B

          C

          ];

           

          Then after reloading the app you can use the new MyField field in expressions.