I don't know if I'm doing something wrong or if the feature is not available, I'm using the chart level scripting to compute a complex KPI in a table, this works well however, I'm not able to compute/change the total. For example, I would have expect that something like this would have changed the total value for my first expression to be 19:
put #hc1.measure.1(0)=19;
But apparently, 0 is not recognized as the total row.
Have someone already managed to interact with totals? Else I can add a fake dimension but then it appears at the end whereas I wanted to have it at the top, moreover, it implies to compute all totals here, including those for basic KPIs.