Hi Alteryx Community!
I have an issue with our rather complex bonus calculation.
Based on target achievement in % I receive a value for bonus entitlement per month (columns C to H), Based on that I calculate the bonus entitlement YTD/Year To Date (for January = column C * 1, for Feburary = column D * 2, etc.).
And now comes the challenge:
In the next step I balance the bonus entitlement YTD of the current month with the bonus entitlement YTD of the previous months. To do so I apply the formula as shown in the screen shot ("SUMMEWENN" = SUMIF). In detail the formula is in column O "=I7, in column P "=J7-SUMIF($O7:O7;">0")", in column Q "=K7-SUMIF($O7:P7;">0")" etc.
So the question is: how to
a) summarise only the positive values and
b) how to expand the number of columns summarised

In the attached file are two sheets: "Columns" where the data is as presented above, and "Rows" on which I swooped the columns, in case that easier to use in Alteryx (the latter only with values, formulas you'll only find on the sheet "Columns").
In case you need more information, please do not hesitated asking for it.
Thanks for your help and support
Alex