Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Not applicable

Using measures inside the expressions for new measures

Hi,

Is it possible to use a measure inside an expression to create a new measure?

Thanks

1 Solution

Accepted Solutions
mjm
Contributor III

Re: Using measures inside the expressions for new measures

Hello Soumya,

I would recommend looking at this in another way. With the latest version of Qlik Sense we offer the capability of creating variables. Here you can define an expression for the variable (sum(Sales) for example).

This can then be referenced from within another measure by using $() such as $(vExpression) where vExpression is the variable holding the new calculation which you want to use.

I hope this answers your question. If so, please mark this as answered and helpful.

Thanks,

1 Reply
mjm
Contributor III

Re: Using measures inside the expressions for new measures

Hello Soumya,

I would recommend looking at this in another way. With the latest version of Qlik Sense we offer the capability of creating variables. Here you can define an expression for the variable (sum(Sales) for example).

This can then be referenced from within another measure by using $() such as $(vExpression) where vExpression is the variable holding the new calculation which you want to use.

I hope this answers your question. If so, please mark this as answered and helpful.

Thanks,