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

How to reference calculated fields?

How do I reference calculated fields in other calculated fields?

For example: Let's say I have a calculated field for GROSS_PROFIT =  SUM(GROSS_SALES)-SUM(EXPENSES) in a Master Measure.

Now let's say I want to create a new calculated field as NET_PROFIT =  SUM(GROSS_PROFIT)-SUM(TAXES) by using  the GROSS_PROFIT calculated field as a component of the new calculated field.

I have a sheet with lot of formulas each that build upon the previous one. One of the formulas took 39 lines because I had recreate the whole thing with all the components instead of creating a few calc fields and referencing those calc fields. Had I been able the create calc fields and reference each one, that formula would have been 6 lines.

Labels (1)
1 Solution

Accepted Solutions
tresesco
MVP
MVP

3 Replies
tresesco
MVP
MVP

Latest qlik sense versions have this feature. 

csh8428
Contributor II
Contributor II
Author

@tresesco  Which version? We are on Sept 2020

tresesco
MVP
MVP

>=Feb 2021