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
909

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
Mark_P_Burke
Product and Topic Expert
Product and Topic Expert
0 Kudos

For Q2, use the %GrandTotal() or GrandTotal() Mathematical Functions.  See SAC Help.Sap.com
If this is all relative to Net Income as total, then divide each row by Net Income.

GrandTotal(Account)Returns the grand total of all the Account values in the result set. Filters are included in the calculation of the grand total.GrandTotal(Sales) returns the aggregated value of Sales.

 

%GrandTotal(Account)Returns the percentage of the grand total that each value represents.%GrandTotal(Sales) returns the percentage of the grand total that each value represents.
Charlielin
Explorer
0 Kudos
Apologized that I've given a bad example, the actual situation is that we have to use "Cross Calculation" to populate different measures on the row instead of just a single [account] dimension, that's why it's kinda complicated
Charlielin
Explorer
0 Kudos

I've refreshed my screenshot to make it more clear