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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
CarlosV
Contributor
Contributor

Disable selection of a specific dimension

Hello!

I would like to make pivot table values ​​static based on a parameter list of a dimension even though there is a List Box based on the same dimension which is used to perform selections.

Sample data:

Possible values (used as filter) (List Box)

Operation
1
2
3
4

 

Full data set

Code Operation Value
1 1 10
2 2 25
3 3 5
4 4 10
5 1 15
6 4 25
7 2 40
8 3 50
9 3 20

 

What i want, regardless of selection in List Box:

Code Operation Value
1 1 10
5 1 15
2 2 25
7 2 40

 

I tried many variations of Sum({$<Operation = {'1, '2'}>} Value) , but unsuccessful. Any suggestion? Thanks.

Labels (1)
1 Solution

Accepted Solutions
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

"I need only block the selection on Operation dimension"

Your original expression should work then (you were missing a quote in what you posted). 

Sum({$<Operation = {'1', '2'}>} Value)

View solution in original post

3 Replies
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Sum({1<Operation = {'1', '2'}>} Value)

-Rob

CarlosV
Contributor
Contributor
Author

Hello Rob, thaks for your reply.

Unfortunately this expression will block the selection in other dimensions. I need only block the selection on Operation dimension, the Code dimension can still be selected.

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

"I need only block the selection on Operation dimension"

Your original expression should work then (you were missing a quote in what you posted). 

Sum({$<Operation = {'1', '2'}>} Value)