OEE Report: KPI formulas and aggregation rules?

Hello,
is there documentation about the formulas and aggregation rules used in the OEE Report? Customers will only trust the KPIs in this report if they can verify them.
Formulas & Aggregation
How are the KPIs calculated?
How are the KPIs aggregated, if a work center or resource type is selected instead of a single resource?
Data & Variables
Which data is used? Where do the variables used in the formulas come from? E.g. which tables and columns or which SQL SELECT statements are used?
There is just very little information about the OEE Report in the online help or in the "SAP ME for Discrete Industries" document. And the MII "OEE Report Action", where obviously all the magic happens, is a black box.
Best Regards,
Martin

Hi Daniele,
Is Saichand correct in assuming that you have SUM setup in the BMM layer? If so, follow Saichand's recommendation.
If you are specifying the aggregation in the Answer Request itself, then try this.
Let's say this is your situation:
SELECT DIMENSION, MEASURE_1
FROM CRITERIA1
UNION ALL
SELECT DIMENSION, MEASURE_2
FROM CRITERIA2
UNION ALL
SELECT DIMENSION, MEASURE_3
FROM CRITERIA3
UNION ALL
SELECT DIMENSION, MEASURE_4
FROM CRITERIA4
Change it to this:
SELECT 'CRITERIA1' CRITERIA, DIMENSION, MEASURE_1 MEASURE
FROM CRITERIA1
UNION ALL
SELECT 'CRITERIA2' CRITERIA, DIMENSION, MEASURE_2 MEASURE
FROM CRITERIA2
UNION ALL
SELECT 'CRITERIA3' CRITERIA, DIMENSION, MEASURE_3 MEASURE
FROM CRITERIA3
UNION ALL
SELECT 'CRITERIA4' CRITERIA, DIMENSION, MEASURE_4 MEASURE
FROM CRITERIA4
Then in the combined criteria, add two new measures:
new_measnure1 = SUM(CASE WHEN CRITERIA in ('CRITIERA1','CRITIERA1') then MEASURE END
new_measnure2 = AVG(CASE WHEN CRITERIA in ('CRITIERA3','CRITIERA4') then MEASURE END
NOTE: The syntax for the new_measure* may need to reference the saw naming convention, ie. saw0 = CRITIERIA, saw1 = DIMENSION, saw2 = MEASURE.
That should work out for you.
Good luck and let me know if this helps.
-Joe

Similar Messages

  • Answers and Aggregation rules not working

    Hi everyone!
    I have this problem: in my repository I set "none" in the aggregation rule for a field... but if I try to make aggregations in the answer (with the dropdown list in "Edit formula") they don't work at all, I always get the same result even if I change from default to sum to average to count...
    Is it a bug? Does anyone have any workaround?
    P.S.: if I use the function sum(...) in the formula it works... but I'd like to use the aggregation rule's combo box!
    Thanks so and.. have an happy new year!
    DrPlexi

    The aggreagation in answers is for the summary of the results ( that is when you use ∑)

  • Difference between aggregation rule and column formula in edit formula

    Anybody please help what is the use of aggregation rule and column formula in edit column option.
    What is the difference if I apply sum in aggregation rule with apply sum(column name) in column formula.
    When do I need use which one.
    Thanks in advance

    When you build a column in the rpd, you have the option of determining if the column should be aggregated in some way or not. For dimension columns, you wouldn't put aggregation. For say, an accoun ledger balance column, you might put the aggregation SUM or AVERAGE. Whatever aggregation you put on this column will be the "default" aggregation of the column in Answers.
    So in Answerrs, if you use the Account Ledger Balance column and you only have Region as the dimension, OBIEE will aggregate or SUM the ledger balances so you have a SUM for the region level. If you had district, than the ledger balance column will aggregate to the district level. This is a convenient way to build reports without having to specify what the aggregation should be.
    However, OBIEE gives you the ability to override what the default aggregation is for a particular column. This is the purpose of the drop down in the bottom left of a column when you click the fx button.
    Say the default aggregation of ledger balance is SUM in the rpd, but for the report you are building, you want the average, you can apply the AVERAGE function in the fx window and it will overridge the SUM aggregation rule that was in the rpd.
    Got it?

  • The reasoning behind aggregation rules at report level

    Hello guys
    I notice that in the answer criteria, we can define column formula of each columns in the request, but we can also set aggregation rules for the numeric columns..
    I'd like to have a deeper understanding on how these settings work..
    The Avg, Max, Min, Count are pretty clear and self-explanatory to me.
    My main question is the difference between 'default', 'Server determined', 'complex server aggregate', and 'Sum'.
    In a lot of the measure columns when the aggregate rule is 'default', when I do subtotaling in report views, I would actually get the right total amount by dimension columns, however there are also places in the report where the sub total is off, so I have to go and set the aggregate rule of that measure to 'Sum' then the total becomes correct 100%. When I try 'server determined', 'complex server aggregate', some measures change and some don't, but this is not in a pattern of change that I can understand the concept behind. The OBIEE documents said very little about this part
    So is there more detailed information out there that explains more about what these options are doing?
    Thanks in advance

    Hi Shruthi,
    To be clear you have one table 'DIM_LF_B' and its separated out as FACT and DIM in BMM layer with respective formulas ? If yes check this http://www.varanasisaichand.com/2012/04/fact-and-dimension-from-single-source.html
    let me know if it is different
    Thanks,
    Saichand

  • Edit formula Aggregation rule?

    What is the aggregation rule meant in formula tab?
    What happen if I give aggregation rule in formula tab?
    Will the aggregation rule in formula tab overwrite the predefined aggregation rule in UI/Repository?
    If I want to change the aggregation rule only to the grand total where to specify?
    Can I give two different aggregation rules each one for values and grand total respectively?
    If I give aggregation rule “Default” in Formula tab what will happen?
    If I give aggregation rule “None” in Formula tab what will happen?

    Check the below link, the same can also get from Help link in Answers
    All the aggregation functions are top of what you defined in the RPD, Aggregation rules in Answers will not override RPD aggregation rules, since RPD is base for Answers
    http://docs.oracle.com/cd/E12096_01/books/AnyUser/formulaeditor.html#wp1096420

  • Aggregation rules and pivot tables

    I have 3 measures in a pivot table out which 2 have aggregation rule set to SUM. The third measure has aggregation rule set to NONE.
    Although the third measure is a number I do not wish to show a grand total as it is the value in local currency and hence not additive as different regions have different currencies.
    However the Pivot table does not display the values of the third measure if the aggregation rule is set to NONE. The cells are blank.
    Is this expected behavior ? Can I over-ride this behavior ?
    Thanks

    What I have is a measure, value of inventory in local currencies. It is not additive because in the context of the report that I am working.
    I cannot move it to a dimension. One option I have is to move it to the rows section. But that messes up the format that is expected by the client.
    Any other ideas ?

  • Report with non aggregated and aggregated columns from different facts.

    Hi,
    We have got requirement as follows,
    1) We have two dimension tables, and two fact(Fact1 and Fact2) table in physical.
    2) In BMM we have made hierarchies for both dimensions, and are joins both logical fact table.
    3)In fact1, we are having three measures of which we have made two as aggregation sum, and one is non aggregated(It contains character).
    4)Fact2 have two measures, both are aggregation as sum.
    5)Now here the problem arises, we want to make a report with some columns from dim and non aggrgated column from fact1 and and aggregated column fact2
    How to resolve the above issue.
    Regards,
    Ankit

    As suggested you really want to move your none-aggregated fact attributes to a logical dimension (using the same physical table as the logical fact). Map this in the BMM layer as a snowflake, Place a hierarchy on this dimension with (at minimum) Total -> Detail levels, then on the other fact table you want to include in the report, set the content level on your other fact measures to the 'Total' level for your new logical Dim and it will allow them to be present in the same report.

  • Error opening a Manage Report template with Formulas and Summation

    Hi Expert,
    My j2ee web application is setup is such a way that when there is NO connectivity to the Crystal Report Server XI, it will use the Crystal Report for Eclipse functionality and opening report templates located in the relative path - This works fine.
    But when there is a connectivity to the CMS Server, I have this error when opening a manage report in Crystal Report Server XI that contains formulas and summations. But for other reports like chart and listings no problem.
    This code triggers the error:
    ReportClientDocument clientDoc = reportAppFactory.openDocument(infoObject,0, java.util.Locale.US);
    I found out there's a conflict between CR libraries  for Eclipse and libraries for RAS Enterprise Server XI.
    How can I solve this issue so that I can support the two scenarios - with or without CMS connectivity, I can still view reports.
    Error Stack Trace:
    com.crystaldecisions.sdk.occa.managedreports.ras.internal.a: Cannot open report document. - Unable to connect to the server: gdcextrp.RAS.rptappserver. cause:com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Unable to connect to the server: gdcextrp.RAS.rptappserver.-- Error code:-2147467259 Error code name:failed detail:Cannot open report document. - Unable to connect to the server: gdcextrp.RAS.rptappserver. The exception originally thrown was com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Unable to connect to the server: gdcextrp.RAS.rptappserver.-- Error code:-2147467259 Error code name:failed at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.a(Unknown Source) at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.a(Unknown Source) at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.openDocument(Unknown Source) at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.openDocument(Unknown Source)
    Hoping for your answers.
    Regards,
    Rulix Batistil

    You must isolate the CR4E and RAS SDK jars using separate classloaders - simplest is have separate apps, if rolling your own class loaders is out of project scope.
    They do not work together.
    Sincerely,
    Ted Ueda

  • Formula's and Calculation rules in Pricing.

    Hi All,
    Could anyone who is familiar with pricing please let me know if there is a mapping between the routines(Requirements/Formulas) that we have on the R/3 system and the CRM system, Requirements and Formulas.
    We are trying to replicate the pricing procedures in the CRM 2007 system, but we are having a problem in replicating the formulas and requirements. Kindly help us, useful answers will be suitably rewarded.
    Regards,
    Thiru

    Hi Das,
    Schema is is set of rules means when ever you run the pay roll driver for eg: US driver RPCALCU0, in selection screen you have to mention the pay roll driver for US u000 in schema field.
    when ever run the driver the set of rules executed and according the rules payroll is calculated.
    OR
    Each country payroll version supported by SAP has a program called the "payroll driver" that calculates payrolls. For example, in the U.S., the payroll driver is RPCALCU0, in Mexico it is HMXCALC0, and in Canada RPCALCK0. Each one is different, but they share a common core of functionality. The job of the payroll driver is to process payroll functions as specified in a payroll schema. These payroll functions each perform a specific job, for example - reading data from infotypes, calculating taxes, and processing wage types. Some functions process payroll rules. Rules are a collection of payroll operations. Each operation does a small unit of work, such as multiplying a wage typeu2019s number by a rate to get an amount.
    Schemas are edited with transaction PE01
    Schema rules PE02
    Functions and operations are maintained with transaction PE04.
    If anything require let me know
    Regards
    Sudheer

  • How can I cut and paste my formulas and running totals to another report?

    Post Author: RobotSlave
    CA Forum: Formula
    is this possible or do I have to just waste a bunch of my time?

    Post Author: kcheeb
    CA Forum: Formula
    To the best of my knowledge, unless the datasource and the field names are the same in both reports, you'll have to change them in the second report.
    Cut and paste takes the text as is and does not do any intelligent updates based on the datasourec & field names.

  • Use of filters and aggregations based on hierarchy nodes in an update rule

    Hello,
    I need to calculate some indicators from a ODS (BW 3.5) that contain raw data to another one that will contain indicators. These figures are the results of the use of filters and aggregations based on hierarchy nodes (for example: all sales accounts under a node).
    In fact, this is typically a query but I want to store these figures, so I need
    I understood I have to use a start routine. I never did that before.
    Could you provide me with easy-to-understand-for-newbies examples of:
    - filtering data based on the value of an infoobject (value must be empty, for example)
    - filtering and aggregation of data based on the appartenance to hierarchy nodes (all sales figures, ....)
    - aggregation of the key figures based on different characteristics after filtering of these
    Well, I am asking a lot ...
    Thank you very much
    Thomas

    Please go through the following link to learn more on aggregates:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e55aaca6-0301-0010-928e-af44060bda32
    Also go through the very detailed documentation:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/67efb9bb-0601-0010-f7a2-b582e94bcf8a
    Regards,
    Mahesh

  • How to set Grand Total of a Measure when its aggregation rule is Max in Logical Layer

    Hi
    I have a Measure Column (Budget) and in Logical layer the aggregation rule is set as (Max) which looks like Max(Budget). But now it is included in the report and when my client is trying to see its grand total, it is giving the Max Budget figure of the report rather than giving the total sum(grand total).
    Kindly share some ideas in achieving the grand total without disturbing the actual aggregation of the measure.

    Thank You for your reply.
    In my case i don't have a problem with aggregation for Budget Measure(max(Fact_XXKC_SHIP_TO_BUDGET_CAT_F.SALESREP_BUDGET_YTD)). This is the aggregation rule applied on the Salesrep Budget YTD.
    Now i created a report with columns
    Salesrepresntative(Dimension),, Sales Invoices(Measure1),, SALESREP_BUDGET_YTD(Measure 2).
    In the above report the values are perfect, but when we used Grand total option at ROW level in table view, the grand total of Measure1 is cumulative of all the rows, but the Grand total of SALESREP_BUDGET_YTD (measure2) is the max of all the columns.
    What i require is the Grand total of SALESREP_BUDGET_YTD (measure 2) should be cumulative of all the columns.
    I have shared my SQL query, kindly verify it and share any idea.
    select sum(case when T97600.W_XACT_TYPE_CODE = 'Chargeback' then T93664.NET_AMT * T93664.GLOBAL1_EXCHANGE_RATE end ) as c1,
      sum(case when T97600.W_XACT_TYPE_CODE = 'Credit Memo' then T93664.NET_AMT * T93664.GLOBAL1_EXCHANGE_RATE end ) as c2,
      sum(case when T97600.W_XACT_TYPE_CODE = 'Debit Memo' then T93664.NET_AMT * T93664.GLOBAL1_EXCHANGE_RATE end ) as c3,
      sum(case when T97600.W_XACT_TYPE_CODE = 'Standard Invoice' then T93664.NET_AMT * T93664.GLOBAL1_EXCHANGE_RATE when T97600.W_XACT_TYPE_CODE = 'Invoice Cancellation' then T93664.NET_AMT * -1 * T93664.GLOBAL1_EXCHANGE_RATE end ) as c4,
      T315597.XXKC_RESOURCE_NAME as c5
      from
      W_CUSTOMER_LOC_USE_D T315597 /* Dim_W_CUSTOMER_LOC_USE_D_Status */ ,
      W_SALES_INVOICE_LINE_F T93664 /* Fact_W_SALES_INVOICE_LINE_F */ ,
      W_XACT_TYPE_D T97600 /* Dim_W_XACT_TYPE_D_Sales_Ivclns */
      where ( T93664.XACT_TYPE_WID = T97600.ROW_WID and T93664.DELETE_FLG = 'N' and T93664.XX_SHIP_TO_LOC_USE_WID = T315597.ROW_WID )
      group by T315597.XXKC_RESOURCE_NAME
      ) D1 full outer join (select max(T313184.SALESREP_BUDGET_YTD) as c1,
      T315597.XXKC_RESOURCE_NAME as c2
      from
      W_CUSTOMER_LOC_USE_D T315597 /* Dim_W_CUSTOMER_LOC_USE_D_Status */ ,
      XXKC_SHIP_TO_BUDGET_CAT_F T313184 /* Fact_XXKC_SHIP_TO_BUDGET_CAT_F */
      where ( T313184.SITE_USE_WID = T315597.ROW_WID )
      group by T315597.XXKC_RESOURCE_NAME

  • How to define an aggregation rule for a dimension based on bridge table?

    Hello,
    I need a solution for aggregating data correctly when using a dimension based on a set of dimensione tables containing a bridge table. Please find below a description of my business case and the OBIEE model which I’ve created thus far.
    Business Case
    The company involved wants to report on the number of support cases, the different types of actions that were taken and the people involved in those actions. One support case will undergo a number of actions (called ‘handelingen’) until it is closed. For each action at least one person is involved performing a specific role, but there can also be multiple persons involved with 1 action, each performing a different role for that action. This is the N : N part of the model.
    The problem that I face is visible in the two pictures below:
    http://i84.photobucket.com/albums/k24/The_Dutchman_2006/OBIEE/sample.png
    As long as I don’t include anything from the Dimension Meelezer in my report, I get the correct number of handelingen (7). When I include the person (called ‘Meelezer’), the measuere per action is multiplied by the number of persons/roles involved with that action.
    When I changed the Aggregation rule in the report column #Handelingen to ‘Server Complex Aggregate’ I do get the correct endtotal:
    http://i84.photobucket.com/albums/k24/The_Dutchman_2006/OBIEE/sample2.png
    I believe it should be possible to define in the repository a different aggregation rule for individual dimensions, but I’ve not been able to achieve this.
    Explained below is what I have created in my Physical and Business Model & Mapping layers:
    The Physical Model is built like this:
    (This is just a small part of a much larger physical model, but I’ve only included the most relevant tables)
    http://i84.photobucket.com/albums/k24/The_Dutchman_2006/OBIEE/PhysicalDiagram-1.png
    The Fact table (ALS Feit Zaakverloop) contains FK’s for the action (FK_HANDELING, joined to ALS Dim Handeling), the date the action took place (FK_DATUM_ZAAKVERLOOP, joined to ALS Dim Datum Zaakverloop) and the uniqe group of people involved (FK_MEELEZERS, joined to ALS Groep Meelezers) and a measure column (SUM_HANDELINGEN) populated with the value ‘1’ for each row.
    The Bridge table (ALS Brug Meelezer/Reden Meelezen) contains three FK’s: FK_GR_MEELEZERS (joined to ALS Groep Meelezers), FK_MEELEZER (joined to ALS Dim Functionaris) and FK_REDEN_MEELEZEN (joined to ALS Dim Reden Meelezen).
    The Business Model
    In the business model, the four physical tables for the N:N relation have been combined into one logical dimension table.
    http://i84.photobucket.com/albums/k24/The_Dutchman_2006/OBIEE/BusinessModel-1.png
    DIM Meelezer contains one LTS in which the four physical tables have been combined:
    http://i84.photobucket.com/albums/k24/The_Dutchman_2006/OBIEE/LTS1.png
    And all the required locical columns have been created:
    http://i84.photobucket.com/albums/k24/The_Dutchman_2006/OBIEE/LTS2.png
    DIM Meelezer has also been identified as a bridge table and a Business Key has been defined on a combination of the FK’s in the bridge table and business codes of the two dimension tables.
    http://i84.photobucket.com/albums/k24/The_Dutchman_2006/OBIEE/BMDIM.png
    Next a hierachy was created for Dim Meelezer:
    http://i84.photobucket.com/albums/k24/The_Dutchman_2006/OBIEE/Hier.png
    In Feit Zaakverloop, a measurement called ‘# Handelingen’ was created using SUM_HANDELINGEN, with an aggregation rule of SUM.
    In the LTS of both the DIM Meelezer and Feit Zaakverloop, the Logical Content Levels have both been set to: LVL Detail – Meelezer.
    Please provide suggestions that will NOT require changes to the physical datamodel as they would require too much time to achieve (or at leats would not be ready before my deadline.
    Thanks!
    Edited by: The_Dutchman on Dec 13, 2011 11:43 AM

    Hmm, no replies yet...
    Am I in 'uncharted territory' with this issue?

  • Direct Database Request Aggregation Rule

    How can I do aggregations on a report created with a direct database request? While I can set the default aggregation rule in the fx formula, the aggregate E sign does not appear in the table view. How do I actually get to do a summation of the column?
    Thanks,
    Dinesh.

    I guess I celebrated too soon. Now I lost the ability to display Columns & Table headings as separate rows. How can I accomplish the grouping of different columns under headings the way I accomplished with 'Columns & Table headings' as separate rows?
    Thanks,
    Dinesh.

  • Different Aggregation rule while aggregating

    Hi Folks
    in OBIEE 10.1.3.4.1 and BI Apps 7.9.6, using answers, i developed a report which has Organization division dimension and active headcounts as fact. while the report is created, the default aggregation( Server determined) rule that the server is using gives wrong results i.e. the grand total of the active Headcounts results to 9603 where as when i explicitly give "sum" as aggregation rule, i get the summation of the headcounts in the active headcount column which results in 25000. i checked this physical queries and couldnt get a clear understanding of the physical db queries. there is an aggregation rule on the Active headcount in the rpd which is like this
    :- LAST(Core."Fact - HR - Operation (Workforce)"."Active Headcount") with time dimension
    :- SUM(Core."Fact - HR - Operation (Workforce)"."Active Headcount") with any other dimension
    and there is a case statement in expression builder like this:
    CASE WHEN "Oracle Data Warehouse"."Catalog"."dbo"."Dim_W_EMPLOYMENT_D"."W_EMPLOYMENT_STAT_CODE" = 'A' THEN "Oracle Data Warehouse"."Catalog"."dbo"."Fact_W_WRKFC_EVT_MONTH_F_Snapshot"."HEADCOUNT" ELSE 0 END
    btw, i did not create the same report with time dimension first and when i combined it with time dimension, i get the same results as before.
    here are the different queries from log:
    <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>
    With out aggregation:
    WITH
    SAWITH0 AS (select T334016.ORG_HIER13_NAME as c2,
    T334016.ORG_HIER13_NUM as c3,
    sum(case when T264890.W_EMPLOYMENT_STAT_CODE = 'A' then T535616.HEADCOUNT else 0 end ) as c4,
    T277242.PER_NAME_YEAR as c5
    from
    W_INT_ORG_DH T334016 /* Dim_W_INT_ORG_DH_Employee_Org */ ,
    W_EMPLOYMENT_D T264890 /* Dim_W_EMPLOYMENT_D */ ,
    W_YEAR_D T277242 /* Dim_W_YEAR_D */ ,
    W_WRKFC_EVT_MONTH_F T535616 /* Fact_W_WRKFC_EVT_MONTH_F_Snapshot */
    where ( T264890.ROW_WID = T535616.EMPLOYMENT_WID and T277242.ROW_WID = T535616.EVENT_YEAR_WID and T334016.ORG_WID = T535616.HR_ORG_WID and T535616.SNAPSHOT_IND = 1 and T535616.DELETE_FLG <> 'Y' and T277242.CAL_YEAR_START_DT >= TO_DATE('2004-01-01 00:00:00' , 'YYYY-MM-DD HH24:MI:SS') and (T535616.SNAPSHOT_MONTH_END_IND in (1) or T535616.EFFECTIVE_END_DATE >= TO_DATE('2009-10-12' , 'YYYY-MM-DD')) and (T535616.LAST_MONTH_IN_YEAR_IND in (1) or T535616.EFFECTIVE_END_DATE >= TO_DATE('2009-10-12' , 'YYYY-MM-DD')) and (T334016.ROW_WID in (0) or T334016.HR_ORG_FLG in ('Y')) and (T334016.ROW_WID in (0) or T334016.W_HIERARCHY_CLASS in ('HR-ORG')) and (T334016.ROW_WID in (0) or T334016.CURRENT_VER_HIER_FLG in ('Y')) and T535616.EFFECTIVE_START_DATE <= TO_DATE('2009-10-12' , 'YYYY-MM-DD') )
    group by T277242.PER_NAME_YEAR, T334016.ORG_HIER13_NUM, T334016.ORG_HIER13_NAME)
    select distinct SAWITH0.c2 as c1,
    LAST_VALUE(SAWITH0.c4 IGNORE NULLS) OVER (PARTITION BY SAWITH0.c3 ORDER BY SAWITH0.c3 NULLS FIRST, SAWITH0.c5 NULLS FIRST ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) as c2,
    SAWITH0.c3 as c3
    from
    SAWITH0
    order by c1
    <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<With aggregation:
    -------------------- Sending query to database named Oracle Data Warehouse (id: <<8194579>>):
    WITH
    SAWITH0 AS (select T334016.ORG_HIER13_NAME as c2,
    T334016.ORG_HIER13_NUM as c3,
    sum(case when T264890.W_EMPLOYMENT_STAT_CODE = 'A' then T535616.HEADCOUNT else 0 end ) as c4,
    T277242.PER_NAME_YEAR as c5
    from
    W_INT_ORG_DH T334016 /* Dim_W_INT_ORG_DH_Employee_Org */ ,
    W_EMPLOYMENT_D T264890 /* Dim_W_EMPLOYMENT_D */ ,
    W_YEAR_D T277242 /* Dim_W_YEAR_D */ ,
    W_WRKFC_EVT_MONTH_F T535616 /* Fact_W_WRKFC_EVT_MONTH_F_Snapshot */
    where ( T264890.ROW_WID = T535616.EMPLOYMENT_WID and T277242.ROW_WID = T535616.EVENT_YEAR_WID and T334016.ORG_WID = T535616.HR_ORG_WID and T535616.SNAPSHOT_IND = 1 and T535616.DELETE_FLG <> 'Y' and T277242.CAL_YEAR_START_DT >= TO_DATE('2004-01-01 00:00:00' , 'YYYY-MM-DD HH24:MI:SS') and (T535616.SNAPSHOT_MONTH_END_IND in (1) or T535616.EFFECTIVE_END_DATE >= TO_DATE('2009-10-12' , 'YYYY-MM-DD')) and (T535616.LAST_MONTH_IN_YEAR_IND in (1) or T535616.EFFECTIVE_END_DATE >= TO_DATE('2009-10-12' , 'YYYY-MM-DD')) and (T334016.ROW_WID in (0) or T334016.HR_ORG_FLG in ('Y')) and (T334016.ROW_WID in (0) or T334016.W_HIERARCHY_CLASS in ('HR-ORG')) and (T334016.ROW_WID in (0) or T334016.CURRENT_VER_HIER_FLG in ('Y')) and T535616.EFFECTIVE_START_DATE <= TO_DATE('2009-10-12' , 'YYYY-MM-DD') )
    group by T277242.PER_NAME_YEAR, T334016.ORG_HIER13_NUM, T334016.ORG_HIER13_NAME),
    SAWITH1 AS (select D1.c1 as c1,
    D1.c2 as c2,
    D1.c3 as c3
    from
    (select LAST_VALUE(SAWITH0.c4 IGNORE NULLS) OVER (PARTITION BY SAWITH0.c3 ORDER BY SAWITH0.c3 NULLS FIRST, SAWITH0.c5 NULLS FIRST ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) as c1,
    SAWITH0.c2 as c2,
    SAWITH0.c3 as c3,
    ROW_NUMBER() OVER (PARTITION BY SAWITH0.c3 ORDER BY SAWITH0.c3 ASC) as c4
    from
    SAWITH0
    ) D1
    where ( D1.c4 = 1 ) ),
    SAWITH2 AS (select sum(case when T264890.W_EMPLOYMENT_STAT_CODE = 'A' then T535616.HEADCOUNT else 0 end ) as c2,
    T277242.PER_NAME_YEAR as c3
    from
    W_EMPLOYMENT_D T264890 /* Dim_W_EMPLOYMENT_D */ ,
    W_YEAR_D T277242 /* Dim_W_YEAR_D */ ,
    W_WRKFC_EVT_MONTH_F T535616 /* Fact_W_WRKFC_EVT_MONTH_F_Snapshot */
    where ( T264890.ROW_WID = T535616.EMPLOYMENT_WID and T277242.ROW_WID = T535616.EVENT_YEAR_WID and T535616.SNAPSHOT_IND = 1 and T535616.DELETE_FLG <> 'Y' and T277242.CAL_YEAR_START_DT >= TO_DATE('2004-01-01 00:00:00' , 'YYYY-MM-DD HH24:MI:SS') and (T535616.SNAPSHOT_MONTH_END_IND in (1) or T535616.EFFECTIVE_END_DATE >= TO_DATE('2009-10-12' , 'YYYY-MM-DD')) and (T535616.LAST_MONTH_IN_YEAR_IND in (1) or T535616.EFFECTIVE_END_DATE >= TO_DATE('2009-10-12' , 'YYYY-MM-DD')) and T535616.EFFECTIVE_START_DATE <= TO_DATE('2009-10-12' , 'YYYY-MM-DD') )
    group by T277242.PER_NAME_YEAR),
    SAWITH3 AS (select distinct LAST_VALUE(SAWITH2.c2 IGNORE NULLS) OVER ( ORDER BY SAWITH2.c3 NULLS FIRST ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) as c1
    from
    SAWITH2)
    select SAWITH1.c2 as c1,
    SAWITH1.c1 as c2,
    SAWITH1.c3 as c4,
    SAWITH3.c1 as c5
    from
    SAWITH1,
    SAWITH3
    Thank you in advance
    kumr

    Passing parameters from one report to another. If you go to Column Properties you will find 2 main types of Drills. One is a default drill which comes from the repository. The other is a navigation drill wherein you can specify a target report. So basically when you click on the column of your report that will navigate to another report and will also pass the parameter(value clicked) and will filter the target report. I am not sure which version of OBI EE you are on?
    Thanks,
    Venkat
    http://oraclebizint.wordpress.com

Maybe you are looking for