'Using variables in a richtext with VEEML

In a VEEML story, I would like to comment on a chart displaying the turnover week by week; Is there a way to display the total turnover of the whole year included in my comments?



Solution 1:[1]

Each time you create a metric, a variable with the same is created.

For instance, you create a metric as : SUM(Amount) as Amount

A variable called “Amount” is automatically created.

To use that variable, you have to prefix the name of the variable by the @ character when you want to call it.

For instance, in a Richtext chart, you can display the result of the calculation of that metric as :

The turnover is @Amount €

And you will get : The turnover is 917 44 154 €

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Zoe Veeml