WELCOME TO MY WORLD

Hi THERE

I'M INDRAJIT. B.Tech [ CSE ] + MBA [ IT-HR ]. WORKING AS SAP BO-BI WITH S4 HANA SENOR CONSULTANT.

Subscribe to this blog!

Receive the latest posts by email. Just enter your email below if you want to subscribe!

My Other Works
Loading...

Periodic Views - TD WTD MTD YTD

How To...Calculate YTD MTD WTD TD using Date Dimensions


After spending more than 72 hours in net and reading almost all the related articles available I finally concluded with something like this..... 



What I tried to do is creating attribute views for each type and finally I combined all of them with the main table and created a analytical view.

Here is the attribute views -

1. WTD --
Calculated Column  -- 

2. MTD --

Calculated Column -

3. YTD --

Calculated Column - 

For TD I want to do in design studio itself. 
This is the  complete structure of the analytic view. 


This is the data preview. U can the date_Date(WTD), YTD and MTD o/p along with other o/p.




















One important point that i want to share is my date format is "DD-MM-YYYY". Now U have to adjust ur code based on ur date format.

References --

Simple example of Year To Date (YTD) calculation in SAP HANA

Implementation of WTD, MTD, YTD Period Reporting in HANA using Calculated Columns in 
Projection

How To...Calculate YTD-MTD-anyTD using Date Dimensions

Share on Google Plus

About AXEL BLAZE [ FATAL ERROR ]

0 comments:

Post a Comment