Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Rows calculatein in script

Hi All,

I'm trying to create a calculation in script like this:

Here is my table:

CountriesSalesForcast
Canada40100
US4550
Spain3240
CAnada + US85150

What I want is to create the last line in the script.

Thanks

10 Replies
Not applicable
Author

Michael,

I updated the discussion and add the real table as attachment.

The reason I need to do it in script is : If I have two measures for example Weight and Dollar and I want to the calculation , as far as I know it's not possible.If you take a look at the attached file you will see that I have weight in the report and I did my calculation in expression , like Sales+ Forecast and  it works for just Weight but if I have Dollar in the report as another measure there is no way to do it.

If you have any solution , I would appreciate.

Thanks,

Nima