Need of aggregated dimension to use summary tables

Hi,
I have two fact tables workdetail and worksummary. Worksummary is aggregated to month in time dim and workdetail is at timedim day level.
Now i configured my business model with timedim and work detail table.( created a hirerchy for time dim (year-month-day)). Now i want to use worksummary tables, how do i include this in my business model. I know creating new Logical Source and mentioning levels.
My major doubt is do i need to create another physical table for Time-Month? or can i use same time dim physcial table to use with summary fact tables?

the answer to your question is YES, To use aggregated summary tables, we need to have aggregated dimensions. Other wise data will be redundant and will return incosistent values.
In your case if you use the same timedim-day level table with summary tables, data will be multiplied by 30 days beacuse of time-dim monthkey will be repeated in multiple rows.
simplest solution is create view from Time_Dim table, select distinct year,month,monthkey. this view returns only unique year-months. so each month will have only one row.
-> import view in your physical layer and create a join with summary fact table.
-> Include the month table(which is view) in logical time_dim as another source,mention the levels.
-> and include your fact table in logical fact table and mention the levels to month of time dim
this will work. Let me know if i am not clear. Also we can wait for other experts comments.
- Madan

Similar Messages

  • Need help about ref cursor using like table

    Hi Guys...
    I am devloping package function And i need help about cursor
    One of my function return sys_refcursor. And the return cursor need to be
    join another table in database . I don't have to fetch all rows in cursor
    All i need to join ref cursor and another table in sql clause
    like below
    select a.aa , b.cc form ( ref_cursor ) A, table B
    where A.dd = B.dd
    I appeciate it in advance

    My understanding is that you have a function that returns a refcursor and is called by a java app.
    Because this is a commonly used bit of code, you also want to reuse this cursor in other bits of sql and so you want to include it like table in a bit of sql and join that refcursor to other tables.
    It's not as easy as you might hope but you can probably achieve this with pipelined functions.
    Is it a direction that code should be going down? yes, eventually. I like the idea of pulling commonly used bits of code into a SQL statement especially into the WITH section, provided it could be used efficiently by the CBO.
    Is it worth the effort given what you have to do currently to implement it? possibly not.
    what else could you do? construct the sql statement independently of the thing that used it and reuse that sql statement rather than the refcursor it returns?
    Message was edited by:
    dombrooks

  • Dimension build using SQL table and process to fill the SQL table

    I have a dimension in a cube that is manually* built by one of our power users. Now I have to get all the member information of that dimension into a SQL table(example : with columns...level0,level0property,level1,level1property etc....) to use that table in STUDIO for member load.
    Is there any easy process to do this? Currently I am building each and every row manually in that SQL table and there are 1100+ members in that manually built dimension. Please advice.

    Thank you so much Glenn!! That worked!! You make our lives so much easier!!

  • Need to update multiple columns using another table

    I have 2 tables. and i need to update rows of 1 table using another table
    Table1
    Serial_no.     payment_date     Payment_amt
    101     22/11/2010     150
    101     18/03/2011      355
    102     15/04/2011      488
    103     20/05/2011      178
    102     14/06/2011      269
    101     28/06/2011      505
    Table2
    Serial_no     Charge_amt      Last_paymt_dt     Last_paymt_amt
    101     255
    102     648
    103     475
    I want to update Last_paymt_dt and Last_paymt_amt of table2 using Table1, I have written following update statement but it gives error that single row subquery return multiple row.
    Update Table2
    set (Last_paymt_dt,Last_paymt_amt) = (select max(payment_date, payment_amt) from table1
    where table1.Serial_no = table2.Serial_no group by payment_amt)
    kindly suggest how should i update.

    SQL> select * from table1
      2  /
    SERIAL_NO PAYMENT_DA PAYMENT_AMT
           101 22/11/2010         150
           101 18/03/2011         355
           102 15/04/2011         488
           103 20/05/2011         178
           102 14/06/2011         269
           101 28/06/2011         505
    6 rows selected.
    SQL> select * from table2
      2  /
    SERIAL_NO CHARGE_AMT LAST_PAYMT LAST_PAYMT_AMT
           101        255
           102        648
           103        475
    SQL> update  table2
      2     set  (last_paymt_dt,last_paymt_amt) = (
      3                                            select  max(payment_date),
      4                                                    max(payment_amt) keep(dense_rank last order by payment_date)
      5                                              from  table1
      6                                              where table1.serial_no = table2.serial_no
      7                                           )
      8  /
    3 rows updated.
    SQL> select * from table2
      2  /
    SERIAL_NO CHARGE_AMT LAST_PAYMT LAST_PAYMT_AMT
           101        255 28/06/2011            505
           102        648 14/06/2011            269
           103        475 20/05/2011            178
    SQL> SY.

  • Join multiple fact tables and dimensions and use all tables in report issue

    Hi,
    I have a report requirements and need to use multiple fact tables and unconformed dimensions as described below
    Fact table: F1,F2,F3
    Dimensions tables: D1.....D9
    F1:(joined to) D1,D2,D3,D4
    F2::(joined to)D1,D2,D5,D6
    F3::(joined to)D1,D2,D7,D8
    D7::(joined to)D9,D8 (dimension D7 joined to two other dimensions D9 and D8
    I'm trying to use columns from almost all the fact and dimension tables but getting "Unable to navigate requested expression. Please fix the metadata consistency warnings."
    Repository is consistent and no errors and warnings.
    How can I configure the repository to develop reports using all fact tables and dimensions?
    Appreciate for your help.
    Thanks
    Jay.
    Edited by: Jay on Feb 9, 2012 4:14 PM

    So you want me to convert snowflake schema to star. does it solve my problem? individual star queries are working find but when I query multiple stars together getting inconsistency errors. I removed content tables dim level totals for unconformed dimensions in logical fact LTS and set level for measures at total level for unconformed dimensions. it is still in progress and need to test.
    Thanks
    Jay.

  • Dynamic security using Security table in SSAS Tabular model

    Hi, 
    Platform : SSAS Tabular model (VS 2010)
    I need to apply Dynamic security using Security table(manually created) in Tabular model, Need to apply filter for 2 tables. I am able to
    create roles in Tabular model using USERNAME() and LOOKUP() function it worked fine. But the problem is when i am trying to give full access for a particular column and limit the access in other column, it is not working properly.
    Please find below table and guide me where i am falling short. In the Security table wherever you find ALL it means full access.
    Security table
    Login Name
    Dim_Country
    Dim_Customer
    DOMAIN\User1
    ALL
    2
    User1 should see all countries but Only 2,4 Customers
    DOMAIN\User1
    ALL
    4
    DOMAIN\User2
    2
    ALL
    User2 should see all customers but Only 2,3 countries
    DOMAIN\User2
    3
    ALL
    DOMAIN\User3
    ALL
    ALL
    User3 should see all Customers and Countries
    DOMAIN\User4
    1
    3
    User4 should see 1 Country and 3 Customer
    ALL - means NO restriction
    Numeric values indicate the Dimension IDs
    Do let me know if further explanations required.
    Thanks,
    Sundar

    Hi Sundar,
    According to your description, you want to implement dynamic security using Security table in SQL Server Analysis Services Tabular model, right?
    It is very common to have data security implementation in BI projects either at databases or Cubes and sometimes this security implementation and maintenance goes out of control due to the dynamic flow of business information. Here are some links which describe
    dynamic security implementation at SSAS tabular model using an external security table, please see:
    http://bipassion.wordpress.com/2012/10/01/ssas-tabular-dynamic-security/
    http://www.bidn.com/blogs/ChrisSchmidt/ssas/4332/dynamic-security-in-tabular
    Regards,
    Charlie Liao
    TechNet Community Support

  • Linkig FI-SL Summary Table in Transaction FSI1

    Hi,
      I'm trying to create Balance Sheet Report on FI-SL. I do not see any option on how to link summary table to the report. We are in ECC 6.0. Any help is appreciated.
    Thanks,
    Trinadha

    Hello Trinadha,
    The linkage will be created / established when you create your library, sets and variables as well as when you specify  the FI-SL ledger in the columns of the report.
    For instance when you create a library, you need to enter the FI-SL summary table.  The linkage is then established when you enter the report and the report group in the said library.
    Refer back for any other clarifications.
    Elias

  • How to insert record in table using ADF Table

    Hi,
    I am developing and application in ADF .it consist 5 tables.i need to insert into 1 table that contains IDs that are reffered from other tables and on ADF Table fi i dont want to show those IDs. Can somebody provide me solution how to do that?
    like i have a SkillTable - that contains attributes Resource No(number) ,module Id(number), Track id(number), skill_type(number), skill_rating(number), experience(number).
    Track id is reffered from track table
    Module id is reffered from module table
    Resource table is reffered from resource table
    skill_type and skill_rating from lookup table
    and i need to insert into SkillTable using ADF Table. we dont want to show Track id,module id,codes for skill_type nad skill_rating on ADF Table instead we want to show trackname and module name ,code values for skill_type and Skill_rating .
    when we create ADF table for this skill table it shows me ids but what i want is that in each row it should show resource name,modulename,track name,and for skill_type and skill_rating it should show name of skill_types and Skill_rating rather than codes for each skill_type and Skill_rating.
    we tried to insert by creating view ,but didnot work.
    plz provide any solution.
    Thnakls

    Hi,
    Thanks for quick reply.but let me tell u my problem in more detail.
    To insert into skill_table I have created a VO that contains ResourceNo, track_id, module_id,skill_type,skill_rating,experience. And I drag it on ADF creation form and also have created read only LOV for resource_name from resorce_table, LOV for skill_type,skill_rating from Lookup table,
    And mapped those LOV to resource_no,skill_type,skill_rating on insert page.
    For track_id I have converted inputtextBox to SelectinputText to create databound LOV which will popup a window that contain master detail for track_table and module_table which shows all track_names in master and corresponding module_names in detail table, and on that window I have select button when we click that button selected track_id and selected module_id will get populated to insert skill page in track_id selectinputtextbox and module_Id inpiuttextbox.
    Now what I want is that instead of track_id and module_id populated on insert page coz these are of id's actually and we want to show values of these id's from other tables, I need to show selected track_name and module_name over on insert page.
    Not getting any idea how to do that???
    Plz help.

  • Reporting on Degenerate Dimension without using aggregation

    Hi Gurus,
    I have 2 fact tables F1 and F2 and a conformed dimension D. Both the fact tables contains degenerate dimensions.
    So I have created degenerated dimesnion in BMM layer DDF1 and DDF2 corresponding to F1 and F2 resp.
    I want to generate report using DDF1, DDF2 and D without using any column from F1 or F2(basically I dont need any aggregation in my reports, but more than 1 fact table is used).
    But I receive error while trying to implement this. I have created the dimensions and defined content mappings for the fact tables.
    I had followed the steps given at [http://www.rittmanmead.com/2010/01/oracle-bi-ee-10-1-3-4-1-modeling-degenerate-dimensions-fact-attributes/]
    Does this type of reporting without using aggregation possible in OBIEE?
    Thanks in advance.

    If you want it in pivot view it is not possible for ad-hoc to give it to end-users without measure columns.
    You can do this in table view for only dimension columns wihtout measures easily possible.
    If you want the look of pivot and same as results of pivot in your table view then you follow this blog
    http://gerardnico.com/wiki/dat/obiee/table_to_pivot
    UPDATE POST
    the rittman blog mentioned follow that properly every step is given correctly,according to me your doing mistake at degenerate dimensions or conformed dimensions...that is why the error is throwing on the fact column that you are using.Please setup once again each and every step correctly you will achieve it.
    Cheers,
    KK
    Edited by: Kranthi on Feb 8, 2011 3:06 AM

  • Loading dimensions using interface table

    Hello,
    I am trying to load dimensions into EPMA 11.1.1.3 using interface tables and need some direction. I have an accounts dimension file with the following columns ( Parent, Child, Alias, Description, DataType,Aggregation). I configured a data source using configuration wizard (Interface tables).
    I see in the database that some sample tables are created. Now, should I create a separate table with the columns listed above?
    Can someone let me know what are the next steps to successfully import accounts dimension?
    Thanks

    Can someone plz respond?
    This is important for me. I have gone thru' the documentation and also the sample tables but don't understand why are there multiple tables for a particular dimension viz. hierarchy, property etc?
    Please tell me the right way.
    Thanks again!!

  • Set Aggregation type of Count Distinct to use correct table aggregation in

    Hi there,
    Currently I use OBIEE 10.1.3.4.1 , and there is a case where a fact table consist of 2 logical table source: detail and aggregate table, which has some measure using count distinct as aggregation type. The problem is everytime I browse the measure with no dimension at all , it always use detail table not aggegation one..
    Really appreciate for any suggestion ..
    thanks a lot

    Hi,
    I don't think it's the same case as mine. Let say I have 2 table : detail and aggegate
    Detail Table consists 4 fields:
    *) Period
    *) Market
    *) Region
    *) Measure : Customer ID, Sales
    Aggregate Table consists 3 fields :
    *) Period
    *) Region
    *) Measure : Customer ID, Sales
    in the measure I set aggregation type for each field:
    *) Sales >> set as Sum
    *) Customer ID >> copy as "Number of Customer" and set as Count Distinct
    In each LTS' contents I set the level of aggregation using "Get Levels" feature..
    Then I try to browse via Presentation and do some querys belows:
    a) only choose single field of measure : Sales, the session shows that the value is taken from aggregation table and just as I expected.
    b) choose period and sales, the session shows that the values are taken from aggregation table, and still just as I expected.
    c) choose period, sales , and market, the session shows that the values are taken from detail table, just as I expected.
    d) only choose single field of measure : "Number of Customer", the session shows that the value is taken from detail table , this is NOT as I expected. It suppose to take the value from aggregation table..
    e) choose period and "Number of Customer", the session shows that the value is taken from detail table , this is also NOT as I expected. It suppose to take the value from aggregation table..
    I've tried to override the aggregation , but still confuse how to apply in measure "Number of Customer" and did not work at all..
    any idea ?
    thanks a lot

  • Need to merge a csv file using external tables into a main table

    Hi,
    I have a csv file which contains the date(with time stamp), column1(number),column2(number), column3 (number). I am using external tables concept to load the data froom csv to this external table and then merging into the main table. Problem here is : the csv file is a system generated file and nothing can be edited under it. our aim is to automate this process of loading data from csv to the table. In this csv the date time stamp is not in the proper format.I mean the date is not visible and only minutes and seconds are visible.By changing the format in csv manually this can be overcome.but we donot need any manual intervention.
    how can i overcome this problem ?? please help mee...
    Excels data looks like:
    (PDH-TSV 4.0) (India Standard Time)(-330)     \\DISAPPSER01\Processor(_Total)\% Privileged Time     \\DISAPPSER01\Processor(_Total)\% Processor Time     \\DISAPPSER01\Web Service(_Total)\Current Connections
    56:59.0               47
    57:09.0     0.72379582     4.204561281     46
    57:19.0     0.916548537     4.006179927     44
    57:29.0     0.663034771     3.674662541     43
    57:39.0     0.750789844     4.093933999     42
    57:49.0     0.721538487     2.650858026     40
    57:59.0     0.594781604     3.333393703     40

    please format your sample data giving header to the column so that we can make sense out of the values, also since the minutes and seconds are only given, what is the date to be considered for records to be moved to the master table, sysdate or will the date be passed as a parameter?

  • Is there an apple approved agreggator that allows me to publish to the iBookstore ibooks created using iBooks author? I would like to use the interactivity that iBooks Author allows but need an aggregator that supports it. Thank you.

    Is there an apple approved agreggator that allows me to publish to the iBookstore ibooks created using iBooks author? I would like to use the interactivity that iBooks Author allows but need an aggregator that supports it. Thank you.

    Apple - iTunes - Partner Programs - Book Publishers
         See a list of Apple-approved aggregators
    Start contacting them with your particular needs and see who fits best.
    Be sure to understand this info:
    Please note that if you choose to work with an aggregator to distribute your content on the iBookstore, Apple's contractual and financial relationship is with that aggregator.

  • Do i need to create dimensions on mp using only ods?

    hi all,
    Do i need to create dimensions for multi provider where in all my info providers are only from ods?
    thanxs
    haritha

    Hello Haritha
    Please have a look on following case
    create MP and assign Inbfocube..whatever dimensions are there in cube will be assigned to MP and it will be using the same dmensions as cube while reading dat afor reporting;
    Now if you add an ODS, ODS don't have dimensions so no extra dimension will be added to MP but if you feel that some ODS characteristic are there which u can place in existing dimension than you can create extra dimension and assign ODS characteristic in that...
    Dimensioning always improves performence so use maximun dimensions...if characeristic are differenr from one another..
    Thanks
    Tripple k

  • Need exaples using XMLType tables

    I have been going through the XML DB documentation and I am having a problem finding exmples of queries/transformations using XMLType tables.
    All of the documentation that I find talks about querying relational tables and returning XML data. Or querying actual xml files stored on the filesystem.
    I am working on a system that stores xml in tables created by the schema registration process. To the best of my knowledge this information is stored directly in the database and not in files on the file system.
    I need an example of two XML Type tables being combined to create one XML document. I believe I can figure out how to do this using the XMLELEMENT, and XMLFOREST functions but it would be nice to see some examples useing the .Transform(XSLT) method.
    Thanks

    ehhh, "xml stored on the filesystem", regarding loading xml data I presume, all the other info is about query data in the database (you are sure that you have read this in the XMLDB Developers Guide?)
    Th following (great) example is not regarding regular XML (its about a XSD), BUT you don't need much imagination to see the possibilities regarding selecting data from two or more tables...
    Can we create XML Schema

Maybe you are looking for

  • Getting error while deploying WebDynpro Application.

    Hi, There After creating an application for a WebDynpro project, when I execute the project (Deploy New Archive and Run) the application I am receiving then following error message. "This file does not have a program associated with it for performing

  • Playing YouTube or iPod music videos no longer outputs audio to car stereo.

    My car stereo is a Pioneer DEH2200ub Since the 4.2.1 upgrade on my iPhone4 something has changed from <4.1 Previously, I could play a YouTube favorite, connect to my head unit, and it'd play just fine out my speakers and display the video. Although n

  • Asset year end closing issue

    Hi, I run ajab to close year 2010 (not 2011)and encounter below issue: Asset 004110000555-0000 in company code 0000 (depreciation incomplete) Message no. AU070 Diagnosis The planned depreciation was not completely posted to Financial Accounting for a

  • J2IUN - Porblem

    Hi gurus, We uploaded RG23A Part II in table as 2 crores as well as 2 crores in gl for that. In pla we uploaded around 50000, When we gone utilisation they system showing only 84 lakhs in Rg23a and in pla it is showing more then 2 crores, which we ar

  • Apple tv 1st Generation Remote Query

    I have an Apple TV 1st Generation and I have lost the white remote control. I had installed the Remote App on my ipad and it was working fine but it seems to have lost the connection with the Apple TV and is not showing up the Apple TV when I go into