Drill Down with 2 tables

OBIEE 11g
Suppose I have 2 tables with both fact and dimensions contained.
Table A has following columns:
Category
Count1
Count2
Count3
Table B has following columns:
Category
Sub-Category
Product
SKU
Count1
Count2
Count3
I would like to create a report that uses both these tables as I will need to drill down as follows:
Category-->Sub-Category-->Product-->SKU and get the corresponding counts.
Is it better to have all these columns in only one table or can I use both the above tables and if so how.

Check these
http://docs.oracle.com/cd/E14571_01/bi.1111/e10540/dimensions.htm#i1017813
http://docs.oracle.com/cd/E05554_01/books/admintool/admintool_WorkInBM9.html#wp179033
Edited by: Srini VEERAVALLI on May 10, 2013 3:15 PM
Any updates on this?
Edited by: Srini VEERAVALLI on May 22, 2013 10:07 AM

Similar Messages

  • Drill Down With Tablix

    Hello, group -
    I'm trying to figure out how to apply a drill down report tied to a cell entry in a Tablix. Now, I don't mean something that expands to see detail, like with a '+' button, but something that brings up a new report using its own query, when the contents
    of a cell is clicked and that uses the clicked term as the criteria in the associated query.
    What I have is a Tablix that looks like this;
    Basically, it just uses a SQL query to show how many members belong to a particular doctor (PCP).
    When the report is run and the table populated, what I want to do is to allow the user to click on the contents of the PCP Name cell;
    and have SSRS run a second report that brings up a detail listing of each member's demographics; name, address, phone number, last visit, etc.
    Is this possible?
    Thanx in advance!

    Hi Adam,
    If you want to add the "Go to Report" action, and have an same field on both the main report and the subreport, you can use this field as the relationship field and create parameter based on this field on the subreport.
    For example,"@PCP_NPI" is the parameter you have created on the subreport and you have also create filter on the subreport based on this parameter, and the field "PCP_NPI" exists on both the main report and the subreport.
    If you want to add "Go to Report" action(Snapshot1 you have provided) and specify the report (sPCPMbrListDetail). You will not need to create an subreport again like in the snapshot2.
    Thank you for the post, Vicki.
    For the moment, until I get this down, I'll stick to basics and just have the main report call a subreport and not display it as part of the main report's tablix. Once I get a good handle on it, I'll explore the other option.
    I have created a parameter, @PCP_NPI, in the subreport and assigned it a default value for debugging. The subreport works fine on it's own using the default parameter value.
    I have the Tablix on the main report set to call the subreport when a PCP name is clicked, passing @PCP_NPI to it, as shown below;
    When I run the main report and click on a PCP I get an error that reads;
    "The report parameter 'PCP_NPI' is read-only and cannot be modified."
    If I remove the parameter from the subreport, I get an error that reads;
    The Value expression for the query parameter '@PCP_NPI' refers to a non-existing report parameter 'PCP_NPI.'"
    I see this error as an expected one, since the parameter is not defined in the subreport any longer.
    The problem seems to be that I am unable to modify the parameter from the main report; something is locking it, but I don't know what.
    I'm afraid I'm at a complete loss here. It seems that I'm following the instructions given, but something I'm doing is wrong.

  • How do i create a report that has drill-down with class?

    How do I create a report that has drill-down levels so that I can have summary information at the top level but then view specific records at a more detailed level?

    can i know ur email address.
    this is my other one coding
    but problem is very very slow when i 1 see my output
    TABLES: proj, coep.
    *&            TYPES DECLARATION                                        *
    *TYPES: BEGIN OF tb_coep,
             wtgbtr TYPE coep-wtgbtr,
          END OF tb_coep.
    DATA : int_proj TYPE proj OCCURS 0 WITH HEADER LINE.
    DATA : int_coep TYPE coep OCCURS 0 WITH HEADER LINE.
    DATA : gd_date(10). " FIELD TO STORE OUTPUT DATE
    TYPES : BEGIN OF t_date,
              year(4)  TYPE n,
              month(2) TYPE n,
              day(2)   TYPE n,
           END OF t_date.
    *&            SELECTION-SCREEN                                         *
    SELECTION-SCREEN BEGIN OF BLOCK b01 WITH FRAME TITLE text-001.
    SELECT-OPTIONS: so_pspnr FOR proj-pspnr OBLIGATORY.
    SELECTION-SCREEN ULINE.
    SELECTION-SCREEN END OF BLOCK b01.
    *&            TOP-OF-PAGE                                              *
    *&            fetch the data for the list                              *
    SELECT * INTO int_proj FROM proj where
             pspnr in so_pspnr.
    append int_proj.
    CLEAR int_proj.
    ENDSELECT.
    SELECT * into int_coep FROM coep WHERE
             wtgbtr in so_pspnr.
    append int_coep.
    CLEAR int_coep.
    ENDSELECT.
    LOOP at int_proj.
      write : / int_proj-pspnr, int_proj-post1.
    ENDLOOP.
    LOOP at int_coep.
      write : int_coep-wtgbtr.
    ENDLOOP.
    Edited by: Dickson on Jul 10, 2009 10:53 AM

  • Drill down with in a drill down

    CREATE TABLE [Store](
    [StoreId] [int] IDENTITY(1,1) NOT NULL,
    [LOC_Name] [varchar](50) NULL,
    CONSTRAINT [PK_Store] PRIMARY KEY CLUSTERED
    [StoreId] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    ) ON [PRIMARY]
    Insert into [dbo].[Store]
    [LOC_Name]
    select 'Virginia'
    union all
    select 'Chicago'
    union all
    select 'Dallas'
    CREATE TABLE [Employee](
    [StoreId] [int] NOT NULL,
    [Emp_NAME] [nvarchar](70) NULL,
    ) ON [PRIMARY]
    Insert into [dbo].[Employee]
    [StoreId]
    ,[Emp_NAME]
    select 1,'daniel'
    union all
    select 1,'jack'
    union all
    select 1,'roger'
    union all
    select 1,'matt'
    union all
    select 2,'sam'
    union all
    select 2,'henry'
    union all
    select 3,'eston'
    union all
    select 3,'robert'
    union all
    select 3,'nadal'
    CREATE TABLE [Customer](
    [CustomerId] [int] IDENTITY(1,1) NOT NULL,
    [StoreId] [int] NOT NULL,
    [CUST_NO] [nvarchar](11) NULL,
    [Emp_NAME] [nvarchar](70) NULL,
    CONSTRAINT [PK_Customer] PRIMARY KEY CLUSTERED
    [CustomerId] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    ) ON [PRIMARY]
    set identity_insert [CCC_STAGE].[dbo].[Customer] on
    Insert into [CCC_STAGE].[dbo].[Customer]
    [CustomerId]
    ,[StoreId]
    ,[CUST_NO]
    ,[Emp_NAME]
    select 201,1,897456,'daniel'
    union all
    select 202,1,974652,'daniel'
    union all
    select 203,1,276294,'matt'
    union all
    select 204,1,612348,'jack'
    union all
    select 205,2,187906,'henry'
    union all
    select 206,2,289123,'henry'
    union all
    select 207,2,427403,'sam'
    union all
    select 208,3,591654,'robert'
    union all
    select 209,3,904563,'robert'
    -------------- Query to retrieve In each location each employee is working on how many customers--
    select [LOC_NAME],
    B.[Emp_NAME],
    COUNT(distinct C.[CUST_NO]) TOTAL_CUSTOMERS
    FROM [CCC_STAGE].[dbo].[Store_TEST] A
    join [CCC_STAGE].[dbo].[Employee_TEST] B
    on A.StoreId=B.StoreId
    join [CCC_STAGE].[dbo].[Customer_TEST] c
    on B.StoreId=C.StoreId
    and B.[Emp_NAME]=C.[Emp_NAME]
    group by [LOC_NAME]
    ,B.[Emp_NAME]
    ORDER BY [LOC_NAME],B.[Emp_NAME]
    Hi everyone,
    Can any one help me in this
    Drill down report
    can any one help me in this
    If we click on drill down of Chicago, we should be able to see all the employees of Chicago in the same column,  like that if we click on drill down on each loc_name, we should be able to see employees related to that location under the loc_name column,
    not in the different column. when i try am getting in different column.
    How to do this in SSRS? i did this using grouping and visibility feature hidden by toggle, but am able to see employee names, but on top of them am not able to get employee as heading.
    Below I am sending the code (creating the tables/inserting the data/ and retrieving the data). please try to run the query with the data I sent. you will see the same data as it is in the below image.

    Hi ,
    You can try below Simple Steps ;
    (generate using Wizard)
    1. On Solution Explorer -> Right-click on Reports -> Select Add New Report
    2.Click on the Next Button -> Give a Data Source name and Click on the Edit Button
    3.Select Server Name -> Select "Use SQL Server Authentication" Radio Button
    4.Give User name and Password -> Select Database Name and Click on the "OK" button.
    5.Press the Next Button -> type your Sql Query -> NExt
    6.Select Tabular Option and Click on the Next Button
    7.Select [LOC_NAME],[Emp_NAME] for the Group list and the TotalEmployee is for Details -> Next
    8.Select Stepped option -> Enbale Drilldown -> NEXT-> Finish(you can use this option if only you require Drilldown option in your report else you an ignore this or simply click next.)
    9. Delete EmployeeName Column  -> Paste Emplyee Name Next to LocName As shown in Image.
    10 . Delete table1_Details_Group in Grouping Pane
    11. Type =Sum(Fields!TOTAL_CUSTOMERS.Value) for Total Customer
    12. Right Click on Emp_Name Row -> Insert Row -> Outside Group Above -> TYpe Employee
    Thanks
    Please Mark This As Answer or vote for Helpful Post if this helps you to solve your question/problem.

  • Drill down with TopN or Rank

    hi, experts,
    if there is a dimension with 2 levels, area , city
    and one fact "surface area"
    I would like to build a pie chart of 2 elements, area, surface area.
    when user click on an area on the pie chart, it drills down to city.
    However, if there are so many areas.
    the pie chart is difficult to read.
    show I would like to only show top 10 with biggest surface area, group other areas to "Others" (total 11 portions)
    How to do this ?

    For this add a prompt in the dashboard like TOP-N
    Go to SQL Results in the prompt and add the sql---
    SELECT case when 1=0 then "column name" else 10 end from "subject area name" union SELECT case when 1=0 then "column name" else 'Others' end FROM "subject area"
    In the set variable section select the presentation variable and give a name like TOP_N
    Add another column to the report and in the formula
    TOPN(Sum("surface area" by "area"),@{Top_N}{10})
    Note:I had simply given the column names as it is as i don't know the name of your tables and subject areas.
    Thanks,
    chinna.
    Edited by: chinna on Aug 13, 2010 2:02 AM

  • Drill down with manager restrict access

    Group,
    I applied a restricted view of an object (CITY) to a particular group.
    This object belongs to a table like the one below:
    TABLE X
         FIELD - COUNTRY
         FIELD - CITY
         FIELD - NEIGHBORHOOD
    The restriction that I created will not allow certain group has access to the cities.
    I Build a Web Intelligence report with field COUNTRY and enable drill down. When I login with the user group that owns the restrictions, it can drill from the view cities. When I update the report, I get an error because the user doesn´t have privilege to update some fields (CITY).
    I need to create a restriction that makes when you can not see a field, it jump to the next filel in the hierarchy from the drill down. Is it possible? eg. COUNTRY> NEIGHBORHOOD
    Thank you

    This should be achievable using Report to Report Interface (RRI) or by using the Dashboard..
    The requirement on the calculated key figure is not quite clear? If you could elaborate.. some one could help..

  • Hiding a row based on the the drill down via table interfaces

    I have a requirement to hide a particular row (key field) of a table if a characterisitic (0PLANT) is included in the table.
    I have managed to hide the key field via the table interface but need to know how I would see if the characteristic is drilled down (IE included in the table).
    Initially I used CAPTION_CELL to establish whether 0PLANT was in the report but when I then removed 0PLANT from the report, CAPTION_CELL is not reprocessed and thus the report is incorrect.
    What is the best way to establish what characteristics are included in any report.
    Any help would be appreciated.
    Cheers
    Shep.

    Hi Neal,
    why not using the service method get_state_infos.
    In e_thx_axis_info you should find all relevant information
    http://help.sap.com/saphelp_nw04/helpdata/en/32/ab3a3c24b4a00ae10000000a11402f/frameset.htm
    Heike

  • Unable to drill down with binary logical operation issues

    QSError: 10058] A general error has occurred. [nQSError: 59001] Binary logical operation is not permitted on Double operand(s) (S1000)
    Basically this comes from my drill down report. I have 2 hierarchies on one report, 3 columns --- months, state, measures..
    If I drill down from STate ----> lowest, then drill month--->lowest, things works fine; but if I start with month---> lowest, then drill state down, I will get this above error..
    I checked the column data types from DB, month is char, week is date, state is char, measure is double
    SO let me know what you think?
    Thanks

    is it helpful?
    On Paass Navigation for another report

  • Error when drill down with essbase hierarchy

    Hi ,
    I am displaying one bar chart with, one Ragged hierarchy dimension "Region" ( structure : total region - > India , US -> India south , US south -> chennai , California) and "revenue" (measure) .
    Sometime's the drill down is happening smoothly (region - > sub region - > city) but sometimes its throwing below error :
    Error Codes: OAMP2OPY:QIKSHNQU
    DXE compiler error. Coordinate in target list must match to*coordinate in group by list. Source name:*
    GroupbyAndCoorTableCompiler::run. XML: <sawxd:expr*xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"**xmlns:sawxd="com.siebel.analytics.web/expressiondxe/v1.1"**xmlns:sawq="com.siebel.analytics.web/querydxe/v1.1"**xsi:type="sawq:groupbyField" refCoorID="5"/>*
    FYI , I have a product prompt attached with this graph . i.e , when user selects "total product" and drilling down its
    working perfectly but when selects "network products" its throwing the mentioned error .
    OBIEE version used : 11.1.1.6.2 (Build 120604.0813 BP1 64-bit)
    essbase version used : 11.1.2.1
    Thanks
    sayak

    I have created one report using Essbase cubes in OBIEE11G and when I am archiving the same report at one local server and unarchiving it at some other server then at the other server I am facing this error.
    Any replies will indeed be helpful.

  • Drill Down with Union ALL in a query

    Why when i use a UNION ALL in a query or some sentences of SQL the drilldown disappears ? Does exists a special syntax ??
    A query example:
    SELECT DISTINCT CASE T0.[ObjType] WHEN '13' THEN 'Factura' WHEN '203' THEN 'F. Anticipo' END AS Documento, T0.[DocNum] AS NumDocumento, T0.[DocDate] AS Fecha, T0.[NumAtCard] AS Referencia, T2.[DocNum] AS 'Ref NC', 
    T0.[DocTotal] AS TotalMN, T0.[DocTotalFC] AS TotalME, CASE T1.[TaxCode]
    WHEN 'A2' THEN '15'
    WHEN 'A1' THEN '10'
    WHEN 'A0' THEN '0'
    END AS '%IVA', T0.[DocRate] AS TC FROM OINV T0  INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry  LEFT JOIN ORIN T2 ON T1.TrgetEntry =  T2.DocEntry
    UNION ALL
    SELECT DISTINCT CASE T0.[ObjType] WHEN '13' THEN 'Factura' WHEN '203' THEN 'F. Anticipo' END AS Documento, T0.[DocNum] AS NumDocumento, T0.[DocDate] AS Fecha, T0.[NumAtCard] AS Referencia, T2.[DocNum] AS 'Ref NC', 
    T0.[DocTotal] AS TotalMN, T0.[DocTotalFC] AS TotalME, CASE T1.[TaxCode]
    WHEN 'A2' THEN '15'
    WHEN 'A1' THEN '10'
    WHEN 'A0' THEN '0'
    END AS '%IVA', T0.[DocRate] AS TC FROM ODPI T0  INNER JOIN DPI1 T1 ON T0.DocEntry = T1.DocEntry  LEFT JOIN ORIN T2 ON T1.TrgetEntry =  T2.DocEntry

    Carlos
    When you use the Union Clause you will not get the Drill Down link button.  You may try creating a view of your Query and then Create a new Query in SAP joining the View and the SAP table containing the link data to get the links.
    Suda

  • Show drill down with in same page in Oracle BAM 11g

    Is it possible to show drill down report with in same report page?say once i open a report A, user can see only report A.Once i drill down to next level the report page will show report A and next drilled reoprt say report B and like this.

    You mean to say you have two different reports like a master summary report and second as detailed report or you are just using bam hierarchichal drilling to drill down to the lower level detail?
    BAM driving feature works on the two views in the same report like you have a list view at top of report and a pie chart view at the bottom, then you can pass parameters(like cliking on a row of list will pass parameter to the bottom view) from the top view to the bottom view and depending upon the parameter passed, the bottom view will get updated. In this case, you can see both the views simultaneously on the same page.

  • SmartView 11.1.2.2-drill down with attribute dimensions

    In Smartview 11.1.2.2.300, we have noticed that if we exclude attribute dimensions from our report, then we are able to drill down to Bottom level on all our reports; but if there are attribute dimensions listed, then it throws errors. Is it an option to drill down to bottom level, while keeping the attribute dimensions in the report? Thanks.
    Edited by: 937685 on Jan 17, 2013 9:35 AM

    According to Oracle that still relates to a timeout error: SmartView Error "XML Load Error: DTD is prohibited [ID 1059964.1]
    Update the registry on the client machine with the following settings:
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
    "ReceiveTimeout"=dword:00075300
    "KeepAliveTimeout"=dword:000493e0
    "ServerInfoTimeout"=dword:000493e0
    You may need to reboot, I've seen it make a difference without the need.
    Is this an FDM connection?
    Anyway try that.
    Steve

  • Xcelsius Drill Down With Column and Line Chart

    Hi Guys,
    I am working on an Xcelsius 2008 Dashboard. I would like to integrate two charts, a column and a line chart. The column chart is supposed to show the results for each quarter. With a selector it changes the view and name of the different numbers.
    Then I would like to enable the drill down so that I can see the results for the three months of the corresponding quarter in the line chart. Is that somehow possible? I am totally lost. Thanks for your help.
    Kind Regards,
    Maurice

    Hi Maurice,
    You cannot integrate a column chart and line chart to make drill down possible. You could drill down a column chart to show the values in another chart bt that would be just two different charts and not an integrated one.
    Regrads,
    Anju Saseendran

  • Issues with multilevel pie chart drill down with push button

    I am new to Xcelsius. I am trying to build a multilevel pie chart drill down (one pie chart drilling down to another etc) and I am able to achieve that. Now I want to add a Back Button using Push Button so that I can go up.  When I preview, the Push Button goes into two state and I have to double click to go back.  Can anyone tell me what I am doing wrong. I am using the latest Xcelsius. [The source code is here|http://www.woofiles.com/dl-195360-3lTyVM8Z-piechartdrilldownwithpushbutton.xlf]
    Thankyou.

    Hi Murali
    This is exactly the same what i tried to do,
    Drill down to 4 levels State -> City-> store etc with 4 pie charts and similar push button to close each level to
    go back to previous chart, first run from 1 to 4 works fine, then after closing all the levels and when i am at the pie chart 1
    if i click any pie slice it will jump to Pie chart 4 straight,
    I tried tracking the issue, all i could find is some how the previous dynamic visibility values are back even after erasing
    the data with the PUSH button (Destination cell insertion with blank or 0).
    did you find a solution for this issue ?
    Thanks
    Chandra

  • GIS - Realize Drill Down with the Web Item "Map" (WAD)

    Hi experts,
    can somebodye tell me how to realize a drill down (on mouse click) on the web item map (Web Application Designer) ? To drill down in a map from a country to a region for example. I need the function "filter and change drill down" on mouse click.
    Thank you.
    Junkovic, Daniel

    Hey,
    I am just copying your answer, you gave in another thread, to limit the search time for other users:
    italics What worked was another possible way, e.g. to maintain the SAPBWKEY in the Arcview software delivered by ESRI. Using the Arcmap -application.
    -Rightclick on the respective layer, then 'Open Attribute Table'
    -Press Button 'Options': Add field. Name = SAPBWKEY, 'Type' depending on your characteristic
    -Next Step: Editor ( a menue you need to load into ArcMap) --Start Editing
    -Then again: Rightclick on the respective layer, then 'Open Attribute Table'
    -Now you can maintain values for the SAPBWKEY
    -Editor: Stop Editing (save changes)
    Rightclick on the respective layerData-Export data
    The last step exports the modified shapes files, which can then imported to your info object.italics
    Greets
    Marcus

Maybe you are looking for

  • How do i install os on new clean HD once swapped?

    I have new macbook pro 13" with ivy bridge released on 6/11/2012. I want to install new ssd in it. I figured out hardware procedure but need some help figuring out how to put os on new hd. How do i install os on new clean HD once swapped? MBP didn't

  • I can't get my TC to connect to the Internet

    I just bought a new time capsule to back up my macs, well I can't get it to connect to the internet to send out wireless internet signal. Both my networks appear, 1. "actiontec" which is my qwest gt701-wg wireless internet signal I am using right now

  • PDF attachments not getting to recipients

    Greetings. I'm having trouble sending PDF attachments via Mail. I do what I've always done--toggle down, find the file, click "choose file" and hit send. The client always says that no attachement was included. When they respond, I can make out a tin

  • My ipod video....

    my ipod video wont load the videos i have in itunes

  • Generating Grayscale PDF Through Printing Option?

    I have a document with 100 color slides that I'd like to retain as a grayscale handout (i.e. a PDF file with 4 slides per page). Through the 'Print' option and beneath the 'Keynote' drop-down menu, for 'Handout', I've selected 4-slides per page. But