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: 
OXXILATION
Contributor II
Contributor II

Calculated condition only if dimension is selected in bar chart

Hello,

I got a bar chart with several dimensions, which I can choose in-between. My question now is:

Is it possible to have a calculated condition only if the dimension "xy" is chosen?

For example: 

when dimension "xx" is selected in the bar chart, activate the calculated condition, if another dimension is selected, just do nothing

Yours,

OXX

1 Solution

Accepted Solutions
Arthur_Fong
Partner - Specialist III
Partner - Specialist III

try:

if(getfieldselection(<Dimension>)='XY',<Calculated Condition>,<Normal Expression>)

View solution in original post

2 Replies
Arthur_Fong
Partner - Specialist III
Partner - Specialist III

try:

if(getfieldselection(<Dimension>)='XY',<Calculated Condition>,<Normal Expression>)

OXXILATION
Contributor II
Contributor II
Author

Thank you!