Se ha denunciado esta presentación.
Utilizamos tu perfil de LinkedIn y tus datos de actividad para personalizar los anuncios y mostrarte publicidad más relevante. Puedes cambiar tus preferencias de publicidad en cualquier momento.

Oracle BI (OBIEE) how to top10 + the rest

1.446 visualizaciones

Publicado el

A nice feature that Oracle BI (OBIEE or BICS) can do for 1 you is create a top list on any measure or fact by any dimension.

This document is valid for OBIEE versions 10g, 11g and 12c and Oracle BICS.

Now: I want a top 10 of best performing products by their revenue, plus the rest.

This is a challenge by itself to accomplish as you will run into all sorts of complications, such as that "the rest" will then most likely be number 1 in your top 10....

Publicado en: Software
  • Sé el primero en comentar

Oracle BI (OBIEE) how to top10 + the rest

  1. 1. Oracle BI - How to: Top10 + The rest Date: 10-10-2016 Author: Rick Brobbel Last Edited: Rick Brobbel Cadran Consultancy b.v. Project: Oracle BI EE Subject: Oracle BI - How to: Top10 + The rest Version: v12
  2. 2.  Cadran Consultancy b.v. Author : Rick Brobbel Date printed : 24-10-16 Project : Oracle BI EE Page : 2 of 5 Subject : Oracle BI - How to: Top10 + The rest Date : 24-10-16 Oracle BI - How to: Top10 + The rest A nice feature that Oracle BI (OBIEE or BICS) can do for you is create a top list on any1 measure or fact by any dimension.2 This document is valid for OBIEE versions 10g, 11g and 12c.3 4 Now: I want a top 10 of best performing products by their revenue, plus the rest.5 This is a challenge by itself to accomplish as you will run into all sorts of complications, such6 as that "the rest" will then most likely be number 1 in your top 10....7 8 9 10 Here is how you can achieve this.11 Step Content Results Create a new analytics and choose the following columns:  Product  Revenue
  3. 3.  Cadran Consultancy b.v. Author : Rick Brobbel Date printed : 24-10-16 Project : Oracle BI EE Page : 3 of 5 Subject : Oracle BI - How to: Top10 + The rest Date : 24-10-16 Step Content Results Add a column ranking the Revenue and set the ordering sequence on that column RANK("Base Facts"."1- Revenue") Add the column Product again and put the following formula in it CASE WHEN RANK("Base Facts"."1- Revenue") > 10 THEN 'Others' ELSE "Products"."P1 Product" END Now edit the content of Revenue and put the following formula in it SUM("Base Facts"."1- Revenue" BY CASE WHEN RANK("Base Facts"."1- Revenue") > 10 THEN 'Others' ELSE "Products"."P1 Product" END)
  4. 4.  Cadran Consultancy b.v. Author : Rick Brobbel Date printed : 24-10-16 Project : Oracle BI EE Page : 4 of 5 Subject : Oracle BI - How to: Top10 + The rest Date : 24-10-16 Step Content Results Now apply a filter on the column Rank < 12 Now suppress the original Product 1 And you are set.2 The hidden column Product is still needed to act as the dimension against the Revenue and3 the Rank of the Revenue.4 The added column Product is used to create the product group Others.5 The special Sum on the Revenue calculates the rest perfectly well.6 The filter on the column Rank ensures the top 10 + the rest.7 8 Now add any sexy visualisation that clearly shows each products' and the rests' contribution to the9 total revenue.10
  5. 5.  Cadran Consultancy b.v. Author : Rick Brobbel Date printed : 24-10-16 Project : Oracle BI EE Page : 5 of 5 Subject : Oracle BI - How to: Top10 + The rest Date : 24-10-16 1 2 Don't tell this to anybody, but you are actually not using functionality that Oracle BI has to offer, but what SQL-statements can pull out of a database nowadays. 3 The formulas in the columns look rather complex, but they were simply compiled by selecting the column Rank, when editing the formula: 4 5

×