Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
evansabres
Specialist
Specialist

Calculated Dimension

I would like to create a calculated dimension for a table.

My field is 'transBUYERTPE' and within that field that are several types of buyer types, such as ADULT, STH

What is the syntax for a calculated dimension to focus in on, for example. a transBUYERTYPE of ADULT?

1 Solution

Accepted Solutions
robert_mika
Master III
Master III

Try:

=if(transBUYERTYPE ='ADULT',transBUYERTYPE)

the tick the box next to 'Suppress When Value is Null' from

'Setting For Selected Dimension'

View solution in original post

3 Replies
robert_mika
Master III
Master III

Try:

=if(transBUYERTYPE ='ADULT',transBUYERTYPE)

the tick the box next to 'Suppress When Value is Null' from

'Setting For Selected Dimension'

evansabres
Specialist
Specialist
Author

This works perfectly, thank you. Is it possible to have multiple calculated dimensions?

robert_mika
Master III
Master III

Yes you can,

But CD are expensive - is better to use your criteria with Set Analysis

Set Analysis: syntaxes, examples