cancel
Showing results for 
Search instead for 
Did you mean: 

Calculate Current Month, Last year same month, Previous Month, YTD, for [Cross Calculation] on SAC

Charlielin
Explorer
0 Kudos
879

Hi Experts,

  I am facing a requirement where I need to calculate Input Month, Last year Input month, Previous Month, YTD of income statement figures(SAP COPA Data) all on the same report using SAC(as below), the source data is from Datasphere.

Charlielin_0-1723774187715.png Cross Calculation is used

 

User will specify an input [Year/Month] at run-time. 

Please share your experiences on how to achieve this, thanks a lot !!!

===================================

Q2: We have to calculate the weighting for each line, is that possible ?

Charlielin_0-1723775815747.png

 

 

Mark_P_Burke
Product and Topic Expert
Product and Topic Expert
0 Kudos
@Charlielin. Use the %GrandTotal() or GrandTotal() Mathematical Functions.
View Entire Topic
N1kh1l
Active Contributor
0 Kudos

@Charlielin 

Your Input Year month should be Date filter. Rest all can accomplished using dynamic time restricted measures.

N1kh1l_0-1723697178257.png

 

Previous Month: Make the selection as below

N1kh1l_2-1723697379190.png

 

Previous Year Input Month: 

 

N1kh1l_3-1723697407687.png

YTD:

N1kh1l_4-1723697467338.png

Hope this helps !!

Nikhil

Charlielin
Explorer
0 Kudos
Thanks for replying, however users will dynamically enter a Year/Month instead of just using the system date. Currently, I managed to achieve this by creating Input Parameters + set flags dynamically based on user input for Calculated Column