cancel
Showing results for 
Search instead for 
Did you mean: 

Calculating YTD and MTD in SAP BEx

Former Member
0 Kudos

Hi Experts,

In below I want to calculate MTD and YTD on Breakdown key figure. Could you please give steps how I can achieve that.

We don't have 0cal day and most of the example which I seen in scn form are based on calday.

We've only Calmonth and calyear.

We've derived Week commencing from print date in backend.

Could you please share steps how can I achieve this?? Please share screenshots with sample code..

Accepted Solutions (0)

Answers (2)

Answers (2)

KodandaPani_KV
Active Contributor
0 Kudos

Hi,

if don't have the 0CALDAY object how we can calculate the MTD or YTD.

if have any source side created on or changed on data or modified data map the tranformations form dates fields to 0CALDAY.

ask the your source team they will provide the one date.

after loading the data into cube check the 0calday column have data

after calculating the MTD or YTD is easy in bex.

Thanks,

Phani.

Former Member
0 Kudos

Hi

ok. I've mapped with calday with print date. Then how I'll calculate YTD now on downtime and total count.

PLease can can share some screen shots... And sample code please

thanks

Former Member
0 Kudos

hi,

If you dont have calday in cube then how do you intend to divide your monthly data? if you want to divide equally, then add the calday in cube and map it to calmonth (applying time distribution). post this you can use the calday to calculate MTD/YTD.

regards,

Arvind.