Attached is a sample file on what I'm trying to achieve.
I can get the total easily by doing a group by aggregation in the script.
I want to get the ratio of sales of Display and Reporting Company by its corresponding Company. Company is not part of the chart dimension. Is there a way to do this total column calculation on the fly as I have other matter for e.g. currency exchange rate to consider.