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

Similar Messages

  • Times of posts not showing correctly for my time zone

    The times of posts not showing correctly for my time zone ( I am in London UK).
    How do I fix this?
    TIA

    Your stuff>profile>edit preferences
    Barry

  • HT201250 Can I partition my external hard drive and use one partion for time machine and the other one for data that i may want to use in different computers?

    I have this doubt. I've just bought an external drive, especifically a Seagate GoFlex Desk 3 tb.
    I want to know if it is recomendable to make a partion exclusively for time machine and let another one so I can put there music, photos, videos, etc that I should need to use or copy to another computer.
    May half and half, 1.5 tb for time machine and 1.5 tb for data.
    I have an internal hard drive of 500 GB (499.25 GB) in my macbook pro.
    Any recommendation?

    As I said, yes. Be sure your Time Machine partition has at least 1 TB for backups.
    1. Open Disk Utility in your Utilities folder.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to two (2). Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed.

  • DAX: Time intelligence and filtering out blank values

    Hi all,
    Quick question.  I'm currently calculating the length of time between two dates ('today' vs [Completed Date]) in a new column.  However, I cannot get the syntax correct to filter out the blanks in the [Completed Date] column.
    My current formula is this:  =FLOOR(1. * ( today() - [Completed Date]) / 365, 0.25)
    I just need one more piece to work around the blanks.  Any suggestions on what to add?
    Thanks,
    ~UG

    Use ISBLANK
    =IF (ISBLANK([Completed Date]),BLANK(),FLOOR(1. * ( today() - [Completed Date]) / 365, 0.25))
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Calculation shows Blank or NULL in Discoverer Viewer but not in Dis.Desktop

    Hi All,
    I built a crosstab workbook. I've a calculation between rows and columns, it is a function that I created in the database and I pass parameters to it.
    In Discoverer Desktop it shows correctly. However in Oracle Viewer doesn't appear the value. What can I do?.
    I really appreciate your help.
    Regards.-

    Hi Mariano
    While you can send Oracle a DIS file they will not be able to do much with it unless they have your EUL and data. If you are able to replicate the issue using the Oracle Video Store EUL then I'm sure they would be easily able to help.
    I think the solution lies in where we have been looking together. As I have commented to another person recently with issues like this the easiest way to understand what is going on is to bring more detail data items into the worksheet and then home in on where the issue lies.
    Have you turned off the fan trap protection? If you have then Discoverer will run a query that contains a fan trap but will then not compute the totals. This is correct. If you try to compute totals with a fan trap you WILL get the wrong answer. Many users who do not understand this export the data to Excel and get Excel to compute the values. These users then say that Discoverer has a bug. In this scenario Discoverer is doing the right thing.
    So, could you be in a fan trap? If yes, then you need to resolve the fan trap. One way to test this would be to change the joins between the folders to 1:1. Discoverer will not think there is a fan trap and will more than likely compute your sub-totals and totals. Assuming the 1:1 trick works, you can either leave it in place or dig deeper, fnd out why and then fix it.
    Best wishes
    Michael

  • FEP 2010 Antimaleware action reports showing blank

    Hi,
    We have configured FEP 2010 with SCCM 2007. Every reports was working but suddenly now antimaleware action report showing blank for last week.
    When checked FEP dashboard it shows infected systems but its report is coming blank.
    So please help.

    Hi,
    The FEP DashBoard shows the data that is active in SCCM, the historical data and more in depoth reports are genrated from another database the FEP Datawarehouse, There are SQL Agent tasks that synchrinise this data and normally this error is caused by a
    problem whit these jobs. Here is a post on the error and where to start to look.
    http://social.technet.microsoft.com/Forums/forefront/en-US/57375e2c-6785-4680-a86e-99324afb4388/fep-reports-history-not-working-fepgetnewdatafepdw111-sql-job-fails?forum=FCSNext
    Regards,
    Jörgen
    -- My System Center blog ccmexec.com -- Twitter
    @ccmexec

  • HT4623 My face time is not connecting. Also my message. Keeps showing waiting for activation

    My face time and message keeps showing waiting for activation and never turns on.
    What's going suddenly after installing iOS 7.2 everything went crazy

    Back up, Erase all content and settings, Restore iPhone (downloads fresh iOS), restore from backup.  Should fix.  You will not lose texts, etc.

  • TS3274 My App Store shows 3 updates but when I go to it the screen is blank. It will not give me the option to update all or one at a time, it doesn't show the apps at all.

    My App Store shows 3 updates but when I go to it the screen is blank. It will not give me the option to update all or one at a time, it doesn't show the apps at all.

    Many people are having this problem for the last couple of days. This is a problem that Apple has to fix. If you look around the forum, you will see many, many discusssions about this and they have been going on for a few days.
    According to Fly150 in another discussion, this is a workaround - for the time being.
    If you want to update the Apps while waiting for Apple to fix Updates:
    1. Go to App Store
    2. Select Purchased
    3. Select All
    4. Scroll down to find the Apps showing update
    5. Select update on the Apps
    This should update the Apps and get rid of the update count in App Store.

  • It's been 4 days now my App Store show 2 message it means that I have to update some applications but every time I open my App Store and press update it only shows blank page but if I press genius, top charts, featured, search I can browse them

    It's been 4 days now my App Store show 2 message it means that I have to update some applications but every time I open my App Store and press update it only shows blank page but if I press genius, top charts, featured, search I can browse them

    It's been 4 days now my App Store show 2 message it means that I have to update some applications but every time I open my App Store and press update it only shows blank page but if I press genius, top charts, featured, search I can browse them

  • DAX Calculation shows incorrect results when driven from Time Slicer

    Hi,
    We have defined a DAX quarter on quarter calculation  
    PREV Q % 13F:=divide([PREV Q ABS 13F],[Prior Quarter 13F])
    Prior Quarter 13F:=CALCULATE(sum([TotalValue]), DATEADD(Time[Date], -1, QUARTER))
    PREV Q ABS 13f:=CALCULATE(sum([TotalValue]))-[Prior Quarter 13F]
    which works fine in Pivottables in Excel but when time selection is driven by a time slicer the calculation doesn't work anymore:
    Is this a but or expected behaviour? Are there other ways to use a control that affects multiple other pivot tables like the time slicer?
    Thanks for your help!
    Martin

    OK, there are some really interesting points here - i think the screenshot below best explains it:
    Time Slicers use MDX subselects to propagate the selection to the pivot table:
    SELECT .... FROM (SELECT Filter([Fact13FSample].[ReportDate].Levels(1).AllMembers, ([Fact13FSample].[ReportDate].CurrentMember.MemberValue>=CDate("2013-04-01") AND [Fact13FSample].[ReportDate].CurrentMember.MemberValue<CDate("2013-07-01")))
    ON COLUMNS  FROM  ...
    this works just fine for normal measures but seems to cause issues with time-intelligence function
    it actually causes an issue with all calculations that use CALCULATE and thereby shift the context out of the subselect
    it seems that you cannot get out of this context using DAX- at least i could not find a solution yet
    not even this works:
    All Quarter 13F:=CALCULATE([SumTV], ALL('Time'))
    the result is always limited to the subselect :/
    funny thing is that this only seems to happen with this specific subselects so i guess it is further related to MDX FILTER() or .MemberValue or CDATE()
    the only option i could currently think of is to use regular slicers
    Gerhard Brueckl
    blogging @ http://blog.gbrueckl.at
    working @ http://www.pmOne.com

  • My ipod 4G wont go past the apple logo when I turn it on - it will stay on the apple logo for few min, then blanks out and back to the apple logo.  Tried reset option/troubleshoot several times.  Also wont show up on computer at all when I plug in to USB.

    Can someone please help with my issue listed - My ipod 4G wont go past the apple logo when I turn it on - it will stay on the apple logo for few min, then blanks out and back to the apple logo.  Tried reset option/troubleshoot several times.  Also wont show up on computer at all when I plug in to USB.
    Any tips are very much appreciated.

    Place the iPod Touch into DFU mode.  This will be similar to what the factory would do to install the iOS onto new iOS devices.
    Placing it into DFU mode will allow you to "format" and install the current iOS for that device.
    To place your iOS device into DFU mode.
    First connect you iOS device to you computer.
    Open iTunes if not already open
    Now turn off your iOS device using the power swipe.
    Press the home and sleep button on your iOS device for 10 seconds.
    Release the sleep button but carry on holding down the home button.  For another 10 seconds.
    Your iOS device should now be on DFU.  Click on restore and iTunes will download the latest iOS for your device.
    Hopefully that sorts it if not, you will have to go to a service centre or call Apple Care up and get them to collect it and repair it. (replace it)  Or go into an Apple Store.

  • 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.

  • YTD calculation at product level

    Hi Friends,
    Am not sure if this is the right forum to post a BW question.
    I have a requirement to calculate YTD, however the way this has to be calculated is a different.
    We have multiple products, but for each product we have different periods(start and end period), Start period is August for all products, however the end period for each product varies.
    Product     Start period     End period
    ABC          AUG               APR
    BCD          AUG               MAR
    CDE          AUG               FEB
    The requirement is that when the user runs a report, in the selection screen if he/she selects for example a period(month) as 02.
    Then the report should show  YTD calculation from AUGUST to FEB as a total.
    Also if there are any additional values beyond the end period they should be displayed  in their respective month columns.
    Please see the example below how the report out put should be.
    Product
    Month
    No entries
    YTD
    ABC
    AUG
    100
    700
    SEP
    100
    OCT
    100
    NOV
    100
    DEC
    100
    JAN
    100
    FEB
    100
    MAR
    100
    APR
    100
    MAY
    100
    JUN
    100
    JUL
    100
    BCD
    AUG
    10
    80
    SEP
    10
    OCT
    10
    NOV
    10
    DEC
    10
    JAN
    10
    FEB
    10
    MAR
    10
    APR
    10
    MAY
    10
    JUN
    0
    JUL
    0
    Can someone please let me know how to do the above?.
    I have gone thru the forum and read threads reagrding YTD, looks like this requirement is different then the standard YTD calculations. Hence posting this.
    Regards
    BN

    Hi Kumar,
    Please tell me are the start and end periods are coming as transaction values(i.e in Target) and all the months data is available or not like continuity in the months,there should be any record with jan'14 data,no feb'14 data Mar'14 data like that.
    Regards,
    Rambabu

  • Desktop icon for a file on network shows blank in Windows 8.1, if selected the second icon from the library

    Hello, 
    I have a strange issue on my Windows 8.1 machine. The icon for for an executable file on the network shows blank, if I select the second icon from the library. (File->Properties->Change Icon and select the second icon - This file has two icons)
    If I re-create the IconCache.db, then it is showing correctly. But I do not want to do this every time. 
    Regards
    Mattehw

    It indicates your Icon Cache is corrupted and you need to rebuild it.
    Open the command prompt window, type each of the following and after every command, hit the Enter button:
    cd /d %userprofile%\AppData\Local
    attrib –h IconCache.db
    del IconCache.db
    start explorer
    S.Sengupta, Windows Entertainment and Connected Home MVP

  • Daily working hours calculation but Half an hour flexi before start of planned time & shortfall hours calculation

    Dear All,
    I want to calculate daily working hours but Half an hour flexi before start of planned time & shortfall hours calculation if a person didn't completed 9 hours job.
    We have different types of DWS, PWS & WSR for different PS/PSA & EG/ESG groupings.
    We have a requirement for Executives/Officers (E0-E8/ S1-S2) for only one PSA (1100) for only one DWS(GFLX). In this requirement I want to calculate daily working hours but Half an hour flexi before start of planned time & shortfall hours calculation if a person didn't completed 9 hours job.
    Please see the requirement and my configured DWS and PCR's in detail with example and suggest me the solution:-
    Overview
    I want to calculate (Please take the reference from DWS screenshot)
    daily working hours, but starting from first Begin Tolerance Time
    Shortfall of hours if 9 hours not completed, but again starting from first Begin Tolerance Time, although employee has come before Begin Tolerance Time
    I've configured one DWS as below,
    Requirement:-
    The planned shift timings is 9:30 - 18:30. Employees should work and complete 9 hrs in a day, but this 9 hours should be counted only from 9:00 (i.e. Begin tolerance time). It means. In time should not consider before 9:00.
    1. Suppose 1st day employee punch In time is 9:00 then he has to work up to 18:00, then only 9 hours of working will be completed & no shortfall will be calculated.
    In above case, if Out time is 17:00 then shortfall will be calculated 1.0 hours, because his working hours will be counted 8 hrs only.
    2. Suppose 2nd day employee punch In time is 9:45 then he has to work up to 18:45, then only 9 hours of working will be completed & no shortfall will be calculated.
    In above case, if Out time is 18:00 then shortfall will be calculated 0.75 hours, because his working hours will be counted 8.25 hrs only.
    3. Suppose 3rd day employee punch In time is 8:30 then he has to work up to 18:00, then only 9 hours of working will be completed & no shortfall will be calculated. (In between 9:00 - 18:00 ). Here In time is 8:30 but system should consider and count from 9:00.
    In above case, if Out time is 17:30 then shortfall will be calculated 0.5 hours, although he has worked 9 hrs.
    4. Suppose 4th day employee punch In time is 10:11 then he will be marked as Late Come(as per DWS) and then he has to work up to 19:11, then only no shortfall will be calculated, because he completed 9 hours.
    Now the below PCR is calculating Daily Working Hours,
    Now the below PCR is calculating Late Coming Hours,
    Overview
    I know that use of begin tolerance time is different in from my requirement. Please guide me if this DWS configuration will not work.
    As of now system is able to calculate Daily Working Hours (but not from the begin tolerance time), Late coming days and Late coming hours, but shortfall is not getting calculate properly.
    Please give me the idea how to write PCR for these requirement, I know that my ZDHR PCR (Daily Working Hours) needs to change or replace to fulfill this requirements.
    If you want any other details please let me know.
    Best Regards,
    Deepak

    Hi Sankarsan,
    After changing the function PTIP and I used GEN in PAR2, because in PAR3 error was coming.
    After the changes PCR is processing as below for three different IN time :
    1. when IN time is 8:45
    and in this case, ZES table No Time type is showing which is wrong because he worked from 8:45 to 18:30 it means 9:30 hours (calculation should start from 9:00 am).
    2. when IN time is 9:15
    and in this case, ZES table Time type 9002 is showing 9.25 hours which is correct because he worked 9.25 hours.
    3. when IN time is 10:30
    and in this case, ZES table Time type 9003 is showing 9.00 hours which is wrong because he worked only 8 hours.
    Pls suggest.
    Best Regards,
    Deepak

Maybe you are looking for

  • Count no. of records for a particular customer in the query?

    Hi, 1)Can anybody guide as to how do we count the number of records for a particular customer. E.g. C1 has placed 2 orders C2 has placed 4 orders C3 has placed 5 orders so in all the ODS has 11 records. Now while designing the query we need to ensure

  • Enabling VNC or Fire Wire booting

    Hello Mac People, Is there anyway to access "System Preferences" remotely? I need to check and make sure that "Remote Management" is enabled on a FULL XSERVE server running 10.4.11. I will be using a Mini-Mac also running 10.4.11; this is only going

  • Ios 6.0 -Mobile Safari Crash on web page combo box - html select

    If the combo-box on web page is empty, selecting the combo box and swiping inside the empty space or pressing the ‘Done’ button is causing the crash Incident Identifier: EB3B67A4-174D-4A22-AF07-64621BDBDEC8 CrashReporter Key:   b8f222c49c43977c429ece

  • Payment advise format

    Dear All, Can someone please tell me what is the transaction code for maintaining the payment advise forms which accompanies the cheque payment to vendor. Regards Suresh

  • No support for this question. The world is clueless

    Adobe Media Encoder CS6 6.0.3-Update Beim Herunterladen dieses Updates ist ein Fehler aufgetreten. Schließen Sie die Installation und wiederholen Sie die Installation zu einem späteren Zeitpunkt. Fehlercode: U43M1D204