MDX ParallelPeriod with Multiple Calendars

Hello,
I have a bit of a unique situation here. The cube has multiple Calendars, in that there is a M2M relationship of the standard date dimension to create the ability to have multiple different calendars (14-ish).
The problem I now have is trying to do parallel period calculations, e.g. the typical previous year calc:
(ParallelPeriod([Calendar].[Calendar].[Year],1,[Calendar].[Calendar].CurrentMember),[Measures].[MyTotal])
Is spanning multiple calendars
e.g. assume in the calendar dimension I have Calendars A, B and C
Each Calendar has 3 years of data, 2013, 2014 and 2015.
You would expect for Calendar C, Year 2013, the Previous year total to be Null or 0, however it is grabbing the total for Calendar B year 2015.
Is there a way to restrict this, so it only looks at the current calendar name selected?

Hi BeardyMan,
According to your description, you want to have the total measure to show different value depends on different calendar in date dimension. Right?
In this scenario, I suggest you using SCOPE() statement to limit different measure under different scope. Please refer to sample below:
Scope
[Date].[Fiscal].CurrentMember,
[Date].[Fiscal].[Month].Members,
[Measures].[My Total]
This = 0 ;
End Scope ;
Scope
[Date].[Calendar].CurrentMember,
[Date].[Calendar].[Month].Members,
[Measures].[My Total]
This = ParallelPeriod
[Date].[Calendar].[Fiscal Year], 1,
[Date].[Calendar].CurrentMember
End Scope ;
Reference:
SCOPE Statement (MDX)
Best Regards,
Simon Hou
TechNet Community Support

Similar Messages

  • Is there a way to change the color of your calendars in the calendar app when it has been synced with multiple calendars?

    I have just purchased an iPad 2 and I have gotten it setup to sync with my multiple calendars on Google Calendar.  But the colors I have chosen for displaying my calendars in Google Calendar are not being used when the info comes over to the iPad.  The iPad is choosing it's own colors for each calendar.   Is there a way to customize this so I know who's calendar I am looking at by color shown?  Thanks!

    Size is never included in a style for a shape.
    If you want to apply the resizing to all shapes, you can use the small flyout menu after applying the resizing to one shape, and choose Apply to all items of this type.

  • Can I have calendar alerts for only one calendar with multiple calendars?

    My wife has multiple calendars on her iPhone (mine and hers), but she would like to receive alerts/notifications only for the items on her calendar. Is this possible? (This seems to be the opposite problem from what this person experienced: http://discussions.apple.com/thread.jspa?messageID=8479193.)
    We sync with Outlook on a PC via iTunes.

    I have the very same problem. In our company, we have shared CalDAV calendars for every employee. I receive and sync those to my Mac and to my iPhone/iPod Touch; on both platforms I only want alerts for my personal appointments, and not to get alerted when my colleagues have a business lunch.
    Interestingly, in iCal on Mac OS X, there is an option "Ignore Alarms" for every single shared calendar, and I can cherry-pick those that I want to get alerted about. This is exactly the behavior I want on the iPhone, too, which regrettably is not possible (yet?).
    The other option would be to forbid alarms in shared calendars for everybody, which is not feasible, too, because people might want to get alarms without having to duplicate the date to some personal calendar first.
    So if anyone has a practical solution to this problem, I'd be happy to hear about it. Thanks!
    --Alex.

  • ICal - Need Help With Multiple Calendars

    Greetings All,
    Is there an easy and fast way to merge multiple iCal calendars into one? I have probably close to 100 calendars all due to iTunes & Mobile Me syncing! Problem is with OS X Lion it doesn't seem to be straightforward! Any help would be hugely appreciated. My aim is to merge all of these into one and then sync this across two Macs, an iPhone and an iPad.
    The only way I have found so far involves exporting each calendar one by one and this is just taking far too long to do.
    Please help!!
    Many Thanks,
    Edmond

    I want to get rid of the two arrays.
    I simply joined these two arrays into one array and I select an array subset for the xy graph but that does not work.
    Now the two data arrays get mixed again in the chart.
    I can't see what is wrong. I have tried many things like indexing the array before the xy graph, directly wiring the array to the graph etc. nothing worked.
    Please help.
    Message Edited by johanneshoer on 10-14-2009 09:45 AM
    Greetings Johannes
    Using LabVIEW 7.1 and 2009 recently
    Attachments:
    Chart Test 9.vi ‏79 KB

  • ICalendar synching with multiple calendars

    I work for different people and therefore need to keep different calendars for each person. I currently color code the different people, however, I am now looking to be able to synch up with everyone's calendars using their .Mac accounts. I have an iMac at home, which currently has 3 different users set up (one for me, one for my husband and one for shared/admin use). Question: in order to keep calendars separate and be able to synch with my various client's .MAC accounts, do I create additional users in order to keep the calendars separate?

    Thank you for your response. Here's the thing:
    I work for different people and keep their separate calendars. Therefore, when I synch to their separate .Mac to update their separate calendars, I do not want to synch everyone's calendar information on their .Mac account, but only the information pertaining to them individually. I have generally done this from their own office computers, but since I do some of this work from home, I would like to be able to synch the calendars onto my own laptop as well.
    The question is whether I need to create different user within my own laptop for each client, to do this, or is it possible to only synch a particular within one user. Or
    Does that make sense?
    I

  • Outlook 2007 - User with multiple calendars appointments do not default into her calendar

    We are on exchange and use Outlook 2007.  I have a user who has her calendar (A) and 3 others in a side-by-side format (B,C, and D).  When she goes into her calendar and clicks the icon for new appointment, the appointment always defaults
    for the D calendar and not her own.
    EDIT:  She can click on her own calendar and then new appointment and the entry goes into her calendar.  She can click back into her inbox and then back into calendar view and the default switches back to the D calendar.
    I have searched for a solution to this issue but have not been successful.  Any ideas on how to correct?
    EDIT x2 - corrected the calendar labels for clarity.

    Hi,
    Did you installed any add-ins for your Outlook? If so, try to disable your add-ins to check if the problem persists.
    http://office.microsoft.com/en-in/outlook-help/enable-or-disable-add-ins-in-office-programs-HA010034127.aspx
    Regards,
    Steve Fan
    TechNet Community Support

  • IPhone Multiple Calendars

    Can anyone tell me if Apple is working on fixing the problem with multiple calendars. Specifically if you have multiple calendars when syncd to the iphone they all show up on the same calendar with no discerning color or label to tell them apart. Also when adding an entry FROM iphone it will put this in only one designated calendar back on your computer. I am confused didn't Apple create both the iCal and iPhone? Seems like they should be able to work seamlessly.

    No one here knows what Apple is working on but if someone here is privileged to such information they aren't allowed to say. The iPhone must work with Windows applications in this regard as well as with iCal.
    The only thing you can do is provide Apple your feedback via the iPhone feedback link.

  • Financial Analytics - use of multiple calendar

    eBussiness suite is setup with multiple calendars, 2 depending of the SOB (set of books).
    The multiple calendar support for subiject areas in DAC is configured.
    Question is: What do I need to populate in the parameter $$GLB_CALENDAR_ID? I can only give in one calendar id.
    THanks for any suggestions.

    no.
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • I have a question about the calendar on the ipad2. I have multiple calendars in different colors. Some of the events are filled in with color. Others are just listed with a colored dot in front of the event. Any ideas why events ar showing up differently?

    I have an ipad2 and my question is about the calendar. I set up multiple calendars with different colors. Some of the events show up in filled color. Others only show with a colored dot in front of the event. I can't figure out why some show up one way and others show up differently? Any thoughts?

    On mine the ones that show on a coloured background are all-day events, the ones with dots and just timed events.

  • How can I share multiple calendars in iCal with several different people?

    I need to share multiple calendars created in iCal with all our staff. Do I enter their individual email addresses separated by a semi-colon or a "plus" sign or how. I tried entering all the email addresses with the semi-colon and when I go back to look at sharing, it just shows one email address.

    I am assuming that you are referring to a responsive layout that has divisions that reposition themselves according to the width of the client browser window.
    Rather than go into a teaching mode on this forum, let me point you to a nifty free Dreamweaver extension that will help you to achieve this. Have a look here http://www.dmxzone.com/go/21759/dmxzone-bootstrap?utm_source=Blog&utm_medium=link&utm_cont ent=DMXzone+Bootstrap+Released…

  • Can't get phone to sync with multiple Google Calendars?

    I set up multiple calendar accounts with Google but have run across an issue.....
    When I perform a sync from my phone it only syncs with my first "primary" calendar. The items in my "primary" calendar are the only ones that appear on Google Calendar. However when I enter them on Google Calendar and then perform a sync all the items appear on my phone.
    Any insight as to how I can get them to sync both ways?
    Post relates to: Pre p100eww (Sprint)
    Post relates to: Pre p100eww (Sprint)

    I am trying to figure this out. I added my dads calendar to mine in a regular browser, and after syncing with my phone, it shows up in the preferences in calendar view options as another calendar that is with my gmail account, and it is set to be visible in the view all calendar. but it does not show, neither does it show when you just go to view that calendar alone. i dont get why this is happening if it is there in my preferences. 
    im going to just add my dads gmail account to my calendar, but it would be so much easier if all my gmail calendars that are tied to my one gmail account would show. is palm working on a fix for this?? 

  • MDX Calculated Member With Multiple Conditions

    I need to create a calculated member in my cube that spans multiple dimensions. A current calculated member looks like this:
    [Employee Hours Category].[Utilization Category].[NON-PTO], [Measures].[Employee Hours]
    This calculated member returns all the hours an employee worked that are not PTO.
    I need to select employee hours but with multiple conditions:
    - [DIM BILL STATUS][Bill Status] equals 0
    - [Employee Hours Time Category].[Time Category] equals "Client Facing"
    - [DIM PROJECT].[Client] isn't like "Olson"
    I know this is probably pretty easy, but I'm horrible with MDX!
    Thank you!!
    A. M. Robinson

    Thank you...
    Your answer looks good but I was actually able to figure out most of it, but still looking how to incorporate a FILTER into the MDX. I would like to FILTER like this:
     FILTER ([DIM Project].[Client].[Client].Members , 
                 NOT InStr([DIM Project].[Client].CurrentMember.MEMBER_NAME, "Olson")
    Heres the MDX I have so far that is working fine:
    ([Employee Hours Time Category].[Time Category].&[Client Facing],
       [DIM BILL STATUS].[Bill Status ID].&[1], [Measures].[Employee Hours])
    Do you just wrap the whole MDX in the filter, and if so, how would that be formatted?
    A. M. Robinson

  • Icloud Control Panel on windows with multiple outlook calendars,contacts syncing with multiple i-devices

    I have one windows vista PC with Microsoft outlook with two calendars and two contacts ( family and work in each case).   My wife syncs her ipad 2 via icloud and I am about to buy an iphone but as much as I have tried I cannot find out how to sync from one set of calendar and contacts (family to my wife's ipad) and separately the other calendar and contacts (work) to my iphone via icloud (or any other way efficiently) off the same PC.   Although I have found lots of these similar sorts of issues on the forum, to my surprise I have not found this exact issue and so I have not yet found the solution.   Any help appreciated!

    Hello desert_dweller5,
    It sounds like you art trying to access a Shared Photo Stream, but you do not have one of the devices to enable your Apple ID as an iCloud account.  The following article provides information on how Shared Photo Streams work:
    iCloud: Photo Stream FAQ
    http://support.apple.com/kb/HT4486
    The article states that for privately Shared Photo Streams to work, the recipient will not only have to have an Apple ID, but it will have to be an iCloud account:
    Friends and family with iCloud accounts can view your photos in the Photos app on any device using iOS 6 or later; on a Mac in iPhoto 9.4 or Aperture 3.4 or later; on a Windows PC with Windows Vista or later and iCloud Control Panel 2.0 or later installed; or on a second generation or later Apple TV with software version 5.1 or later installed. They can also view your photos on the web if you enable Public Website in the settings or options for your Shared Photo Stream.
    Since you do not have an iCloud account and just and Apple ID, your friend can share the photo stream as a public website so that you can view it, as stated in the same article: 
    Can I share with people who don't have an iCloud account?
    Yes. If you enable Public Website in the settings or options for your shared photo stream your photos will be published to a website that anyone can view in an up-to-date web browser.
    To be able to change an Apple ID to an iCloud account, you would need an iPhone, iPad, or iPod touch with iOS 5 or later or a Mac with OS X Lion v10.7.4 or later as stated in the following article:
    Creating an iCloud account: Frequently Asked Questions
    http://support.apple.com/kb/HT4436
    Best,
    Sheila M.

  • Problems with Icloud calendar on multiple devices

    my calendar is not working correctly when I put an event on my ipad it dissapears but on my computer the event shows up numerous times. Also on my computer I am having trouble with the calendar going to the correct date on i cloud it keeps moving to a different date.

    Thank you paulfromstpeters !
    I have the same problem!
    I don't remember what I exactly did, but after some changes on a repeted event (I think I deleted some recurrens), it doesn't appear anymore on the iCloud and on the iPod (but correctly on the MacBook).

  • How to sync multiple iPhone calendars with Google calendars?

    Hi
    I have an iPhone 4S with 5 different IOS calendars setup on it.  I have linked my iPhone 4S to Outlook calendars via iClouds so when I update any of the calendars it successfully updates all the calendars in Outlook.  I now want to be able to sync all my 5 IOS calendars with Google Calendar - I don't mind not being able to 2-way sync and don't mind Google calendar being read only but I DO want Google Calendar to keep updated with any changes I make on my IOS calendars. 
    I've currently got my gmail account on my iPhone as a CalDav account but it only updates the primary IOS calendar.  I want to be able to sync all 5 IOS calendars to Google calendar and keep it updated.  How do I do this?
    Thanks
    Amanda

    Read here:
    http://support.apple.com/kb/HT5209

Maybe you are looking for

  • The status of importing TR is still running a long time

    Hi, I'm facing a problem. the status of importing TR is still running a long time(more than 1 day). I think the TR has a problem, How can I know what had happened? Which T-code can I get more informations for that? jk

  • Backup/res​tore help with nvbackup..​.need the important db files

    My palm treo 755p backups up nightly with nvbackup.  Unfortunately, I have neglected to hotsync regularly and something became corrupt in my system and I needed to hardcrash.  If I restore the entire palm, I get a corrupted startup and the palm begin

  • Sync problem after 1.0.2 update

    My iPhone freezes-up when I try and sync since the 1.0.2 update. The progress bar just shows "syncing iPhone etc" , but not sycning, contacts, music, photos, etc" The slider on my iPhone goes dim and I have to retart the iPhone using the home and on/

  • WHY are Firefox users NOT "allowed" to "uninstall" "plug-ins" ????

    Firefox simply has to make it possible for it's users to delete/remove/UNINSTALL UNWANTED PLUG-INS !!! WHY has this NEVER been a default option ???? I just don't understand.I found a page on how to "manually" delete plug-ins BUT...guess what ??? I en

  • Suggestion - better file saving options

    From online Adobe tutorials and online discussions it seems that the file saving options in PS Touch are very limited and very frustrating for many people. I gather Adobe wants us to rely almost exclusively on the 'cloud' to save files in either .psd