Hi Everyone.
I'm developing a custom analytical query in s4hana cloud yo create a sac embedded analytic report.
I have my period range in columns and the ratio from a standard view. But I need to create the YTD measure. So I find how to create a calculated measure,


but I have no idea about the formula.
could you please help me?
Or the way I could get the YTD in my report?
For now it looks like this:

Sorry for my question I'm a SAC consultant not S4.
Thanks in advance. Hope someone can help me.