Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
hd1
Contributor III
Contributor III

Multiview Bargraph condition function

Hi for starters i'm new to QlikSense and QlikView.

I am trying to display dynamic charts that changes based on measure sorted in a descending order (On user click it changes based on the measure). Does anyone know the function for sorting a dynamic chart?

Edit: my chart is a bar graph with one measure and one alternative measure

I am thinking of something like,  if user clicked on chart X to be displayed then sort by X function, if user clicked on chart Y to be displayed then sort by Y function.

I have tried to place a condition based on a label but nothing works 

my expression logic:

if(LabelName = label_name then count(X) else count(Y))

Any tips and tricks are appreciated

Labels (4)
1 Reply
hd1
Contributor III
Contributor III
Author

Solved:

What worked for me is placing this expression in the sort tab:  if(GetObjectMeasure()= Label Name ,do expression, else expression)