Qlik Community

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Announcements
QlikWorld 2022, LIVE in Denver CO., May 16-19, 2022. REGISTER NOW TO RECEIVE EARLY BIRD PRICING
cancel
Showing results for 
Search instead for 
Did you mean: 
chri_galea
Contributor
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
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

View solution in original post