Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

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
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.


talk is cheap, supply exceeds demand

View solution in original post

1 Reply
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.


talk is cheap, supply exceeds demand