Customize grand total in pivot view — Oracle Analytics

Oracle Analytics Cloud and Server

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

Customize grand total in pivot view

Received Response
215
Views
6
Comments
3174977
3174977 Rank 5 - Community Champion

Hi All,

I have a requirement where the grand total in pivot view should be multiplied by 40..Is it possible to achieve this kind of requirement.Any suggestions please.

Please see the below.

total.JPG

these total values need to be multiplied by 40..

Thanks !

Answers

  • Hi,

    A grand total calculated automatically by OBIEE because you enable totals on your pivot will not allow you to do that as you don't have a place where to enter a formula for it. It's calculated automatically based on the aggregation rule set and not a custom hand written formula doing * 40 .

    Capture.PNG

  • 3174977
    3174977 Rank 5 - Community Champion

    So is this not possible to achieve ? Yeah I understood that it is automatically calculated and we cannot include any formula in it.

    Thanks !

  • Joel
    Joel Rank 8 - Analytics Strategist

    The only way you'd be able to achieve this is to create a separate pivot table with the dates as hidden column headers (no rows defined) and the cells would be a copy of your measure column multiplied by 40

    You'll then need to align both pivot tables in your compound layout to give that illusion that it is a single pivot table.

  • 3174977
    3174977 Rank 5 - Community Champion

    Hi Joel,

    Can you be more clear on this approach please. Please see the below for my current pivot view. pivot.JPG

    Thanks !!

  • user11932033
    user11932033 Rank 3 - Community Apprentice

    Hi,

    There is a work around for this. Create union report will all the columns and in that 2nd union report show only totals and multiply the columns by 40. and then show that row in the last.

    and hard code the name Grand total for 2nd union query in one column.

    Hope you are clear.

    If resolve your issue then mark it as helpful.

    Regards,

    Tarang Jain

  • Manoj Dixit
    Manoj Dixit Rank 6 - Analytics Lead

    Did you consider Calculated Item?

    pastedImage_0.png

    Above, DayCustom is a ((sum for all the hours) * 2).

    custom formula for Total in pivot table