Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
heid_f
Contributor III
Contributor III

Using Measures in measures

Hey everyone,

is it in QlikSense possible to use a measure in another measure?

At example we have the first measure "Sales", the second measure "Costs" and want to create the third measure "profit" with "sales" - "costs".

In QlikView there was a possibility to use a measure in another measure using $(sales).

Does anyone know this works in QlikSense?

Thanks and Best Regards,

Fabian

Labels (2)
1 Solution

Accepted Solutions
Dalton_Ruer
Support
Support

As Rob mentioned above starting in Feb 2021 release you can reference master measures inside of others. If you are using a version earlier than that, you will want to establish variables that can be utilized as Juan referenced. 

View solution in original post

4 Replies
JuanGerardo
Partner - Specialist
Partner - Specialist

Hi @heid_f, yes it works like in QlikView, so you can use:

Let profit = $(sales) - $(costs)

And in the last versions you can also use master measures into the Qlik Sense expressions or into other master measures.

JG

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

You can reference Measures in expressions beginning with the Feb 2021 release.

-Rob

Dalton_Ruer
Support
Support

As Rob mentioned above starting in Feb 2021 release you can reference master measures inside of others. If you are using a version earlier than that, you will want to establish variables that can be utilized as Juan referenced. 

heid_f
Contributor III
Contributor III
Author

Great, thanks for the solution.
We will update to the Feb 2021 release.