Oracle Analytics Cloud and Server

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

Filter by total

Received Response
21
Views
4
Comments
Joe Choueiri-Oracle
Joe Choueiri-Oracle Rank 5 - Community Champion

Hi

I have a report showing only deals for product A over 50k so the report looks like this

Product A          2016

Cloud                55000

The minute I drill to the product so now I have product A and B

Product A             Product B      2016

Cloud                    Cloud 1        25000

                             Cloud 2        30000

Total                                        55000

Since the filter is only to show over 50000 the in scenario 2 this record will disappear unless I can filter by Total.

Any idea on how I can filter by total.

Answers

  • Hi,

    The simplest way is to use your hierarchy ...

    As you can drill down from Product A to Product B it means you have an hierarchy defined.

    So instead of adding a filter on the "deal amount" add the filter on the "deal amount" aggregated at the "Product A" level. With that kind of filter you will be able to drill down to the levels underneath "Product A" without losing the rows because of the filter.

    Capture.PNG

    Here you see the same kind of example, I left the "AGGREGATE("Base Facts"."2- Billed Quantity" AT "Products"."Products Hierarchy"."Brand")" on the screen just for the example to highlight why the rows doesn't disappear, but this column can also not exist and you just add the formula in the filter itself.

    So I added a filter on "Billed Quantity" > 40'000, and without the AGGREGATE AT I would lose the "BizTech" row when drilling down from Brand to LOB because both rows are < 40'000. By using the AGGREGATE AT as filter the rows stays on screen because the condition is always evaluated at the Brand level and this allow me to drill down to the 4 levels of the hierarchy and explore the details.

  • [Deleted User]
    [Deleted User] Rank 2 - Community Beginner

    Addition to Gianni: What you'd be actually with that is creating a level-based measure for your fact. Basically a "Billed Quantity at Brand level". Works similar in all respects to level-based measures like "Revenue Year Total" which always aggregates at year level and allows comparison of other attribute/fact combinations agianst a level-based measure like "How much Revenue per Region did we make - in percent - compared to the year total of all regions?"

    OBIEE 10G/11G - Level-Based Measure Calculations [Gerardnico]

  • Joe Choueiri-Oracle
    Joe Choueiri-Oracle Rank 5 - Community Champion

    Thank you so much @Gianni Ceresa

  • Joe Choueiri-Oracle
    Joe Choueiri-Oracle Rank 5 - Community Champion

    Thank you Christian