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: 
Diby
Contributor
Contributor

Dimension expression

Hello guys

How can i choose two option in dimension expression

For example: I have a column that there are 3 options-> 'A', 'B', 'C'. I just want to display 2 options, 'A' and 'B'.

I text expression like this    {<Column={'A','B'}>}  ,  but it shows error

Labels (1)
1 Solution

Accepted Solutions
BrunPierre
Partner - Master
Partner - Master

Include the equal sign at the beginning, with an aggregation function and a measure like below.

= Sum({<Column={'A','B'}>} Sales)

View solution in original post

3 Replies
BrunPierre
Partner - Master
Partner - Master

Include the equal sign at the beginning, with an aggregation function and a measure like below.

= Sum({<Column={'A','B'}>} Sales)

rui24
Creator
Creator

Need to do this

You need to specify the operation, than the field and the valor and then the field you wanna sum in this case

=Sum({<""={"A","B"}>}"Name of field what you wanna Sum")

sidhiq91
Specialist II
Specialist II

@Diby  Please use the below expression in your Dimension:

=Aggr(Only({<Value={'A','B'}>}Value),Value)

If this resolves your issue, please like and accept it as a solution.