Ranking and Date dimensions

Hello everyone,
I am trying to sort some values descending in order with addtional time dimensions so i can prompt them on my dashboard.
I can get it to rank correctly when I omit the Date fields (Year,Qtr,Month) however, if these are present then i get the ranking based on smaller values due to the dates because OBIEE is breaking it down to the month
which have different costs associated to that date.
Example:
Field1 | Value(desc) | Rank
1001     $3,654      1
1400 $1,520      2
3501     $1,511      3
3508     $1,200      4
1601     $958     5
1401     $608     6
1602     $200     7
So when Month is present for example, my amount is not 3,654 but rather 2 rows that sum up to 3,654. I do not want that to happen, but i still want to have the fields so i can filter.
Field1 | Value(desc) | Rank | Month
1001     $1,830      1 Jan-2009
1001     $1,824      2 Feb-2009
Does anyone know how to display as the first table with the additional Date fields on affecting the row result?

Hi Darren,
According to your description, there a day and hour granularity in your fact table, so you want to a hierarchy like Hour - Day - Week - Month - Year, right?
In your scenario, you created a time table that only contains a surrogate key (INTEGER) and actual time in hours (VARCHAR). We cannot create a Hour - Day - Week - Month - Year hierarchy without ant relationship between date table and time table. As per my understanding,
you need create a foreigner key in time table, and join those table in the data source view, then you can create such a hierarchy. Here are some links about create time dimension, please see:
http://www.ssas-info.com/analysis-services-articles/59-time-dimension/1224-date-and-time-dimensions-template
http://www.codeproject.com/Articles/25852/Creating-Time-Dimension-in-Microsoft-Analysis-Serv
Regards,
Charlie Liao
TechNet Community Support

Similar Messages

  • Pie chart with two measures and date dimension navigation not working

    Hi Experts,
    Pie chart with two measures and date dimension navigation not working. Any help is appreciated.
    Thanks
    V

    Hi Deepak,
    I had time dimension in the RPD.
    I have stacked bar chart with same time dim like year & month in the report. when I go to legand and set navigation it is working fine. But not with pie chart.
    I am not not sure what is the problem. When I click on Pie chart it is not navigating to the target report. Can it be any other issues..???

  • Join With Date Dimension

    Hi,
    I have one Dimension called Caseheader and Date Dimension. In Date dimension I have date key  yyyymmdd format. I have fact table in which i am getting CaseCreationDate from Caseheader Dimension. in case creationdate it contains time as well because
    there is a requirement to do some reports based on timing.
    When I join case creationdate to date column in a data source view with date dimension i do not get any thing  and get error in cube processing as well because it does not match with case creationdate because of time. What is the best possible approach
    to resolve this issue? Do I need to add time dimension? or have a time field in date dimension?
    Could anyone suggest please?
    MH

    Thanks Christian, I have separated date and time and kept the original field with datetime as well in case if somebody wants it for reporting purpose. Thank you so much for all your help suggestions. Much appreciated. Used this code
    convert(date,ch.CaseCreationDate)asCaseCreationDate
    ,convert(varchar(8),convert(time,ch.CaseCreationDate))as[CaseCreationTime]
    Regards,
    Mustafa
    MH

  • Date and Time dimensions

    After reading the following article, I have decided to use SSAS dimension wizard for generating our Date dimension, which creates a DATETIME PK.
    http://www.made2mentor.com/2011/05/date-vs-integer-datatypes-as-primary-key-for-date-dimensions/ 
    I have also created a separate Time dimension as granularity of an hour is required.
    The Time dimension is very simple and only contains a surrogate key (INTEGER) and actual time in hours (VARCHAR).
    DimTime(TimeKey, TimeInHours)
    Our Fact table will now have a link to both the Date and Time dimension using the PK's.
    Our analysis is required by hour, day, week, month and year.
    My query is; Will this current structure cause any problems when creating MDX scripts to analyse our data (i.e. drilldown and rollup queries) Hour - Day - Week - Month - Year

    Hi Darren,
    According to your description, there a day and hour granularity in your fact table, so you want to a hierarchy like Hour - Day - Week - Month - Year, right?
    In your scenario, you created a time table that only contains a surrogate key (INTEGER) and actual time in hours (VARCHAR). We cannot create a Hour - Day - Week - Month - Year hierarchy without ant relationship between date table and time table. As per my understanding,
    you need create a foreigner key in time table, and join those table in the data source view, then you can create such a hierarchy. Here are some links about create time dimension, please see:
    http://www.ssas-info.com/analysis-services-articles/59-time-dimension/1224-date-and-time-dimensions-template
    http://www.codeproject.com/Articles/25852/Creating-Time-Dimension-in-Microsoft-Analysis-Serv
    Regards,
    Charlie Liao
    TechNet Community Support

  • How can i add the dimensions and data loading into planning apllications?

    Now please let me know how can i add the dimensions and data loading into planning apllication without manuallly?

    you can use tools like ODI or DIM or HAL to load metadata & data into planning applications.
    The data load can be done at the Essbase end using rules file. But metadata changes should flow from planning to essbase through any of above mentioned tools and also there are many other way to achieve the same.
    - Krish

  • How do I reuse my Date dimension in every fact and dimension that has dates?

    Hi, all,
    I have a fact table in the middle of a star and three dimensions.  Each of the four objects has a modified date in it.  Is there a way for me to create and reuse a Date dimension for every one of the three dimensions and one fact?  I want
    to be able to slice data by ModifiedDate from D1, ModifiedDate from D2, ModifiedDate from D3, and ModifiedDate from F1 at the same time because I have a very custom date roll-up by which I want to see the data.
    I suppose I can re-instance the Date table in the DSV 4 times, but I wanted to know if I can resolve this via a separate Date dimension.  Thanks!

    Hi,
    If say you want to slice the cube on modified date from all dimension D1, D2 and D3 using a single attribute, then try if the following works
    create a new date attribute lets say [Slice Date] in Date dimension and later use MDX scope statement somewhat like this
    Scope([Date Dim].[Slice Date].CurrentMember);
    this = (strtomember('[D1 Dim].[Modified Date]'+right([Date Dim].[Slice Date].CurrentMember.uniquename,len([Date Dim].[Slice Date].CurrentMember.uniquename)-23)),
    strtomember('[D2 Dim].[Modified Date]'+right([Date Dim].[Slice Date].CurrentMember.uniquename,len([Date Dim].[Slice Date].CurrentMember.uniquename)-23)),
    strtomember('[D3 Dim].[Modified Date]'+right([Date Dim].[Slice Date].CurrentMember.uniquename,len([Date Dim].[Slice Date].CurrentMember.uniquename)-23))
    end scope;
    Saurabh Kamath

  • Two dimension in JTable and date.

    Hi,
    Can anyone show me or teach me how to create two dimension in JTable.
    The column is time ie 12pm-1pm, 1pm-2pm.......3am-4am, and the row is monday, tuesday .....sunday.And row should consists of day and date ie monday 1/4,tuesday 2/4.....sunday 8/4.
    Thanks for any help.

    Hi,
    You cannot automatically filter members using a mapping based on the smart list. To do that work, i recommend using an UDA (User Defined Attribute) or create an attribute dimension associated to your employee dimension.
    Regards,
    David Mendele
    BI / EPM Project manager at Business & Decision
    Lima, Peru

  • Dates against rows and columns in pivot require two date dimensions???

    Hi,
    I have an Excel pivot table connected to a SSAS tabular cube.Now For this Report i want the row label area of pivot to contain Shipping Month and column label area contains the Order Months.Do i need two date dimensions for this purpose?? What is the way
    to do such kinds of Reports where the row as well as columns contain date dimension???
    Thanks.

    Hi Nimo0102,
    Based on your description, you want Shipping Month to be shown on row label, and Order Months to be shown on the column label, right? When connecting to a data base on an Excel pivot table, if we want to the dimension appear on the row or column label, we
    can drag the dimension to ROWS or COLUMNS. So in your scenario, if you have Shipping Month Order Months on your cube, you can drag it to ROWS or COLUMNS directly. Otherwise, I am afraid you need to create them on the cube.
    If I have anything misunderstood, please point it out.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Driver dimension and data load dim

    Hello ,
    Can anyone explain the difference between Driver dimension and normal dimension..(data load dimension)
    Thank You!!!

    Hi,
    Driver dimensions are the varying column dimensions that reside in the data table or file (i.e. columns such as customer, product, date etc.). Single default members from other dimensions are fixed in the POV during data load (i.e. Actual scenario is usually fixed when loading actual data).
    Cheers,
    Alp

  • Create and Populate Date Dimension for AdventureWorksDW2012

    Does anybody have scripts for DimDate for AdventureWorksDW 2012 or 2014?
    If I generate Schemas and data, it takes several megabytes. I have requirement that this should be done with script to save space. I have also need to extend the script with local calender requirements.
    Kenny_I

    If you mean to populate the DimDate table with range of dates, try the following:
    Create table #dates (
    [date] date not null
    declare @d date
    set @d ='2010-01-03'; --- change this to the start date that you want
    while @d < '2017-01-01' --- change this to the end date that you want
    begin
    set @d= DATEADD(DAY,1,@d)
    insert into #dates (date) values (@d)
    end
    select date,
    [YEAR] = datepart(year, date),
    [MONTH No.] = datepart(month, date),
    [MONTH] = case datepart(month, date) when 1 then '01 January'
    when 2 then '02 February'
    when 3 then '03 March'
    when 4 then '04 April'
    when 5 then '05 May'
    when 6 then '06 June'
    when 7 then '07 July'
    when 8 then '08 August'
    when 9 then '09 September'
    when 10 then '10 October'
    when 11 then '11 November'
    when 12 then '12 December'
    end,
    [day]= datepart( day, date),
    [weekday] = case datepart(weekday, date) when 1 then 'Sunday'
    when 2 then 'Monday'
    when 3 then 'Tuesday'
    when 4 then 'Wednesday'
    when 5 then 'Thursday'
    when 6 then 'Friday'
    when 7 then 'Saturday'
    end
    from #dates

  • Ranking and Sorting icons disabled in QAAWS

    Hello
    When I create  a QAAWS query in BO3.1, the Ranking and sorting option is disabled, thus I cannot sort or rank the data.  I checked CMC and also the security and cannot figure out whu this is occurring.
    Abhijit

    Hello,
    I am just selecting 2 dimensions and one key figure.  The data for the query is from a Universe which is build from a multiprovider cube. (BEX query)
    Even if I select a one dimension and one measure still the ranking and sorting functions are disabled.
    Is there some security which is turned off ?
    Abhijit

  • Connect a Date Dimension to a cube without relationship

    Hi everybody,
    I would like to answers to one business requirements.
    I create a cube that models the following event : a customer send a product from an agency to another customer who receives it in another agency.
    So I have a fact table with only two measures
    Amount
    Count
    which is connected to these dimensions
    Product
    Sending Date
    Receiving Date
    Sender (Customer)
    Receiver (Customer)
    Sender (Agency)
    Receiver (Agency)
    The users would like to analyse the following KPI, at a specific date :
    Number of transactions sent, the amount
    Number of transactions received, the amount
    Number of transactions pending, the amount
    To answer this business requirement, I have added a new date dimension in the cube with no relation, so that the user can select a date from this independent dimension and get the different KPIs. 
    But I don't get any results.
    Is it a good model ? How to make it possible for the user to use the independent Date Dimension to perform analyzes of different KPI ?

    Is it a good model ? How to make it possible for the user to use the independent Date Dimension to perform analyzes of different KPI ?
    Hi Meal,
    According to your description, you want to know if is it possible for the user to use the independent Date Dimension to perform analyzes of different KPI, right?
    As per my understanding, we cannot do this without relationship between dimension tables and the independent Date table. However, we can add the relationship between the added date table and the fact table Sending Date and Receiving Date column. Please refer
    to the link below to see the details.
    http://msdn.microsoft.com/en-us/library/ms175427.aspx
    Regards,
    Charlie Liao
    TechNet Community Support

  • Cube Performance and Data Explosion

    Hi Experts,
    One of the parterns developed a data warehouse application. And the DW application has some performance issue:
    when the report get the query of the high level dimensions, the performance is okey, and when the query get the very detail data in the cube, the performance gets bad.
    The aggregations and the detail data are all stored in the cube, and the cube data gets Explosion quite quickly since some detailed transaction data need to be queried and stored in the cube too.
    So, experts, do you have any good suggestion on this issue? or if the may be a better design for the cube? e.g. in DW, the cube only stores the aggregations or summary on coarse grained data and measure, for fine grained data , it can be got in ODS.
    another question, I google the architecture solution for the above issue, and someone said that if the DW is designed in a hypercube, there maybe data explosion issue, but instead of desinging the hypercube, multicube should be used, so I wonder if multicube can solve the data explosion issue, and how to solve it. And if the multicube has better performance than the hypercube or can also solve detail data query.
    Last question, do you have any experience on DW implementation on TB level Data, and any good suggestion for architecture design using Oracle OLAP or Essbase for good performance.
    Thanks,
    Royal.
    Edited by: Royal on 2012-11-4 上午4:01

    You have not asked any specific technical question. In my opinion all Oracle Datawarehouses should use Oracle OLAP option for the Aggregation strategy. Significant improvements in 11.2.0.2 (and later versions) have been made. It has become much easier now to create and maintain dimensions/cubes. On the reporting side, OBIEE 11g now understands OLAP metadata. Other reporting tools can use the CUBE_TABLE views.
    Here are some links that you may find useful.
    Comparing MVs and OLAP... Oracle White paper
    http://www.oracle.com/technetwork/database/bi-datawarehousing/comparison-aw-mv-11g-twp-130903.pdf
    Oracle OLAP Support page
    https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=1107593.1
    Three demos done by OLAP Development which explains how OLAP can help in a DW.
    http://download.oracle.com/otndocs/products/warehouse/olap/videos/intro_part_1/OLAP_Features_and_Use_Cases_1.html
    http://download.oracle.com/otndocs/products/warehouse/olap/videos/intro_part_2/OLAP_Features_and_Use_Cases_2.html
    http://download.oracle.com/otndocs/products/warehouse/olap/videos/intro_part_3/OLAP_Features_and_Use_Cases_3.html
    Main OLAP page at Oracle OTN site
    http://www.oracle.com/technetwork/database/options/olap/index.html
    Recommended Releases for Oracle OLAP
    http://www.oracle.com/technetwork/database/options/olap/olap-certification-092987.html
    Accelerating Data Warehouses using OLAP option
    http://www.oracle.com/technetwork/issue-archive/2008/08-may/o38olap-085800.html
    What's new in 11.2.0.2 database OLAP option
    http://docs.oracle.com/cd/E11882_01/olap.112/e17123/whatsnew.htm
    Oracle 11.2 OLAP Documentation (scroll down to OLAP section)
    http://www.oracle.com/pls/db112/portal.portal_db?selected=6&frame=#online_analytical_processing_%28olap%29
    Excel reporting from OLAP using Simba tool. This was developed in partnership with Oracle.
    http://www.simba.com/MDX-Provider-for-Oracle-OLAP.htm
    There is a good demo for Simba Excel tool at:
    http://www.simba.com/demos/MDX-Provider-for-Oracle-OLAP-web-demo.html

  • 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

  • How to populate member values to Year and Period Dimensions

    Hi,
    I have set up the following members in account dimension:
    Lease From (Date Type)
    Lease To (Date Type)
    Lease Amount (Currency Type)
    If I input Jan-2012 in Lease From, Nov-2013 in Lease To and 1,000 in Lease Amount, all in BegBalance->Fy12, how can I populate the 1,000 to the correponding Period and Year dimensions using business rule. I need 1,000 in Lease Amount->Fy12->Jan all way through to Lease Amount->Fy13->Nov. I do not want to create a input form with all the years and periods for monthly input as I may have over 100 lease information with different from and to dates.
    Or is there any alternate method I can get the expected results.
    Thanks.

    Hi
    This is a really complex problem! It may help you to look at the documentation around the CapEx planning module as this is Oracle's take on calculating asset depreciation etc on a similar basis (create asset in BegBalance -> NoYear and calculate which periods to poulate depreciation data in using dates, variables and rules). The business rules are presented in full in the doc below but I warn you the code is complex and not easy to understand, although you may get the principles
    http://docs.oracle.com/cd/E17236_01/epm.1112/cpx_admin_11122.pdf
    You ought to be able to do something using dates and period / year indicies (remember dates are stored in Essbase in something like the format YYYYMMDD, e.g. 20121107 so should be easy to compare whether the date for the period is within range of the dates entered).
    I have also tried to do something similar using smartlists in a prototype before but this proved a bit more complicated and not necessarily any more reliable than using dates
    Hope this helps
    Stuart

Maybe you are looking for

  • WIA service not started

    Hi, I tried to Scan from Photoshop and this mesage prompted "No WIA compatible devices were detected. Check that your devices is plugged in...". I found that the Windows Imaging Acquisition is not started in the services.msc list. What's the issue he

  • Graphics between windows 8 and 8.1

    Hi guys i am having a pc with two os xp and 8 . In xp my graphics memory is 128 mb and 8 my graphics is 830 mb if i am update 8.1 means what about my graphics memory ? Will it increase or not ?

  • 'Exists in Hierarchy' column and table name

    Hi All In Position hierarchy form .we all find exists in hierarchy flag ..when checking for hierarchies , can any one help me ..what is the table and column name which will tell whether position exists in hierarchy or not

  • Itunes not launching on mac after installing osx lion

    Hi there, can any1 help me out with this problem, stayed up all night tryna figure out the problem but nothing, and it sends me this error message: Process:         iTunes [690] Path:            /Applications/iTunes.app/Contents/MacOS/iTunes Identifi

  • IPhone4 is not full recharged but showing "unplugged" (fully recharged) icon

    Help please --- recently, when I connect my iPhone4 to the charger, it usually (70%) shows the "unplugged" (fully recharged) icon but I find it is actually recharging (but very very slow) When I use the same cable and connect to the PC, no such probl