Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
evansabres
Specialist
Specialist

Straight Table

Hello -

I am attempting to create a straight table that references a field named promoCDE  from which there are several types of promoCDE's that I'd like to focus. I want my table to specifically only show the promoCDE's of

'ADULT'

'2FAMPK'

'HOLHAT'

'KIDDAY'

I'd assume I'd add a calculated dimension, but I cannot seem to get the syntax correct.

1 Solution

Accepted Solutions
sunny_talwar

You can use calculated dimension, or set analysis.

1) Calculated Dimension

If(Match(promoCDE, 'ADULT', '2FAMPK', 'HOLHAT', 'KIDDAY'), promoCDE)

2) Set Analysis

{<promoCDE = {'ADULT', '2FAMPK', 'HOLHAT', 'KIDDAY'}>}

View solution in original post

5 Replies
Anonymous
Not applicable

Could you share the your calculated dimension with the syntax you suspect as dodgy ?

Although Set Analysis in your expression could be better.

sunny_talwar

You can use calculated dimension, or set analysis.

1) Calculated Dimension

If(Match(promoCDE, 'ADULT', '2FAMPK', 'HOLHAT', 'KIDDAY'), promoCDE)

2) Set Analysis

{<promoCDE = {'ADULT', '2FAMPK', 'HOLHAT', 'KIDDAY'}>}

Chanty4u
MVP
MVP

=Pick(promoCDE, '

'ADULT'

'2FAMPK'

'HOLHAT'

'KIDDAY')

evansabres
Specialist
Specialist
Author

The set analysis would only be used for an expression correct?

Anonymous
Not applicable

Yup - Correct.