Dear Team ,
We have requirements to design P&L Report on top of OBIA with customized layout by business team. I am attaching the layout for your reference.

We are using P&L group accounts dimension and GL Balance/Budget Facts for the same. As per the layout we need to have some custom calculations on top of group accounts to satisfy the layout, For example we need to calculate Product Margin which is Sales + COGS.
Further Group Account names are sorted by a custom key column in repository.
We have tried using selection stesps (creating calculated fields/Groups) in pivot table layout which return correct data as per the expectations. However we are not able to sort calculated fields in selection steps to form desired layout. Further ordering in selection steps seems to be a limitation in OBIEE as per MOS note Doc ID 2040416.1
Please suggest how we can achieve this layout. We are okay to made changes in repository or warehouse for the same.
Regards
Ali Mostafa