Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

Pivot table subtotal custom calculations

Received Response
21
Views
15
Comments
2»

Answers

  • Rank 6 - Analytics Lead

    That's fine. I am waiting for an update from the OP.

  • Rank 6 - Analytics Lead

    Forum_Custom_GroupLevel_Calculation.PNG

    With a change to the view, that is, instead of a Pivot - a table view, I could achieve as per a screen dump above.

    Group Output = (Sum(Revenue for Year) * Sum(Billed Quantity for Year)) / Sum(Revenue for Year)

    Row Output = (Revenue * Billed Quantity) / Sum(Billed Quantity for Year)

    A Static Text view explains what the Group Output column values mean. I would try my best to convince the user that due to limitations this could be an option. The values are displayed on the last row per year (similar to 'After' functionality). They could be displayed on the first row (similar to 'Before' functionality).

    Edit: Second column has Order Status to check that the group level calculation changes as per the varying row counts per Year values.

  • Rank 6 - Analytics Lead

    OBIEE_Forum_Custom_GroupLevel_Calculations.PNG

    Here is a Pivot Table view albiet with a bit different layout. Associated Table view is for verifying the Pivot Table view output.

    Hope this helps.

  • Rank 6 - Analytics Lead

    Hello,

    Recentlety, I could deal with something like thease in wich SUBTOTAL has a particular calculation, OBIEE make the SUBTOTAL or Total Based on the "Aggretation Rule" that you are using, however, return to your question,what I did it was to create an UNION reports and with the second one I created the SUBTOTAL ROWS that we have to use, lets order by your Column and apply the format that you have to use.

    Kind Regards.

  • Rank 6 - Analytics Lead

    Hi,

    Right now it's Friday evening so not in front of a computer. But I can fairly guess what you are trying to say.

    However, as previously mentioned by Thomas Dodds, those two are different measurements as the calculations are different. Personally, I would keep them separated so that it's less confusing to the users.

    Have a great weekend.

    Regards,

    Manoj.

Welcome!

It looks like you're new here. Sign in or register to get started.