Time Intelligence current Week

Hi I am new to performance point and I'm having difficulty to understand what it going on with the the time intelligence
if I create  a date range and in the formulas I put the following
day
day-1
year
week
I get the following results
day = [Date Primary Date].[Year - Quarter - Week - Date].[Date].&[20140607]
day-1 = [Date Primary Date].[Year - Quarter - Week - Date].[Date].&[20140606]
year = [Date Primary Date].[Year - Quarter - Week - Date].[Year].&[20140101]
week = [Date Primary Date].[Year - Quarter - Week - Date].[Week Name].&[2014-03-09]
I understand them all apart from the week which doesn't give me the current week which should be 2014-05-31
Why is this happening?

I went back to the setting of the time intelligence and reconfigured the date members in the data source

Similar Messages

  • SSAS Multidimensional Time Intelligence YTD calculation showing BLANK for Date level

    Hi there,
    I am working with SSAS Multidimensional Cube, basically I have defined a Time Intelligence calculations for just YTD in the Cube, the calculation was created in the Calculations tab of the cube as follows:
    /*Year to Date*/
        [Dimension Dim Time].[Calendar Dimension Dim Time Calculations].[Year to Date],
    [Dimension Dim Time].[Year].Members, 
        [Dimension Dim Time].[Date].Members   
      =
      Aggregate(
                 { [Dimension Dim Time].[Calendar Dimension Dim Time Calculations].[Current Dimension Dim Time] } 
                 PeriodsToDate(
                                [Dimension Dim Time].[Calendar].[Year],
                                [Dimension Dim Time].[Calendar].CurrentMember
    My Calendar hierarchy is as follows:
    Year -> Quarter -> Month -> Week -> Date
    The problem I have is that when I am at Date level I am not getting the cumulative YTD value, instead I am just getting blank cells:
    Could anyone help me defining a Time Intelligence YTD calculation that works for all levels including the Date (highlighted in yellow above)?
    Thanks and best regards,
    Joss

    The only strange thing is the MDX script, I would have used this one instead (sse below) - but if this is not the issue, I would suggest you to isolate the issue in a simpler MDX script removing any other calculation.
    Also take a look at the DateTool solution for these calculations - I really don't like the wizard provided by the development environment, it has other issues but not something that should affect your calculation:
    http://www.sqlbi.com/articles/datetool-dimension-an-alternative-time-intelligence-implementation
    /*Year to Date*/
        [Dimension Dim Time].[Calendar Dimension Dim Time Calculations].[Year to Date],
        [Dimension Dim Time].[Calendar].Members, 
        [Dimension Dim Time].[Date].Members   
      =
      Aggregate(
                 { [Dimension Dim Time].[Calendar Dimension Dim Time Calculations].[Current Dimension Dim Time] } 
                 PeriodsToDate(
                                [Dimension Dim Time].[Calendar].[Year],
                                [Dimension Dim Time].[Calendar].CurrentMember
    Marco Russo http://ssasworkshop.com http://www.sqlbi.com http://sqlblog.com/blogs/marco_russo

  • Create Time intelligence Filter like performance point

    Hi in my cube I have some attributes like in my DIM Calendar such as  
    today,yesterday, currentweek,last week, monthtodate etc.
    I would like to create a Time intelligence filter/hierarchy similar to how you can in performancepoint but it is actually a hierarchy in the DIM Calendar dimension.
    Is there anyway this can be done?
    Regards

    I do something similar in many of my date dimensions.  All I do is add a few columns on my Date table view to provide values for CurrentDay, Yesterday, SameDayLastYear, YesterdayLastYear etc.
    You can do the same sort of logic for weeks and months.  Note, this won't do MTD etc, but you can do that in the cubes Time Intelligence.  The advantage of the CurrentDay, CurrentWeek, CurrentPeriod, and CurrentYear attributes is that reports can
    be relative in time.  ie, the filter can be a multi-select of this period and last period, showing weeks on columns, which will have 5-9 weeks.  Always being the last 5-9 weeks, without the user having to change the current period etc.
    See my blog for more information and examples.
    http://richardlees.blogspot.com.au/2014/11/relative-dates-today-yesterday-lastweek.html 
    Hope that helps,
    Richard

  • Create an Activity Report for Current Week

    I would like to create a activity report for the current week. The trick is that if the weekday is Wednesday or earlier (Sunday being the first day of the week), the report shows last week's activities; but if the weekday is Thursday or later (Saturday being the last day of the week), the report shows the current weeks activities.
    I have a filter that works in Access but does not seem to work in Siebel. It does just what I explained above:
    Between CDate(Int((IIf(Weekday(Now())<=4,Now()-(6+Weekday(Now())),Now()-(Weekday(Now())-1))))) And CDate(Int((IIf(Weekday(Now())<=4,Now()-Weekday(Now()),Now()+(7-Weekday(Now()))))))
    Thank you,
    David
    Edited by: DavidE on Oct 7, 2008 4:17 PM

    David,
    try this:
    case DAYOFWEEK(CAST(Activity."Planned Start Time" AS date))when 1 then timestampadd(sql_tsi_day,1,CAST(Activity."Planned Start Time" AS date)) when 3 then timestampadd(sql_tsi_day,-1,CAST(Activity."Planned Start Time" AS date)) when 4 then timestampadd(sql_tsi_day,-2,CAST(Activity."Planned Start Time" AS date)) when 5 then timestampadd(sql_tsi_day,-3,CAST(Activity."Planned Start Time" AS date)) when 6 then timestampadd(sql_tsi_day,-4,CAST(Activity."Planned Start Time" AS date)) when 7 then timestampadd(sql_tsi_day,-5,CAST(Activity."Planned Start Time" AS date)) else CAST(Activity."Planned Start Time" AS date) end
    This gave me the sunday of the week. You should be able to modify this format for your purposes.
    cheers
    Alex

  • How to drag drop a calendar item to a time in next week ?

    Hi
    creating a event through a big menu is fine ... but a very elegant and quick way is to select the cells and write the event. similarly, drag-drop a event is super easy way to re-schedule an event to another time. when i have 20-30 events to re-schedule from current to next week, drag-drop is best.
    however, i am unable to do that. when i drag drop, i cant drop it to next week (i am using weekly view to be able to select any time of destination day for drop - the bi-weekly or monthly views don't allow choice of destination time)
    this could be implemented in two ways :
    1. in current weekly view, if the drag crosses the boundary, calendar shifts to the next (or previous) week. and then i drop the event.
    2. there can be a option to see upto 2 weeks in columns just like 1 week view. i understand that the columns will be too tight but the fullscreen option makes it very usable.
    or, you can suggest your own work-around.

    instead of using target, try using currentTarget...
    event.currentTarget.startDrag();
    event.currentTarget.stopDrag();

  • Current date, first day of month, last day of month, current week, current

    Hi All,
    may be the question will sounds basic for your guys, I am connecting via MDX a cognos reportnet on a BW 3.0B..due to loads of limitations on filtering via MDX on 'business date/time functions' , I would need to create in the infoqueries that are my data sources, the following additionnal objects:
    - current date
    - first day of current month
    - last day of current month
    - current week
    - current year
    I do not want prefiltered infoqueiries but object with these single values so that from reportnet I can have something like: OCALDAY between 'first day of current month' and 'last day of curent month'
    Is there standard fonction for this under BW/BEX or if we need to developp functions has nayone some code examples.
    thanks a lot for your great input
    David

    Hi,
    In universe level if you want implement the requirede functions then you have to write custom sql and if you want to implement them in Reporting level then most of the functions are available to you. e.g. Quarter,Month, Year, Current Date....
    Cheers,
    Suresh A.

  • How to get the current week from sysdate?

    Hi sir,
    i want to know how to get the current week from sysdate?
    thanks

    Hi Nicolas
    It seems you like to check my post and also make commend ;) thanks for your attention
    Have you ever read the posts above and given solutions ?Yes, I did
    Have you read the docs ? Yes, I checked
    What's the added value here ?Did youYou shared doc with solution(long one), I shared short one which point same solution(Check what Joel posted)..So what is benefit, As you can guess oracle docs are sometimes become so complicated as specialy for beginner...(At least it was like that for me and Belive me somedocs are still sooo complicated even for oracle coworkers ) But for you I dont know ;)
    => Why writting the PS in bold ?Why.. Let me think... Ohh Maybe I am looking some questions(many) and even user get answer they should not changed status so I am reading some posts and try to get problem and loosing time..
    So I am putting that PS wiht BOLD because I dont wanna lose time my friend ;) Because While I am trying to help ppl here In same time I am trying to giving support to my customer prod systems. Which mean time is very important for me...
    Hope my answer could satisfy you..
    One important PS for you.. You may not like my posts (or someone) but my friend I become tired to read&answer and make commend to on your comment which is about my posts.
    I am not newbie in forum(At least I fell like that) and I belive I know how I should make post..
    Thank you
    Regards
    Helios

  • Time Intelligence DAX functions are not working in Tabular model

    Hello,
    I've implemented a simple tabular model using SQL Server 2012 SP1 SSDT with a date dimension that  has an active relationship with the date key in the fact table and has met the criteria for a date dimension to the best of my knowledge, i.e. no missing
    dates, etc.
    However, when I add a calculated measure in the VS project using any time intelligence function, i.e. =CALCULATE(SUM([NewPatientTotal]),TOTALYTD(DimDate[Date])), the calculated measure only returns the value of the current member, i.e. SUM(NewPatientTotal])
    without throwing an error.  This is happens for all time intelligence functions!
    Are there any best practices that I've missed? I've scoured the SSAS forums to no avail.
    Thanks,
    Ben
    Ben Lezin

    You probably forgot to use the "Mark as Date Table" on the DimDate table.
    Marco Russo (Blog,
    Twitter,
    LinkedIn) - sqlbi.com:
    Articles, Videos,
    Tools, Consultancy,
    Training
    Format with DAX Formatter and design with
    DAX Patterns. Learn
    Power Pivot and SSAS Tabular.

  • Report Issue: Previous Weeks, Current Week and Next Week Values

    Hello Folks,
    this is a typical requirement...at-least typical for me..
    we have 20 weeks of data at weekly level. we have four Metrics out of which two are coming from Database and rest two are calculated metrics.
    Metric0: On Hand Qty
    Metric1: Past Qty
    Metric2: sell Qty
    Metric3: unsell qty
    Metric4: Total Qty
    the report will always be shown for 20 weeks, but depending on whats my current week, all the past weeks should be flagged as Past Week. (so i wrote a case statement for this). for Instance: I am in Week11, so my weeks in should be Past Week, Wk11, Wk12.........Wk20.
    Metric 1 is always dependent on result of Metric4 (This is the Complexity) per week basis
    Metric1 for Past weeks value in Week Column will be wk1 to wk10 On Hand Qty (fox ex: 80)
    Metric4 for Pass Weeks Value in Week Column will be Metric1 for Pastweeks + Metric2 for Past Weeks (For Ex: 20) (Past weeks mean wk1 to wk10)
    value of Metric4 is now 100
    Metric1 for Week11 Now should 100 (From Past weeks Calculation)
    Metric4 for Week11 will be Metric1 for Week11(100) + Metric2 for Week11(10) + Metric3 for Week11 (10)
    Now...Metric1 for Week12 will be 120 which is wk11 total (100+10+10) and goes on Until Week 20
    Any Ideas how to achieve this in obiee 10g
    Thanks
    Rake

    Please try out in this way....
    Database level --Create opaque view & procedure or function  to get the week total,week ago total, current week , Past week ,future week & do rpd modelling and use PIVOT VIEW.
    At answers:
    1.Here Previous week M4 is the current week M1 which means it is a cumulative value carried forward week by week.
    2. M2 & M3 are direct database columns.
    3. You have time hierarchy with WEEK Level.
    M1 - ago(rsum(m2+m3),weeklevel)
    M4- RSUM(M2+M3)
    week -AGO(RSUM(M2+M3)- M2-M3-RSUM(M2+M3)
    w1-0-10-20-30
    w2-30-11-21-62
    w3-62-12-22-96
    Now you can PIVOT IT to get in
    W1-W2-W3
    M1 0 - 30-62
    M2 10-11-12
    M3 20 -21-22
    M4 30 - 62-96
    NOW PASTWEEK (W1-W10), CURRENT WEEK(W11)-W12
    1.as you see cumulative here you need to use BINS.means ( case when week <= currentweek(maybe variable) then prior) else week)
    2. UNION - combine similar request - First cirteria week <= w11 and second criteria week > week 11 --combine pivot it. Use sum agg in fx criteria1.
    Hope this should solve your pblm at answers.
    Edited by: MK on Oct 27, 2011 12:48 PM

  • Performance Point Filter Scorecard by Time Dimension (without Time Intelligence)

    Hello,
    I use Performance Point 2010 and want to build a Performance Point Dashboard with Scorecard. My requirement is to provide a List of Years as a Filter for a Scorecard.
    In the Scorecard I have a KPI which I want filter by Time Dimension. I can do this when I use "Time Intelligence" and "Time Intelligence Connection". But I want to use the "Member Selection Filter" to filter the Scorecard
    KPIs by Years (Selected from a List).
    I created a "Member Selection Filter" with certain Time Dimension and put Filter to a Dashboard. In my KPI Mapping Source I added a "new Dimension Filter" and choosed the same Time Dimension as
    in the "Member Selection Filter".
    When I try to connect the "Member Selection Filter" to my Scorecard, I can only choose the "Curent Date Time". As I know "Current Date Time" have to be used when Time Intelligence Filter is in use.
    How I have to connect the Scorecard with the "Member Selection Filter"?
    Thank you very much

    Hi ShebUK,
    I don't think we can achieve this requirement on the front end, but you can discuss this issue at the following forum:
    http://social.technet.microsoft.com/Forums/en-US/home?category=performancepointserver
    I'm not familiar with PerformancePoint Services and not sure that we can implement linked dimension to achieve this. A linked dimension is one that exists in one Analysis Services database, but reused in another Analysis Services database of the same version
    and compatibility level. For more information, please see:
    Define Linked Dimensions: http://msdn.microsoft.com/en-us/library/ms175648.aspx
    Hope this helps. 
    Regards,  
    Elvis Long
    TechNet Community Support

  • Getting the exact date of current week and current month

    I would like to know is there any methods to know the exact date of the current week and current month?

    //use this function like this
    //String date = getNow();
    public static String getNow()
         Calendar cal = new GregorianCalendar();
         // Get the components of the time
         int hour24 = cal.get(Calendar.HOUR_OF_DAY); // 0..23
         int min = cal.get(Calendar.MINUTE); // 0..59
         int sec = cal.get(Calendar.SECOND); // 0..59
         // Get the components of the date
         int year = cal.get(Calendar.YEAR); // 2002
         int month = 1 + cal.get(Calendar.MONTH); // 0=Jan, 1=Feb, ...
         int day = cal.get(Calendar.DAY_OF_MONTH); // 1...
         String timeStamp = String.valueOf(year) + "-" + addZero(month)+ "-" + addZero(day)
              + " " + addZero(hour24)+ ":" + addZero(min) + ":"+ addZero(sec) + ".0";
         return timeStamp;
    public static String addZero(int num)//this function works with the getNow() function
    //all it does is adds a zero to an int if its less then ten
         String val = "";
         if(num < 10)
         val +="0"+num;
         }else{
         val = String.valueOf(num);
         return val;
    }

  • ASCP Planned orders recommendation date for current week

    Dear Experts,
    I am facing the below issue in Decentralized ASCP workbench.
    In the forecast demand date is 18-04-11, 25-04-11, 02-05-11 and so aon (Weekly buckets).
    After launching plan today (18-04-11), Recommendation in workbench are showing due dates as 19-04-11, 25-04-11, 02-05-11 and so on.
    The question here is, Why the current week demand is shifting one day (19-04-11). Business requirement is today (18-04-11).
    Appreciating your valuable soluation.
    Note:
    (We checked planning time fence. Items having the value 0, 1 are also giving the same result)
    Regards,
    Ramesh

    Sandeep Gandhi,
    Yes, ASCP can not schedule anything in the past but it will suggest planned orders for today (Plan run date) for the past demands.
    Example: Forecast Demand due date : 16-04-11.
    when we run the plan today, ASCP have to suggest planned order for today's due date (18-04-11)
    But we don't know why it is shifting to 19-04-11 (tomorrow).
    Your valuable suggests will be very helpful
    Regards,
    Ramesh

  • ICloud password disabled - five times in three weeks

    Is anyone else having this highly annoying problem? Apple keeps telling me my iCloud password has been disabled, which means I keep having to reset it on all of my devices. It happened again today - and it all started a few weeks back when Apple disabled my first password, presumably after deciding that it wasn't secure enough.
    I'm using MacBook Pro; iPhone 4S; iPod Touch 4.
    And I am currently based in Cambodia, so phoning the US isn't really on the cards.
    I'd be grateful to anyone out there who can help.
    Thanks in advance.
    Rob

    And it happened again today - so that's six times in three weeks.
    Yesterday I made sure to update the password for iCloud and iTunes store on all three devices - MacBook Pro, iPhone 4S and iPod Touch 4 - and this morning I got the same message again, saying my account has been disabled and I need to reset my password.
    As mentioned yesterday, any assistance on resolving this would be much appreciated.
    Cheers,
    Rob

  • How to get data for current week and previous week using customer exit in Bex.

    Hi everyone,
    I have a scenario in which I need to display data for current week and previous week (based on "sy_datum" the program has to calculate current week and previous week) in Bex using  Customer exit. I have created one variable in Bex Query Designer and I have written code for the variable in CMOD. But it is not working fine, (I know that we can do the same by using offset value in Bex). Can some one guide me how to achieve my requirement using customer exit.
    Thanks in Advance,
    G S Ramanjaneyulu.

    Hi krishna,
    Thanks for your quick reply, can you have a look at my code,
    case i_vnam.
    WHEN 'ZPWK_CWK'.
    ranges : pre_week for sy-datum.
    data : start_date type DATS,
           end_date TYPE dats .
    ************FM TO GET FIRST DATE OF CURRENT WEEK ************************
    CALL FUNCTION 'BWSO_DATE_GET_FIRST_WEEKDAY'
      EXPORTING
        DATE_IN  = sy-datum
      IMPORTING
        DATE_OUT = start_date.   " WEEK FIRST DATE
    end_date = START_DATE + 6.   " WEEK LAST DATE
    END_DATE   = START_DATE - 1.   " PREVIOUS WEEK END DATE
    START_DATE = START_DATE - 7.   " PREVIOUS WEEK START  DATE
    **********PREVIOUS WEEK DATES IN PRE_WEEK******************
    pre_week-SIGN   = 'I'.
    pre_week-option = 'BT'.
    pre_week-LOW    = START_DATE.
    pre_week-HIGH   = END_DATE.
    APPEND  pre_week.
    CLEAR : START_DATE,END_DATE.
    endcase.
    Regards,
    G S Ramanjaneyulu.

  • Limit values shown in Parameter based on current week

    We have a requirement wherein a parameter can be chosen depending on the current week number.
    For example, today is Feb 3, 2015 (WEEK NUMBER 6), the parameter dropdown should only show
    Week 1
    Week 2
    Week 3
    Week 4
    Week 5
    Upon choosing a specific week, i.e. Week 2, SSRS report will show data where Created By matches the dates in Week 2 which is from January 4, 2015 to January 10, 2015 (SUNDAY is the first day week)
    ----------------------- Sharepoint Newbie

    Hi 120613,
    Because you are using the sharepoint list as the datasource and have some limitation when using query in the dataset, so I recommend you to take reference of the alternative method below which will not effect the filter of the data, you can create an calculated
    field which will use to create the week parameter, the values of the Week list are before the week number of the today's date and get based on the date field in the report.
    Details information below for your reference:
    Create an new dataset(DataSet2) to add the query which have the same structure as in the main dataset but only contain the field "Date".
    Right click the DataSet2 to select the "Add Calculated field" and create an new calculatted fields: name : "Week" and using expression below to get the value(The value will be the week number before the current date's week
    number):
    =IIF(DatePart("ww",Fields!date.Value)<DatePart("ww",Today()),DatePart("ww",Fields!date.Value),Nothing)
    Create the parameter week based on the Calculated field "Week", specify both the Available value and default value by "Get Values from a query"
    Add the filter in the Dataset as below:
    Expression:=DatePart("ww",Fields!Date.Value)
    Operator:In
    Value: [@Week]
    Preview you will got the result as below:
    If the parameter is Multiple and you got some duplicate values, please reference to the article
    Visakh16 have provided.
    If you still have any questions, please feel free to ask.
    Regards
    Vicky Liu
    If you have any feedback on our support, please click
    here.
    Vicky Liu
    TechNet Community Support

Maybe you are looking for

  • Static Interface Methods in ABAP

    Hello, I'd like to know what sense it makes to define static methods in an interface. My understanding is, that an interface can only be used with an instance of a class implementing that interface. So I always need to have an instance and thus, stat

  • Unsure the correct procedure to follow.

    Yesterday BT or a department of BT came out to our street and replaced a telegraph pole.  This pole is from what I can see is at the beginning of the chain which then connects on to the rest down the street. They have quite clearly changed some of th

  • Windows Installer Service Error - Windows 7 + iTunes 10.2.2

    This is the same type of message posted in various places with the following error: The Windows Installer Service could not be accessed.  This can occur if you are running Windows in safe mode, or if the Windoews Installer is not correctly installer.

  • How do you tell difference between16MB Cache or 32 MB Cache HDD

    Hi All, Please can you tell me how I tell if the drive I am purchasing is 16MB cache or 32 MB cache version. I am buying 10 x 1T Seagate barracuda 7200.12 drives. The model number is ST31000524AS They told me they are 32MB cache but i suspect they ma

  • BAPI to Post MIGO deatils with Excise Deatils

    Is there any BAPI in SAP which can do both Goods Movement (101 ) and  posting of Excise details.? BAPI_GOODS_MOVEMENT_CREATE. doesn't have excise details.