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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
silviasuciu1999
Contributor
Contributor

getobjectmeasure function

Hello, everyone!

I have a question.

I have a combochart with multiple measures and 2 dropdowns because I use in my char a marker and a line.

 

When I select the measures I want to have 2 variables(that will contain the formula for the measures selected    E.g : Sum(dist),Sum(duration)) that will be updated depending on my selection.

To do that I tried to create 2 variables:

first_measure=getobjectmeasure()

second_measure=getobjectmeasure(1)

In the combochar I would like to have a line that will be the difference between the 2 variables.

E.g : Sum(dist)-Sum(duration)

the problem is that my variables are not being updated when I select other measures.

Labels (4)
1 Solution

Accepted Solutions
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

To calculate the difference between the two measures try:

Column(1) - Column(2)

-Rob
http://www.easyqlik.com
http://masterssummit.com
http://qlikviewcookbook.com

View solution in original post

1 Reply
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

To calculate the difference between the two measures try:

Column(1) - Column(2)

-Rob
http://www.easyqlik.com
http://masterssummit.com
http://qlikviewcookbook.com