Professional Documents
Culture Documents
D4
D4
The scope is limited to SAC acquired connections involving an SAC model creation
(rather than live connections). This specific case if pertaining but not limiting
to OData service as source.
We are trying to achieve the cumulative sum in a chart rather than a table (wherein
we have inbuilt cumulative functions).
The cumulative sum should be continuous and can seamlessly across year boundaries
E.g. Dec 2020 through Jan 2021 etc. This would rule out the use of YTD, MTD etc.
aggregation calculation leveraged in time series plots
Sample Use case: Showing daily count of defects opened during HyperCare phase of a
project along with a running sum of backlog. Here:
Step2: F2 = Apply LOOKUP() function on the above calculation i.e. F1(@SAC Model)
Navigate to the Model >Account > Add Member (under Edit) > Add Formula for the
Member
account dimension
Column%20containing%20the%20Lookup%20Function%20is%20created%20as%20an%20Account
%20dimension%20member
The LOOKUP function is used to aggregate the account member in the context of a
given point of view (POV). Click here to learn more about the function from SAP
Help Portal
LOOKUP([Backlog] ,[d/Week_End_Date]=Lastperiods(“Day”,365 ))
The ‘Lastperiods’ time navigation function is the key to cumulate the daily backlog
values. Here, we have restricted the cumulation to 365 days of a year, Ideally this
value would vary depending upon the requirement and can be changed accordingly. The
output of the function is shown below.
Cumulation%20Output%20%28line%29
Cumulation Output. X-Axis = Week End Date; Y-Axis = Opened Tickets (Bar) and
Backlog (line)
In the above chart, the blue bar represents the opened tickets at a weekly level.
The orange line represents the cumulation output of the LOOKUP function
E.g.
Here the LOOKUP function cumulates all open tickets (for 3/22 , 3/29, 4/5) then
substracts all closed tickets (for 3/22 , 3/29, 4/5) to simulate the above number
(10). This is because the it acts on top of the Account member Backlog = [ Open
Incident Count] – [Resolved Incident Count]