Question on Multiple Date columns

Hello all,
I have like 7 to 10 fact tables . In each fact table I have one date column..Some facts have 2 or 3 date columns
for example , I have Activations Fact table in which I have Disconnect_Date and Activation_Date...both should be joined to Date_Dim
Since , I can't join 2columns from one table to single Date Dim on date_key . I created a alias for Date dim , 1 for Activation_date and the other for Disconnect_date
Some other fact tables have only one date column . So, i joined all of them to single Date Dim
Now , In the subject area I will have some facts joined to one Date Dim and Some facts which have multiple date columns joined to their particular alias Date dims...
like ....
Subject Area:
Fact1 (with single date column joined to Date Dim)
Fact2 ( " )
Fact3 ( " )
Fact4 ( " )
Date Dim (joined to fact1,2,3,4)
ActivationsFact5 ( fact with 2 date columns)
Activation_Date ( joined to activationsfact5 on activation_date)
Disconnect_Date ( joined to activationsfact5 on disconnect_date)
I have like this...As I know which date dim is joined to what fact I can create reports
But other users who doesnt have idea on it...may create a report joining activationsfact with Date Dim ,which are not joined
To avoid this condition , the only way I see is to create aliases of Date Dim for all the facts like Fact1,Date Dim1,Fact2,Date Dim2 like that
But , I am concerned about creating so many date dims in the rpd. And creating hierarchies for them.
Does anyone have idea on how to handle this ?? Please help
Thanks,
Siri

Instead of creating aliases of Date Dim for every fact table , do u think its better to train users ?

Similar Messages

  • How to load data into Planning/Essbase from multiple data column

    Dear All,
    I have a interface file which contains multiple data column as follows.
    Year,Department,Account,Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec
    FY10,Department1,Account1,1,2,3,4,5,6,7,8,9,10,11,12
    FY10,Department2,Account1,1,2,3,4,5,6,7,8,9,10,11,12
    FY10,Department3,Account1,1,2,3,4,5,6,7,8,9,10,11,12
    I created a data rule to load these interface file.
    I want to use ODI to upload this interface. I try to specify the rule name in ODI and run the interface.
    But, it came out following errors.
    2010-02-22 11:40:25,609 DEBUG [DwgCmdExecutionThread]: Error occured in sending record chunk...Cannot end dataload. Analytic Server Error(1003014): Unknown Member [FY09,032003,910201,99,0,0,0,0,0,0,0,0,0,0,0,0] in Data Load, [1] Records Completed
    Any idea to fix the column, I sure the member name is correct as I can load data from data load rule correctly.
    Thanks

    Dear John,
    I updated the data load rule delimter to "," and found different error message as follows.
    'A910201.99','HSP_InputValue','HKDepart','No_WT','032003','NO_Lease','FY09','Actual','Final','Local','0','0','0','0','0','0','0','0','0','0','0','0','Cannot end dataload. Analytic Server Error(1003014): Unknown Member [0] in Data Load, [1] Records Completed'
    It seems that the data load rule can recognize the some member except the figures of Jan to Dec..
    thanks for your help

  • Multiple Data Columns in one report column

    How do I list multiple columns returned from a select vertically within one report column. For instance, I have three statuses for a project that I want to list, I'd like to list the three statuses within one status column. I remember seeing this somewhere but cannot find it now. Example:
    Status Column
    Budget: Green
    Schedule: Red
    Issues: Yellow

    additionally you could use HTML expressions. When editing your report, click on the column you want to use for displaying multiple data columns. This will take you to the report columns attributes page, there you can type in something like the following into the HTML expression field, referencing other report columns using #COLUMN_NAME# substitutions:
    #BUDGET#
    #SCHEDULE#
    #ISSUES#
    this is assuming your column aliases are named BUDGET, SCHEDULE and ISSUES. You can then just hide the columns that you don't want to see because the data is already shown using the HTML expression.
    Regards,
    Marc

  • Loading multiple data columns in reserved sign

    Hello,
    Is there a setting to load multiple data columns in reserved sign?
    Thanks,

    Hi Liana,
    To use that formula, you should use CONVERTAMOUNTWDIM  option.
    This options default value is Account dimension but if you want to use different dimension, you should use that dimension name. I guess Building A_65432 is not an account member then you should use below option in the transformation file.
    CONVERTAMOUNTWDIM = dimension name
    This option specifies which dimension to look at for value calculations. You must specify a dimension conversion sheet using the Amount Conversion option. For more information about conversion files, see Data Conversion Maintenance. If there is no formula in the Formula column of the Amount conversion sheet, this parameter has no effect. For example, if the Formula column has the following formula: <value>1.10, all accounts are increased by 10% during the conversion.
    I hope it will help you.
    Regards,
    James Lim

  • SQL Calendar using multiple date columns

    Is there any way to have a Calendar look at more than one date column? I know that it is possible to have the calendar based on a range/interval, but I need to display multiple date columns e.g. Marketing Start Date and Sales Start Date. In the Calendar component it seems possible to only choose one 'Date Column'. Has anyone come across this or know of any workaround?

    Is there any way to have a Calendar look at more than one date column? I know that it is possible to have the calendar based on a range/interval, but I need to display multiple date columns e.g. Marketing Start Date and Sales Start Date. In the Calendar component it seems possible to only choose one 'Date Column'. Has anyone come across this or know of any workaround?

  • Table partition based multiple date columns

    Hi , I am using Oracle 10G db. One of the source table has 26 million rows. Partition is based on business send date(Quaterly). Now the query that used to load the target table is based on ETL load date. Since the load date is not the partition column,the source query is taking long time to fetch.Can someone please suggest how to include ETL load date in the partition column or if any other way to improve the performance of the source query will be greatly appreciated.Thanks

    Partition is based on business send date(Quaterly).
    Can someone please suggest how to include ETL load date in the partition column
    Technically? Sure - just redefine the table (DBMS_REDEFINITION) and partition it on ETL load data.
    But someone partitioned on 'send date' for a reason didn't they? Don't you think you might want to find out WHY before you even think about changing it?
    The only info you have provided so far is that someone 'thinks' that a single query is 'taking long time to fetch'. That doesn't even mean anything. What is 'long time': 5 seconds, 5 days? How many rows are being fetched out of 26 million: 1, 20 million?
    1. post the table and index DDL
    2. post the query and execution plan
    3. post the command you executed to produce the stats on the table and indexes
    4. post the number of rows for the query predicates
    5. post info about the number of rows in the result set and what you are doing with them

  • Multiple Date columns  in one fact table

    hi ,
    I have a fact which related to multi date, like bid date, win date, lost date ,etc...,
    I have create dimension like dim_bid_date, dim_win_date,
    but if I wan to create a report , the value sum by the month (2012.01-2012.08), I don't know how to do in one report which related multi date.
    I think I should have a 'common date', how to do, can anyone explain it in detail. thanks.

    2 thinks here, do you want to reports based on bid date,win date, lost date etc?
    if yes you need to create those many date logical tables and you need to have in Subject area (something like 'Agreement Details' subject area if you have OOB rpd)
    Coming to your report requirement 'sum by the month'; I dont think this is complete report requirement, you need to know month type like bid month or win month or lost month or what!!
    if user dont want do report by those mentioned dates then just use just date of type( bid,win etc) with out using day dim;
    you might have some date like created date, create report based on that for sum by the month.
    Hope this helps, if helps pls mark

  • Returning multiple date columns in order

    Hi,
    I was just wondering if there was an easy way of returning a number of date values in order at row level.
    An example of the data would be:-
    TABLE DATES
    P1_DATE P2_DATE P3_DATE P4_DATE
    01-JAN-2009 13-FEB-2008 16-JUN-1998 30-SEP-2006
    The problem being that in this case I would want to return P3_DATE, P4_DATE, P2_DATE and P1_DATE in this order. However, this would not always be the case as there are no specific rules to state that P3_DATE is before P4_DATE etc.
    Any help or advice you could give would be appreciated.
    Regards,
    ca84

    Hi,
    For four items, it's not too bad:
    SELECT     GREATEST (p1_date, p2_date, p3_date, p4_date)     AS latest_date
    ,     LEAST ( GREATEST (p1_date, p2_date, p3_date)
               , GREATEST (p1_date, p2_date, p4_date)
               , GREATEST (p1_date, p3_date, p4_date)
               , GREATEST (p2_date, p3_date, p4_date)
               )                              AS second_latest_date
    ,     GREATEST ( LEAST (p1_date, p2_date, p3_date)
                  , LEAST (p1_date, p2_date, p4_date)
                  , LEAST (p1_date, p3_date, p4_date)
                  , LEAST (p2_date, p3_date, p4_date)
                  )                         AS second_earliest_date
    ,     LEAST (p1_date, p2_date, p3_date, p4_date)      AS earliest_dateFor five items or more, I would un-pivot them into separate rows, assign numbers using ROW_NUMBER, then pivot them back into one row.
    This assumes none of the items are NULL. If you can't assume that, use NVL to map NULLs to some impossible date (like TO_DATE (1, 'J')) for the sorting, then use NULLIF to map the impossible dates back to NULL for display.
    The solution above does not assume the items as distinct.

  • Multiple Date Fields (Fact Table) - Linking with Time Dimension

    I have a fact table that has multiple date columns.
    I can make a time dimension, but it has to be joined to a particular date column. This becomes difficult because of the limit in having multiple date fields reference one time dimension. I can see possibly
    creating a date table which contains all dates, link to fact as well as time dimension table. I am trying to better visualize the table layout on this one. Or are there possibily better ways of looking at this senerio
    Any idea's

    Figured this one out; going to use one time dimension - what looking too much into the details in regard to this scenerio

  • Displaying data from multiple table/column

    hello ..
    anybody can help me how to diplaying data from multiple table/ column in PHP. TQ

    Follow the "How do I SELECT, INSERT, UPDATE and DELETE data from PHP?" example from http://wiki.oracle.com/page/PHP+Oracle+FAQ and change the "select ..." query to your favourite join, e.g.
    select country_name, region_name from countries, regions where countries.region_id = regions.region_id;

  • How to read and write data in to a specified range of cells(it include multiple row & columns) in excel

    How to read and write data in to a specified range of cells(it include multiple row & columns) in excel

    CVI Comes with a sample project that explains how to read/write to a Excel file: choose "Explore examples..." in CVI welcome page and navigate to <cviSampleDir>\activex\excel folder where you can load excel2000dem.prj.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Performance question for date column

    Hi All,
    I have a select query which joins two tables with more than 20 million records each based on a where condition of year = 2006. Would creating an function based index on the date column help improve the performance. Please suggest any other alternatives. The query is supposed to return about 10 million records which is taking about 10 hrs right now. How can I improve the performance.
    Thanks

    Rob, Here is the explain plan. Any suggestions based on this information. Please refer me to any information on how to interpret this information. Thanks
    | Id  | Operation            |  Name                      | Rows  | Bytes |TempSpc| Cost  | Pstart| Pstop |
    |   0 | SELECT STATEMENT     |                            |   101K|    10M|       |   173K|       |       |
    |   1 |  HASH JOIN           |                            |   101K|    10M|  3088K|   173K|       |       |
    |   2 |   PARTITION RANGE ALL|                            |       |       |       |       |     1 |     9 |
    |   3 |    TABLE ACCESS FULL | Table A                    |   101K|  1888K|       | 87464 |     1 |     9 |
    |   4 |   PARTITION RANGE ALL|                            |       |       |       |       |     1 |     9 |
    |   5 |    TABLE ACCESS FULL | Table B                    |   156K|    13M|       | 85454 |     1 |     9 |

  • SQLPLUS multiple data entry. Very easy question for experts.

    Hi sorry to bother you again but is it the same method as in MySQL to enter multiple data at once?
    I am trying to save time by entering all the contents of a table all at once,
    For example;
    INSERT INTO Borrower (BorId, BorName, BorMaxBooks) VALUES (
    (001, 'Bob', 4),
    (002, 'James', 5),
    (003, 'Dave', 6);
    Please can you tell me where I cam going wrong and I promise I will shut up and go away.
    Thanks.

    i can! :)
    SQL> create table T
      2  (BorId varchar2(64),
      3  BorName varchar2(64),
      4  BorMaxBooks number)
      5  /
    Table created
    SQL> insert into t
      2  select '001', 'Bob', 4 from dual
      3  union all
      4  select '002', 'James', 5 from dual
      5  union all
      6  select '003', 'Dave', 6 from dual
      7  /
    3 rows inserted
    SQL> select * from t
      2  /
    BORID                                                            BORNAME                                                          BORMAXBOOKS
    001                                                              Bob                                                                        4
    002                                                              James                                                                      5
    003                                                              Dave                                                                       6
    SQL>

  • How to tune performance of a cube with multiple date dimension?

    Hi, 
    I have a cube where I have a measure. Now for a turn time report I am taking the date difference of two dates and taking the average, max and min of the date difference. The graph is taking long time to load. I am using Telerik report controls. 
    Is there any way to tune up the cube performance with multiple date dimension to it? What are the key rules and beset practices for a cube to perform well? 
    Thanks, 
    Amit

    Hi amit2015,
    According to your description, you want to improve the performance of a SSAS cube with multiple date dimension. Right?
    In Analysis Services, there are many tips to improve the performance of a cube. In this scenario, I suggest you only keep one dimension, and only include the column which are required for your calculation. Please refer to "dimension design" in
    the link below:
    http://www.mssqltips.com/sqlservertip/2567/ssas--best-practices-and-performance-optimization--part-3-of-4/
    If you have any question, please feel free to ask.
    Simon Hou
    TechNet Community Support

  • Question regarding Dashboard and column prompt

    My question regarding Dashboard and column prompt:
    1) Dashboard prompt usually work with only for columns which are in subject area. In my report I've created some of the columns which are based on other columns. Like I've daysNumber column that is based on two other columns, as it calculates the difference of two dates. When I create dashboard prompt I can't find this column there. I need to make a prompt on this column.
    2)For one of the column I've only two values 1 and 0. When I create prompt for this column, is it possible that in drop down list It shows 'Yes' for 1 and 'No' for 0 and still filter the request??

    Hi Toony,...
    I think there was another way of doing this...
    In the dashboard prompt go to Show option > select SQL Results from dropdown.
    There you need to write your Logical SQL like...
    SELECT CASE WHEN 1=0 THEN PERIODS.YEAR ELSE difference of date functionality END FROM SubjectAreaName
    Here.. Periods.Year is the column which is already exists in repository's presentation layer..
    and difference of date functionality is the code or formula of column which you want to show in drop-down...
    Also write the CASE WHEN 1=0 THEN PERIODS.YEAR ELSE difference of date functionality END code in fx of that prompt.
    I think it helps you in doing this..
    Just check and inform me if it works...
    Thanks & Regards
    Kishore Guggilla
    Edited by: Kishore Guggilla on Oct 31, 2008 9:35 AM

Maybe you are looking for