Hi JT T,
I find Last Period Aggregation as very tricky in IBP.
Regarding your question on HKPER @ PER1 - I suggest you to check the helper keyfigure - HINVENTORYTARGET. This has calculation defined at PERPRODLOC level. If you check Input Keyfigure in the calculation, you will see HKPER @ PER1 is being used. However it is not defined as an separate keyfigure calculation anywhere. There is attribute transformation for PeriodID at level PER1 and it has calculation like - PERIODID @ PER1 = "HKFPER @ PER". This brings values of HKPER back into PERIODID but only with last month of respective quarters.
Regarding HINVENTORYTARGET @ PERPRODLOC = "INVENTORYTARGET @ PERPRODLOC" calculation which has HKPER @ PER1 as input :
This is required as to get result at the last month for the respective quarters. As I read from some help documents it helps force the join between original dataset and numbers at last period. Hence effectively having those records with last months of respective quarters.
Hope this will help.
Thank you
Satish Waghmare