cancel
Showing results for 
Search instead for 
Did you mean: 

Last Period Aggregation (using Attribute Transformation)

Hi All,

I am working with Last Period Aggregation for Inventory Target Key figure and see that it sums up the inventory of all the months in a quarter, rather than showing the inventory of the last month of that Quarter.

Have any one faced the same issue and how can we resolve the same? I have followed the same settings/config as maintained in SAP2 model.

Any help will be very much appreciated.

Many Thanks,

Sarath

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sarath,

Can you please attach the screen shots of the configuration, you have done? Also what is the granularity of the time profile?

Best regards

Rinju

0 Kudos

HI Rinju,

Time Profile is ( Monthly, Quaterly and Yearly ).

Planning Levels PER ( no root ), PER1 ( PERIODID as root ), PERPRODLOC ( Monthly, PRDID, LOCID as root )

Attached are the screenshots for other config.

INVENTORYDMDQTY@REQUEST = HINVENTORYTARGETQTY@REQUEST

Please let me know if it helps and need any more information.

Thanks,

Sarath

Former Member
0 Kudos

Hi Sarath,

Calculation of HINVENTORYTARGETQTY@REQUEST is not complete. Try following:

Create planning level: PERPRODLOC1: this planning level should be same as PERPRODLOC, but select only PERIODID in the time attribute and mark it as root.

Then add cal 1--> INVENTORYDMDQTY@PERPRODLOC1 = MAX(INVENTORYDMDQTY@PERPRODLOC)


Create another planning level PERPRODLOC2: this planning level should be same as PERPRODLOC1, but all the other time attribute. Mark PERIODID as root.


cal 2: HINVENTORYDMDQTY@PERPRODLOC2= INVENTORYDMDQTY@PERPRODLOC1


Input KFs: INVENTORYDMDQTY@PERPRODLOC1 and HFPERIOD@PER1


cal 3: HINVENTORYDMDQTY@REQUEST= SUM(HINVENTORYDMDQTY@PERPRODLOC2)


Final cal: INVENTORYDMDQTY@REQUEST=HINVENTORYDMDQTY@REQUEST


Best regards

Rinju



0 Kudos

Hi Rinju,

Thank you very much it worked for me.

Very much appreciated.

Thanks,

Sarath

Answers (0)