(Urgent) issue of Using Aggregate table in the BMM layer (Thanks)

Hi,
Let's say, I have 2 fact tables, "F_Region_Goal" and "F_Store_Goal"; and 2 dimension tables, "Dim_Date" and "Dim_Store_info".
"Dim_Date" has hierarchy as "day-month-year" and "Dim_Store_info" has hierarchy as "Division-Region-Store".
"F_Store_Goal" has the most detailed goal info data in it;
"F_Region_Goal" aggregate all the goal on "Region" level. (For Data dimension point of view, these 2 Fact tables are the same, "day-month-year")
We create the BM, I have set the "Logic level" info in LTS, to let BIEE server to point to "Region_Goal" when we choose the Level: Region.
However, i have tried several times, in the log, it always goes to "F_Store_Goal".
Can anyone here tell me what I missed in the configuration?
You help will be greatly appreciated.
BTW: What if I want the BIEE server go to "F_Region_Goal" to do SUM() function to get the Goal for "Division" level, when I choose the criteria "Division" and "Month", How can i realize this ?
Many many thanks for any reply.

It seems to me that you are missing the aggregate dimension "Dim_Region_info" ... currently you are trying to get obiee to use a lower level dimension with a higher level fact and it's designed to take what it believes is the most effiicient way to do things.

Similar Messages

  • How should I deal with it in the BMM Layer

    Hi all,
    I need a suggestion in a problem.
    Here is the scenario,
    In the physical layer, There are some fact to fact joins.
    ProductFact ----< PolicyFact ----< PolicyCoverFact ----< ClaimFact ----< ClaimPaymentFact ----< CorrespondenceFact
    There are some conformed dimension tables given below
    Geography is joined to ProductFact, ClaimFact
    Organisation is joined to PolicyCoverFact, CorrespondenceFact
    Currency is joined to PolicyFact, ClaimPaymentFact
    Also there are non-conformed dimensions such as,
    ProductType is joined to ProductFact
    PolicyCoverType is joined to PolicyCoverFact
    and there are many more......What I know is when there are fact to fact joins, we should make a logical table in the BMM layer and add both fact tables to the same LTS, But in this case, almost all the fact tables are joined directly.
    How should I deal with these fact to fact joins in the BMM layer? Any suggestions?
    Edited by: LavaRider on Aug 25, 2010 2:47 AM

    LavaRider wrote:
    I have to create many LTS for the fact table......
    1 LTS for ProductFact
    1 LTS for ProductFact & PolicyFact (which contain ProductFact and PolicyFact as sources)
    1 LTS for ProductFact , PolicyFact & PolicyCoverFact ........
    and so on.....
    have I understood correctly? Is that what you mean?Yes, the reason why I said to "keep" the firsts fact table in each source is to make the dimension work.
    For example, if the "product dimension" is only linked to "product fact", but not "policy fact" then you won't be able to do a report based on "product dimension" and "policy fact". Right ? To be able to do this report, OBIEE must do a join with "product fact" (this fact table become an intersection table). That's why you will add product fact in the "policy fact" source. Same for others source.
    But the name of "ProductFact & PolicyFact" source can be "policy fact". Because each row of this source is a policy fact.
    For the 3rd table, each row is a "policy cover fact". But to be able to join with "product dimension" and "policy dimension", you need to integrate "policy fact" and "product fact" tables in the logical source.
    and so on.

  • Duplicate table  and  Alias table in the physical layer

    Hi,
    I want a clear information regarding the duplicate tables in the physical layer of the rpd.
    I mean what is the purpose of the duplicate tables in the physical layer.........
    thanks,
    chinna.

    what do you mean by duplicate of physical table? is it Alias table?
    if then,
    -> aliases are created to break the circular joins (which are not supported by obiee)
    -> and, as per apps standards no operation can be done on base tables which are imported directly to physical layer. Only aliases are joined and will be used in BMM layer
    -> useful to re-use the table more than one time , best example: W_DAY_D in apps rpd
    Edited by: Kishore Guggilla on Sep 23, 2010 10:41 PM

  • I have deleted by accident the backup folder on an external HD. Any advice on which app I can use/buy to recover the info? Thanks in advance!

    I have deleted by accident the backup folder on an external HD.
    I did the backup since I had to sent my macbook pro retina display to customer care.
    By accident, I deleted the backup folder on my external HD.
    Any advice on which app I can use/buy to recover the info?
    Thanks in advance!
    elmoven.- desperate trying to recover his Ph.D info from 3 years

    IT SOUNDS wiered but there is just for your pc just goto statrtup menu--->System tools -->system restore by Today's date and time

  • Union of more than 2 fragments/Logical Table Sources in BMM Layer

    Hi,
    I have come across many blogs which explain how to union two fragments/physical tables in a logical table source.
    Currently, i have a requirement where i have to combine/union 4 fragments/physical tables in a logical table source, say T1, T2, T3, T4 dimension tables.
    All have the same table structure, but differ in data.
    The requirement is to define dashboard prompt on the union of these tables and populate the values from all the tables.
    I am able to union two of the tables using a '>' and a '<' condition on a key column.
    But, am not able to union the other two tables.
    If i try to put more than 2 LTS, then the union fails.
    Please share your thoughts.
    thanks,
    Varun

    Hi Varun,
    What do you mean by the Union fails?
    You can have a logical table source in your business layer with 4 different tables as a source.
    Import the tables in the physical layer and create your joins.
    Then create a logical table in the Business layer and go in the table properties you will see that you can add as much tables as you want into the source (Map to these tables).there you can add all of your 4 tables and specify what type of join you want to have between them (inner, outer...)
    Regards
    Adil

  • Why do we need to Join in the BMM Layer

    Hi,
    Somebody asked me the following questions
    *"If the joins are already defined in the Physical Layer and ultimately the query will pass thru Physical Layer to the Database and will take the joins defined in the Physical Layer then why do the joins in the BMM layer". This can be a Complex join or a Foriegn Key Join*
    Under what conditions do we use Foreign Key Joins in BMM layer ?
    How do we use Stored Procedure in OBIEE?
    Any answers.
    Rgds,
    Amit
    Edited by: amitsharma73 on May 20, 2010 5:51 PM
    Edited by: amitsharma73 on May 20, 2010 5:52 PM
    Edited by: amitsharma73 on May 20, 2010 5:52 PM
    Edited by: amitsharma73 on May 20, 2010 5:53 PM

    This is most likely because the copy's licence has not been verified, and to verify it you need to log in so it can check that you account contains the license.
    It's just to prevent torrenting and piracy.

  • Issue while using SUBPARTITION clause in the MERGE statement in PLSQL Code

    Hello All,
    I am using the below code to update specific sub-partition data using oracle merge statements.
    I am getting the sub-partition name and passing this as a string to the sub-partition clause.
    The Merge statement is failing stating that the specified sub-partition does not exist. But the sub-partition do exists for the table.
    We are using Oracle 11gr2 database.
    Below is the code which I am using to populate the data.
    declare
    ln_min_batchkey PLS_INTEGER;
    ln_max_batchkey PLS_INTEGER;
    lv_partition_name VARCHAR2 (32767);
    lv_subpartition_name VARCHAR2 (32767);
    begin
    FOR m1 IN ( SELECT (year_val + 1) AS year_val, year_val AS orig_year_val
    FROM ( SELECT DISTINCT
    TO_CHAR (batch_create_dt, 'YYYY') year_val
    FROM stores_comm_mob_sub_temp
    ORDER BY 1)
    ORDER BY year_val)
    LOOP
    lv_partition_name :=
    scmsa_handset_mobility_data_build.fn_get_partition_name (
    p_table_name => 'STORES_COMM_MOB_SUB_INFO',
    p_search_string => m1.year_val);
    FOR m2
    IN (SELECT DISTINCT
    'M' || TO_CHAR (batch_create_dt, 'MM') AS month_val
    FROM stores_comm_mob_sub_temp
    WHERE TO_CHAR (batch_create_dt, 'YYYY') = m1.orig_year_val)
    LOOP
    lv_subpartition_name :=
    scmsa_handset_mobility_data_build.fn_get_subpartition_name (
    p_table_name => 'STORES_COMM_MOB_SUB_INFO',
    p_partition_name => lv_partition_name,
    p_search_string => m2.month_val);
                        DBMS_OUTPUT.PUT_LINE('The lv_subpartition_name => '||lv_subpartition_name||' and lv_partition_name=> '||lv_partition_name);
    IF lv_subpartition_name IS NULL
    THEN
                             DBMS_OUTPUT.PUT_LINE('INSIDE IF => '||m2.month_val);
    INSERT INTO STORES_COMM_MOB_SUB_INFO T1 (
    t1.ntlogin,
    t1.first_name,
    t1.last_name,
    t1.job_title,
    t1.store_id,
    t1.batch_create_dt)
    SELECT t2.ntlogin,
    t2.first_name,
    t2.last_name,
    t2.job_title,
    t2.store_id,
    t2.batch_create_dt
    FROM stores_comm_mob_sub_temp t2
    WHERE TO_CHAR (batch_create_dt, 'YYYY') = m1.orig_year_val
    AND 'M' || TO_CHAR (batch_create_dt, 'MM') =
    m2.month_val;
    ELSIF lv_subpartition_name IS NOT NULL
    THEN
                        DBMS_OUTPUT.PUT_LINE('INSIDE ELSIF => '||m2.month_val);
    MERGE INTO (SELECT *
    FROM stores_comm_mob_sub_info
    SUBPARTITION (lv_subpartition_name)) T1 --> Issue Here
    USING (SELECT *
    FROM stores_comm_mob_sub_temp
    WHERE TO_CHAR (batch_create_dt, 'YYYY') =
    m1.orig_year_val
    AND 'M' || TO_CHAR (batch_create_dt, 'MM') =
    m2.month_val) T2
    ON (T1.store_id = T2.store_id
    AND T1.ntlogin = T2.ntlogin)
    WHEN MATCHED
    THEN
    UPDATE SET
    t1.postpaid_totalqty =
    (NVL (t1.postpaid_totalqty, 0)
    + NVL (t2.postpaid_totalqty, 0)),
    t1.sales_transaction_dt =
    GREATEST (
    NVL (t1.sales_transaction_dt,
    t2.sales_transaction_dt),
    NVL (t2.sales_transaction_dt,
    t1.sales_transaction_dt)),
    t1.batch_create_dt =
    GREATEST (
    NVL (t1.batch_create_dt, t2.batch_create_dt),
    NVL (t2.batch_create_dt, t1.batch_create_dt))
    WHEN NOT MATCHED
    THEN
    INSERT (t1.ntlogin,
    t1.first_name,
    t1.last_name,
    t1.job_title,
    t1.store_id,
    t1.batch_create_dt)
    VALUES (t2.ntlogin,
    t2.first_name,
    t2.last_name,
    t2.job_title,
    t2.store_id,
    t2.batch_create_dt);
    END IF;
    END LOOP;
    END LOOP;
    COMMIT;
    end;
    Much appreciate your inputs here.
    Thanks,
    MK.
    (SORRY TO POST THE SAME QUESTION TWICE).
    Edited by: Maddy on May 23, 2013 10:20 PM

    Duplicate question

  • How to use nested tables with the inner table in a separate row

    Hi,
    I am having a problem when changing our existing Adobe printform delivery note so that serial numbers are written for each item line.
    I've searched the forum and found many posts relating to nested tables, but none that had exactly my situation.
    Currently I print item lines like this (this uses the complete width of the form):
    Pos....Quantity...Material..........Description..................................................Date
    99.........99.........ABCDEFGH....alksdalksjdlkasjdlsajdlkjasldjaslkdjakslj........9999.99.99
    .................................................fskdjflsdfljsdflkjsdlkfjsdlkjfdfsf
    .................................................asdkadsfdkfhsdkfhskjdfhks
    but I want to add serial numbers after that for each item like this:
    Pos....Quantity...Material..........Description...................................................Date
    99.........99.........ABCDEFGH....alksdalksjdlkasjdlsajdlkjasldjaslkdjakslj.........9999.99.99
    .................................................fskdjflsdfljsdflkjsdlkfjsdlkjfdfsf
    .................................................asdkadsfdkfhsdkfhskjdfhks
    .................................................Serial numbers:
    .................................................9999999999..9999999999..9999999999
    .................................................9999999999..9999999999..9999999999
    I have added serial numbers to my the current table in the interface/context/data view so it look like this:
    TTYP - ITEM_FIELDS
    ...DATA structure
    ......POSNR
    ......QTY
    ......MATNR
    ......TTYP - ITEM_TEXTS
    .........DATA structure
    ............DESCRIPTION
    ......DATE
    ......TTYP - SERIAL_NOS
    .........DATA structure
    ............SERIAL_COL1
    ............SERIAL_COL2
    ............SERIAL_COL3
    In my Hierarchy I currently have this hierarchy and binding:
    Table - ITEM_FIELDS
    ...Body Row - DATA
    ......Cell - POSNR
    ......Cell - QTY
    ......Cell - MATNR
    ......Subform - ItemTexts
    .........Table - ITEM_TEXTS
    ............Body Row - DATA
    ...............Cell - DESCRIPTION
    ......Cell - DATE
    Now I am trying to add the SERIAL_NOS table into the ITEM_FIELDS/DATA body row right after the DATE cell - but I am not allowed to drag anything into the table structure.
    Does anybody have an ida how I can achieve this, please?
    Kind regards,
    Claus Christensen

    HI,
          Set the body page as flowed and set the tables also flowed.
    go to bodypage>object->subform-->select flowed option.
    I thihnk this will work..if u are getting all the records properly into the tables 1 and 2.
    Thanks,
    Mahdukar

  • Using ALV table inside the WD CHIP

    Hi,
    I am trying to display the internal table values using alv component in WD CHIP. But, not able to add the component usage as SALV_WD_TABLE.
    Can anyone please confirm how can we use the ALV component inside the WD chip.
    My requirement is that based upon the selection parameter provided by the user in the CHIP, i need to display the resource id in a table in the same CHIP.
    Thanks,
    Jayaprakash

    Hi Kabil,
    You mean in WD CHIP. It seems that it is behaving differently when working with CHIP.
    It is not allowing me to add other components like SALV_WD_TABLE.
    Thanks,Prabu

  • Issues while joining two tables as the joining column has duplicate values - Please help!

    Hi,
    I have a table A -which has few columns including a Amount column - I am joining this table A to Table B. The joining column in B has duplicates.  So, the number of records are getting more after the joining. As per the requirment when I create a table
    after joining the tables and count the salary clumn, there is a difference in the counting. How can I solve this? Can you please help me?
    Here is the DDL and sample values
    create table #student (sid int, name varchar(10),salary int)
    create table [#address] (sid int, city varchar(10),grade char(1),lineneumber int)
    insert into #student values (1,'sachin',8000)
    insert into #student values (2,'Dhoni',2000)
    insert into #student values (3,'Ganguly',7000)
    insert into #student values (4,'Kohli',1000)
    insert into [#address] values(1,'mumbai','A',1)
    insert into [#address] values(1,'mumbai','B',2)
    insert into [#address] values(1,'mumbai','C',3)
    insert into [#address] values(1,'mumbai','D',4)
    insert into [#address] values(2,'JARKHAND','D',3)
    insert into [#address] values(2,'JARKHAND','D',4)
    SELECT S.SID,NAME,salary,CITY ,grade,linenumber
    into #FINAL
    FROM #STUDENT S
    LEFT JOIN #ADDRESS A
    ON S.SID=A.SID
    SELECT SUM(salary) FROM #FINAL
    --44000
    Final result should be 18000 , but it is coming as 44000. can you please help me to get the correct result - what do i do in the joining?
    In my real project, i have 5 tables joining, each table have more than 30 columns and few joining tables joining column have duplicates. I have simplified the issue so that i can ask the question clearly. So,while answering, please consider that also in mind.
    thanks in advance for your help!

    SELECT S.SID,NAME,salary,CITY 
    into #FINAL
    FROM #STUDENT S
    LEFT JOIN (SELECT DISTINCT sid,city
    FROM #Address) A
    ON S.SID=A.SIDthis will do a join on student table and city table with unique sid and city name so adddress selection will be sid city1 mumbai2 jarkand

  • Is it possible to use a table in the sheet footer in Numbers '09?

    Hello there.
    I can't find a way to to that. In Pages '09 it is indeed possible and very simplie and intuitive. The very same approach doesn't work for me in Number. Is it possible at all?
    Thanks in advance.

    You can not place a table in the header/footer in Numbers

  • How to import tables to the physical layer of the Administration Tool.

    Friends could help me with this issue. I'm just starting in OBIEE
    How to connect a ORACLE database 11g R2 installed on Linux with OBIEE administration tool that I have installed Windows Server 2003 to create a subject area.
    Basically I want to import the tables from the database on Linux to the physical layer of the administration tool that is installed on Windows Server 2003.
    I can tell how to make this connection step by step.
    Beforehand thanks for the support.

    hi,
    How to connect a ORACLE database 11g R2 installed on Linux with OBIEE administration tool that I have installed Windows Server 2003 to create a subject area.create DSN by taking correct ODBC driver for 11g R2 in windows 2003 with linux DB credentials
    thanks,
    Saichand.V

  • Not able to Import SH Table in the Physical Layer

    Hi,
    I am not been able to import Tables from sh schema in the physical layer of OBIEE 11g and got error message.
    "Failed to Perform Requested action". Please tell me how to create sh RPD now.
    Appreciate all the help in advance.
    Thanks
    Ashish

    I am sharing the screen shot of the error message
    https://app.box.com/s/afwnwjyb8c4h65uhao0w
    another thing that i found that their are duplicate column shown. Screen shot of that below.
    https://app.box.com/s/aoux5lurxso55qcofz7k
    and i am importing Table,key & Foreign Key. Please tell me how is this possible and how to remove this.

  • Issue with using Multiple Tables in Join

    Post Author: dwessell
    CA Forum: .NET
    Hi, I'm using the Basic version of Crystal Reports that shipped with Visual Studio 2k5.I'm doing a report with three tables, CQ_HEADER, SO_HEADER and SALESPERSON. Both the CQ_HEADER and the SO_HEADER tables link to the SALESPERSON table via a SPN_AUTO_KEY field. However, I always receive duplicates in my result set, due to the joins made. Here's the query that's produced by CR.  SELECT "CQ_HEADER"."CQ_NUMBER", "CQ_HEADER"."ENTRY_DATE", "CQ_HEADER"."TOTAL_PRICE", "SALESPERSON"."SALESPERSON_NAME", "SO_HEADER"."ENTRY_DATE", "SO_HEADER"."TOTAL_PRICE" FROM   "CQ_HEADER" "CQ_HEADER" INNER JOIN ("SO_HEADER" "SO_HEADER" INNER JOIN "SALESPERSON" "SALESPERSON" ON "SO_HEADER"."SPN_AUTO_KEY"="SALESPERSON"."SPN_AUTO_KEY") ON "CQ_HEADER"."SPN_AUTO_KEY"="SALESPERSON"."SPN_AUTO_KEY" WHERE  ("CQ_HEADER"."ENTRY_DATE">={ts '2007-12-01 00:00:00'} AND "CQ_HEADER"."ENTRY_DATE"<{ts '2007-12-18 00:00:00'}) AND ("SO_HEADER"."ENTRY_DATE">={ts '2007-12-01 00:00:00'} AND "SO_HEADER"."ENTRY_DATE"<{ts '2007-12-18 00:00:00'}) ORDER BY "SALESPERSON"."SALESPERSON_NAME" There is no link between the SO_HEADER and the CQ_HEADER. Can anyone make a suggestion as to how I could go about structuring this such that it doesn't return duplicate values? ThanksDavid        

    Post Author: dwessell
    CA Forum: .NET
    Addendum: I've partially been able to solve it.. The information that I'm after is: Salesperson     # of Quotes   # of Sales    #Total Sales (Sum(Total_Price))  #Total Quoted Salesperson is what I group after, and I was able to get correct numbers for # of Quotes and # of sales by changing COUNT to DISTINCT COUNT. However, for the summations I'm still getting duplicate rows. ThanksDavid    

  • Useing Excel table genarate the report in bi publisher 11g

    Hi All,
    Can anyone share your ideas pls...
    Using Excel files we upload the data into data set excel but could't generate the reports in Bi-Publisher 11g...we are getting the error :"Null".
    We are using open office...is this could be a problem..?
    Rgds..DCB
    Edited by: DCB on Dec 30, 2010 5:30 AM

    check the below
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi//bip/advancedbip/advancedbip.htm#t3
    http://www.youtube.com/watch?v=NPbKRnSkDVM
    using rtf template
    http://bipconsulting.blogspot.com/2010/02/drill-down-to-detail-or-another-report.html

Maybe you are looking for

  • Open as linked smart object

    Hello, iam looking for a solution to open files in a folder and copy then into a document. Its working good, but i need the files to be linked smart object. Anyone knows a solution ? Here my Code so far: See in line 33. Convert to smart object: ? var

  • I am getting build error while using weblogic.appc

    Hi All, I am using weblogic 10 server and ejb 3.0 code . While ejb-complisation i am getting the class not found error. Please help me in resolving the below issue. ejb-compile: [echo] E:\workspace\OMGAdmin\OMGADMIN/omgAdminBuild/omgAdminEAR [java] E

  • My itouch only stays at 10% battery, why wont it charge anymore?

    I plugged my itouch in and left it for hours only to come back and find it has only charged to 10% of its battery. I tried plugging it into the ihome, my laptop, and my dads computer and its not charging. Will I have to buy a new battery?

  • XML: Custom Color and Bold font for News Title

    Hello, Do anyone know how to fix the following problem? We changed the color of the title of an newsitem in the RenderList layout by filling the RGB settings. This works fine, however if we want to make the font also bold, the color changing back int

  • Report the date and time of all the systems reporting to sccm

    Hi, We have a requirement to report the date and time of all the systems reporting to SCCMnot sure if this is possible. Appreciate any help regarding this. Thanks