Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I would like to set all my common expressions as a reusable variable.
I use variables for other purposes, but when I tried to set a variable "=sum(Revenue)", it didn't work as expected.
For some reason the calculation doesn't work with all dimension. It only shows the total revenue of the whole database, and enters the same value for all dimensions. The total value can be billions or trillions, depending on the number of dimensions I have in the Pivot table. Any simple solution for this?
Thanks
No one knows?
I've seen posts about this, but I haven't been able to replicate it, or at least it wasn't working for me.
Have a look at the following Design Blog post, I think it might help you out here in addition to what the other poster already gave you!
https://community.qlik.com/t5/Qlik-Design-Blog/The-Magic-of-Variables/ba-p/1465499
Regards,
Brett
Hi, you need to remove the starting equal sign.
Starting with an equal the variable is evaluated globally and the result value is used, that's why every row is the same.