Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
anderseriksson
Partner - Specialist
Partner - Specialist

Master Measure References brakes application!

One year ago (Feb 2021) Qlik made Master Measures referenceable by name.
While this is great unfortunately I've found a problem with it.
The help states ;
"When the name of a measure is used inside an expression, it is interpreted as an alias for the measure. This allows you to re-use an already defined entity. You can use the labels of master measures and chart measures in this way. However, the chart measure must be in the same chart. You cannot use labels of measures in other charts."

Works great but what happens when you have a master measure and a chart measure with the same name?
I found out the hard way that the master measure takes precedence!
Thus only way to reference the chart measure is either to rename the column or use Column() function!
Column() function can lead to errors if you re-order columns. Renaming might not be good either.
There are occasions when you have a master measure but need some slight adjustment in a specific table/graph.
Can often be a tweaked set analysis or something like that. 
When there exists both a master measure and a chart measure in the same chart as the reference I would expect the chart measure to take precedence.
If the chart measure is simply a reference to the master measure it does not matter.
If it is tweaked in some way I expect one wants the tweaked version in the same chart.
It is like programing when you have a local reference masking the global reference. 

Labels (3)
0 Replies