Skip to main content
Announcements
Save $600 on Qlik Connect registration! Sign up by Dec. 6 to get an extra $100 off with code CYBERSAVE: REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

using variables instead expression

Dear experts, good day!

Maybe someone have task to calculate some expressions, which are described in document variables?

For example, in my real model i have more than 100 expression with same calculation logic and formula, when i need to set some changes, i must rewrite each of them.

Is in QV possibility to calculate expression by variables? -> In one variable i write my expression, and any changes in it must change each report where this variable is implemented.

In attachment test model and source file, but such variant doesn't work (result isn't aggregated by my dimensions)

Any ideas how to solve this?

Thanks.

1 Solution

Accepted Solutions
sunny_talwar

Check the attached now

Update: Remove the '=' sign before your variable definition

Capture.PNG

Use $(vTest) as expression

Capture.PNG

View solution in original post

2 Replies
sunny_talwar

Check the attached now

Update: Remove the '=' sign before your variable definition

Capture.PNG

Use $(vTest) as expression

Capture.PNG

Anonymous
Not applicable
Author

Thanks!!!!!