Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

chri_galea
New Contributor

Dimensions & Expressions in Qlik Sense

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!

1 Solution

Accepted Solutions

Re: Dimensions & Expressions in Qlik Sense

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.


talk is cheap, supply exceeds demand
1 Reply

Re: Dimensions & Expressions in Qlik Sense

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.


talk is cheap, supply exceeds demand