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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to use GetFieldSelections() to filter Dimension

Hi Friends,

I am very new to Qlik Sense.

 

I have 2 columns called brand and Rank in the data set. I am trying to plot the BOX chart

Y-axis will bet the Rank Distribution and X-Axis will be brand

I am facing issue with filters on brand.

In the X-axis, brand A should be always fixed and the brands B,C,D,E... will be in the filter.

I will always want to compare my brand A with the selected brand B or C or D... from the filter.

 

I tried many ways with the hints in the community and was no success. Could any one help me out how to over come this challenge, please

Labels (1)
1 Reply
anushree1
Specialist II
Specialist II

If you want to do it in the same chart create 2 expressions :

Exp 1: Sum({<Brand={A}>}Rank)

Exp 2: Sum({<Brand-={A}>}Rank)

Do not use any dimensions 

Else You could try using Alternate States as well:https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Alternate%20Sta...