Help with setting a MDX goal expression in SSAS

Our data is updated monthly and the last date of available data can be anywhere from 45-75 days behind.  For example, data is current through 6/30/2014
as of 8/25/2014.
I have a Time dimension hierarchy named [Calendar] with [Year]>[Half Year]>[Quarter]>[Month]>[Date] 
I have a measure, [Measures].[Fatalities] set as a calculated member.
I have a KPI with [Measures].[Fatalities] set as the Value Expression. My issue is with setting up the goal expression.
I am trying to set a goal expression that is a percent reduction for a 5-year baseline average (Year-7:Year-3). So for the current year (2014, with data through
June 2014), the goal would be a 20% reduction of the average of the Jan-Jun 2007, Jan-Jun 2008,Jan-Jun 2009,Jan-Jun 2010,Jan-Jun 2011.
I have set up the following MDX as the goal expression:
.8*((
([Measures].[Fatalities],
PARALLELPERIOD([Time].[Calendar].[Year],7,[Time].[Calendar].CurrentMember))
+
([Measures].[Fatalities],
PARALLELPERIOD([Time].[Calendar].[Year],6,[Time].[Calendar].CurrentMember))
+
([Measures].[Fatalities],
PARALLELPERIOD([Time].[Calendar].[Year],5,[Time].[Calendar].CurrentMember))
+
([Measures].[Fatalities],
PARALLELPERIOD([Time].[Calendar].[Year],4,[Time].[Calendar].CurrentMember))
+
([Measures].[Fatalities],
PARALLELPERIOD([Time].[Calendar].[Year],3,[Time].[Calendar].CurrentMember))
)/5
The problem is that the goal is taking the entire year average at the year level of the Calendar hierarchy.  For example, in the attached screenshot, the
Fatalities Goal would be empty when the fatalities is empty, and more importantly, the goal at the Year level of the Calendar hierarchy would only be the sum of Jan-Jun goal.  The Fatalities Goal in this example should read 549.28 at the Calendar 2014
Year level and the status would still be green.
http://i.imgur.com/peHD9Wl.png

you might find this app interesting: http://ivolume.en.softonic.com/mac.

Similar Messages

  • Help with Setting Previous Month Date Parameter for SSAS via SSRS

    Hi All,
    Firstly, any assitance is greatly appreciated.
    Now, I am working on developing a report for a business area that will be sent on the first of every month. The report will contain data for all records created in the previous month, current year.
    I have been able to successfully implement a default year parameter, which will default to current year-
    ="[REFERRAL LODGEMENT DATE].[CAL YEAR].&["+CSTR(Year(Today))+"]". However, when I attempt to set a previous month paramater it is not setting when the report is generated. The code I have used
    is as follows: 
    ="[REFERRAL LODGEMENT DATE].[CAL MONTH NAME].&["+CSTR(Month(Today)-1)+"]"
    Cheers

    Before you spend more time trying to fix the parameter, let me suggest that you can write MDX to come up previous month data.
    if you can't go that route, couple of things to consider for your approach:
    1) don't subtract 1 from January that won't work. you'll need to handle it using the ssrs expression.
    2) when you use the month function it's going to return a month index so effectively you are passing something like [REFERRAL LODGEMENT DATE].[CAL MONTH NAME].&[7] to SSAS, is that the current format?
    you can use the MonthName function to get month names but again make sure that the formatting is right.
    to see the parameter value, you can display it on the ssrs report and see if it's the right format.
    Paras Doshi (Blog: ParasDoshi.com | Twitter:
    @Paras_Doshi )

  • Can anyone help with setting up AirPrint on my iPhone 4

    Can anyone help with setting up AirPrint on my iPhone 4.  Printer is ready.

    you have a compatable printer correct? http://support.apple.com/kb/ht4356
    if you do may i introduce you to a hassel free app for your mac called printopia i use it also very easy to set up and use
    http://www.udeo.com/mac/printopia/
    hope thats helped
    Goody

  • Purchased extreme to replace modem/router DSL used telephone cord need help with set up

    Prior to purchasing Airport Extreme had a standard modem/ wireless router from ATT for DSL. I have two macbooks both dropped connections while online with older modem.
    Airport Extreme purchased to correct connection issues I need help with set up. The older modem just used telephone cord. I tried to use telephone with extreme it did not work.
    How do I get extreme to work as the modem and router ?

    How do I get extreme to work as the modem and router ?
    you can't. the extreme is only a router. you need a separate modem (or disable the wireless part of your old router and use it as a modem - if that's possible).

  • I need help with setting up time machine for backup

    I would like help with setting up time machine for backup.

    You will need an external hard drive (formatted for a Mac).
    Then you plug it in and go to system preferences>time machine and select the external HD and turn it on.
    The backups are automatic.
    Barry

  • I need help with setting up my Sun Java Studio Creator

    Hello all, i need help with setting up the Studio Creator, i"m new to all that staff so is there anyone to help me just a little with all that if yes email me at [email protected] or get me on AOL Instant Messanger with the screen name: wretch17
    thanks :-)

    Hi,
    Welcome to the Creator community! Thanks for your interst in Sun Java Studio Creator. Please feel free to post any question related to creator on this forum .
    Take a look the creator website at
    http://developers.sun.com/prodtech/javatools/jscreator/
    CreatorTeam

  • Need help with Set-ADUser command

    I need a little help with the following command. Im new to PS and I have found this command but it is only one user at a time. I need to be able to update ALL users in AD.
    My goal is this. Someone before me set all Users Home numbers to 1234567899 and I need to remove that and leave it blank. The command below allows me to do that but only one user at a time by entering their SAMID.
    Is there a way to do this for everyone in AD ?
    Set-AdUser –Identity SAMID –HomePhone $NULL

    Yeah sure - 
    Get-Aduser -filter * -properties SamaccountName | Select SamAccountName | % {Set-Aduser -identity $_.SamaccountName -HomePhone $null}

  • Need help with set-up process

    Hi there, I am not tech expert hence I would require some help and clarifications. I bought an airport express recently. I own a Acer Netbook running on Windows Vista, iPad wireless version and a iPhone 3Gs.
    My purpose of buying the airport express was to create another wireless network and because I travel, I would like to use the airport express to allow my iPad and iPhone to connect wirelessly as most of the hotels only provide me with an Ethernet cable.
    Questions are....
    1) How do I do the initial set up? I cannot seem to set up my airport express using my netbook. It can't seem to detect. I have followed the following instructions.
    - Install the airport express utility.
    - Plug the airport express for power.
    - Open the utility, it has detected the base station.
    - Selected the option on setting up a wireless network.
    - It configured on its own.
    However, it doesnt work now, what do I do? Anybody who has simpler instructions for a noob like me?
    Also, once I am done with this initial set up and when I go overseas, is it as simple as plugging in their ethernet cable into my airport express and I can connect my ipad and iphone wirelessly?

    Welcome to the discussions!
    +My purpose of buying the airport express was to create another wireless network and because I travel, I would like to use the airport express to allow my iPad and iPhone to connect wirelessly as most of the hotels only provide me with an Ethernet cable.+
    +1) How do I do the initial set up? It can't seem to detect.+
    The AirPort Express is broadcasting a default wireless network with a name like Apple Network xxxxxx. You need to log on to this wireless network on your PC first, then open AirPort Utility to configure the device.
    Any Windows box is going to have issues with the Windows firewall blocking an attempted connection or your anti-virus software may be doing the same thing. You may need to turn both of these off in order to establish a connection between AirPort Utility and the AirPort Express.
    You might also try to connect an ethernet cable directly from the computer to the AirPort Express.
    *Open AirPort Utility - Click Manual Setup*
    *Click the Base Station tab* below the row of icons
    Name your Express, assign a device password and adjust Time Zone settings
    *Click the Wireless tab*
    Wireless Mode = Create a wireless network
    Wireless Network Name = Your choice
    Radio Mode = 802.11n (802.11 b/g compatible)
    Channel = Automatic
    Security = WPA2 Personal or WPA/WPA2 Personal
    Password = Your choice
    Confirm Password
    *Click the Internet icon*
    Connect Using = Ethernet
    Connection Sharing = Off Bridge Mode
    *Update to save settings*
    When you are at the hotel, connect an ethernet cable from the hotel's jack to the AirPort Express and power up the Express. Open your browser and hotel's log in page will appear so that you can agree to terms and pay the fees.

  • Need help with new Time Capsule/Airport express setup!

    I just hooked up a 500g time capsule to replace an airport extreme, and now my airport utility on my MacbookPro Retina no longer recognizes the airport expresses I had on my network for airplay purposes.  Can anyone help with this issue?

    Instead of a switch you need a wireless router, because your modem will only assign one public ip address to the switch and that ip address will be forwarded to any one computer at a given time...You should replace the switch with a wireless router and it should resolve your concern...

  • Need Help with setting up this Filter

    Hi,
    I need help making a filter sound like the one used in this youtube song.
    I tried setting it up but I've had no success; even though I know for a fact that this filter was made in Logic Pro 9 according to the maker of this song.
    I think there might be a bit of 'Fuzz-Wah' in there too but I've never really used that effect so any tips on that would be great, too.
    Link: http://www.youtube.com/watch?v=tf017M8SZZE&feature=plcp
    Any help with this would be widely appreciated.
    Thank you :-)

    It sounds like a simple hi Q filter sweep to me but getting close to the original synth sound that it is being used on is the challenge. It might well be that it is the filter on the synth itself is what is being swept. Either way, turn up the filter resonance on a band pass filter and sweep it with the lfo or adsr to modulate the filter cutoff if its the synth filter, or automate the filter frequency  sweep if you use the channel filter.

  • Help with set(index, object) please / new to java

    private static void setDobject(Rectangle [] setrect)
              LinkedList<Rectangle> rects = new LinkedList<Rectangle>();
              Rectangle myrectangle = new Rectangle(9.0,9.0);                                                                  
                 rects.set(1,myrectangle);
              for(Rectangle x : setrect)
                   System.out.print("Rectangle: ");
                   System.out.println(x.getLength() + " by " + x.getWidth());
              }  //End of for loop
         }  //End of unsorted
         }  the other previous code works, i have used the add(object) and it works here is the code for that:
    private static void addDobject(Rectangle [] addrect)
              LinkedList<Rectangle> rects = new LinkedList<Rectangle>();
              Rectangle myrectangle = new Rectangle(9.0,9.0);                                                                  
                 rects.add(myrectangle);
                 for(Rectangle x : rects)
                   System.out.print("Rectangle: ");
                   System.out.println(x.getLength() + " by " + x.getWidth());
              }  //End of for loop
              System.out.println();
         }  //End of unsorted
    this is the output error it is giving me :
    Part 1 : An Array List of Rectangles
    Enter length or 999 to exit: 3
    Enter width: 2
    Enter length or 999 to exit: 1
    Enter width: 2
    Enter length or 999 to exit: 10
    Enter width: 20
    Enter length or 999 to exit: 999
    Rectangle: 3.0 by 2.0
    Rectangle: 1.0 by 2.0
    Rectangle: 10.0 by 20.0
    Display Object with added item
    Rectangle: 3.0 by 2.0
    Rectangle: 1.0 by 2.0
    Rectangle: 10.0 by 20.0
    Rectangle: 9.0 by 9.0
    Displaying Objects with SET item
    Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 1, Size:
    0
    at java.util.LinkedList.entry(LinkedList.java:365)
    at java.util.LinkedList.set(LinkedList.java:328)
    at Lab11.setDobject(Lab11.java:129)
    at Lab11.main(Lab11.java:78)
    Press any key to continue...
    finally here is the Rectangle class i'm using:
    public class Rectangle
        private double length;     // Instance variables
        private double width;
        public Rectangle(double l, double w)  // Constructor method
            length = l;
            width = w;
        } // end Rectangle constructor
        public double getLength()             // getter 
             return length;
        } // end getLength
         public double getWidth()             // getter 
             return width;
        } // end getWidth
        public void setLength(double l)      // setter 
             length = l;
        } // end setLength
         public void setWidth(double w)     // setter 
             width = w;
        } // end setWidth
         public double calculateArea()         // calculation method
            return length * width;
        } // end calculateArea
        public void displayRectangle()         // display method
            System.out.println("Rectangle Length = " + length);
            System.out.println("Rectangle Width = " + width);               
        } // end displayRectangle
    } // Rectangle ClassHope you can help guys! thanks!

    LinkedList<Rectangle> rects = new LinkedList<Rectangle>();rects is an empty LinkedList at this point. It has no elements added to it.
    rects.set(1,myrectangle);So you can't set the item at index 1 (the 2nd element in the list) because it doesn't even exist. You need to add items to it.

  • Help with flashing green light on Express

    I am trying to set up an airport express in my office to use with my a windows laptop and my iPhone. I had it working yesterday and took it home to set up a home profile on it. Everything was working fine in both places. Today when I plugged it in it went to a steady green for a second or two then amber while it booted as usual but then to a rapid flashing green. I tried everything I can think of including resets and it still does the same thing. It keeps flashing green and never appears in my network lists. Any ideas?

    The rapid flashing green light has happened 3 times to me since I first set up my Airport Extreme in fall 2007. The problem is always fixed by unplugging the LAN cable that connects through my hardwire network to my Airport Express. If I plug the LAN cable back, the rapid green returns and I can't access the network. Unplug it, and voila, the network is back. (I only encounter the problem when I have unplugged the Extreme and plugged it back in - if I leave it alone it is fine).
    I think the problem is a conflict in my Airport Express being set to act as a wireless bridge by my computer-tech friend, but I had it set up to be hardwired in the network so as to never lose my iTunes to hi-fi connection if there was a wireless problem. I've yet to sit down to resolve the Express issue; however, I suspect that if your case is similar, the Extreme is in conflict with another network device. If you can isolate it the network to just your Internet connection and Extreme, see if that solves it.
    Good luck.

  • New computer ~ Help with setting up

    Hi everyone, Newbie here!
    I am going to set my new computer up tomorrow. The computer I am using at present was installed and set up by someone else so this will be a great learning curve for me. Also I had Infinity installed by the engineer.
    Is everything I need to install relating to my broadband available to download? What do I need altogether? I spoke to a BT chap on the phone and he said he would help by remote access. I am a bit nervous of this!
    I need to ensure my computer is safe and secure and it all seems technically daunting. Norton security came with  my Microsoft Office package. Is this better than McAfee (Net Protect Plus), do I need both? What about a key code scrambler  (someone mentioned this to me). As you can see I need reassurance and help arghhhhhhh.
    A step by step guide would be great!
    Thanks
    Solved!
    Go to Solution.

    It is best not to install any of the BT software, just connect your computer to the BT Home hub using an Ethernet cable, or by using the wireless key, if its a wireless connected computers.
    See http://bt.custhelp.com/app/answers/detail/a_id/14964/~/getting-started-with-wireless
    Using a direct cable connection is best, if you want to get maximum speed.
    I would not allow anyone remote access, but if you have no choice, and cannot resolve the issue any other way, then make sure that it is as a direct result of you ringing BT, and not some random person ringing you at home, pretending to be from BT or even Microsoft.
    Many people have been caught out by that type of call, and had their computer infected with spyware.
    If you already have a trial version of Norton Security, then by all means use it until it expires, then uninstall it.
    After that, you have the choice of using the free Microsoft Security Essentials, which is preferred by many forum members, or using BTs Netprotect which is free with some broadband packages. This has been known to make computers run more slowly though.
    That is all you need.
    If you have any problems, then please return here.
    If you have any problems with BT Infinity, then please visit the Infinity board on this forum.
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • [SOLVED] Need help with setting up X

    Hello guys am new to the forum and this is my first post here. I am in need of a little help.
    Need help with X configuration. It starts like this, I installed xorg-server , xorg-utils, xorg-server-utils. When I tried installed xorg-init it says no package, anyway I ignored and moved on.
    Now I installed regular mesa stuff and installed xf86-video-ati driver for my HD4250 graphics adapter. with libgl and ati-dri (I have old arch wiki print so it mentioned to install those while newer doesn't list some stuff)
    Now the problem is that Xorg -configure doesn't work with newer X and nor the packages has generated /etc/X11/xorg.conf file.
    Anyway I created the file manually and added each and every section as mentioned in the "old" guide that I have.
    I even added a /etc/X11/xorg.conf.d/20-radeon.conf file for my graphics card with the content as
    Section "Device"
    Identifire "r"
    Driver "radeon"
    EndSection
    After manually creating all such files I installed x-term, xclock and twm. But when I tried to start X by startx or Xinit it says command not found. Add to that a simple X shows couple of errors.
    Please see the errors here Paste #399362 | LodgeIt!
    Some more questions : My old guide mentioned to install HAL while newer guide on the net mention DBUS. Though I have added DBUS to be on the safe side but why not HAL ? Is it because of Udev ?
    So please help me getting X up and running.
    Regards
    Last edited by Shashwat (2011-06-04 09:47:47)

    Ok  I sorted out the misprints in the file and installed xinit but still can't get it to work.
    1. There are few errors in xorg.conf that I cannot make it out.
    2. The X output says no screen found. ?
    http://paste.pocoo.org/show/399383/
    Now when I add EndSection at the last its says invalid parameter and when I remove it, I get an error "No EndSection, EOF missing"
    Kind of bugging
    Please do help.

  • Help with setting up application form to change per week.

    Hi all, i am going to be creating a simple feedback system application on apex but from the requirements given to me I am somewhat uncertain of how to go about creating it.
    The requirements are roughly:
    A feedback system to capture thoughts and views of students each week.
    An 'admin' area for the lecturer to define how many weeks the course is running for and whether there are 2/3/4 sessions each week for the duration.
    The form in which the student will give feedback each week.
    A results chart/graph/report in the 'admin' area, (with a printable PDF possibly?)
    My question is, when the lecturer defines how many weeks the course is running for and how many sessions a week there is, is there any way of setting the form page (the student uses to give feedback) to change for each week i.e week1, week2 etc. So the student doesn't keep supplying the feedback for week1 for example.
    The number of sessions will simple enough to sort out im thinking, just create the page with the highest possible amount of sessions on, then if there is only 2 sessions a week, only 2 will be displayed to fill in and the others will be hidden. If this is possible?
    Any ideas and thoughts are welcome. Please also mention any other ways of doing this if you have any!
    Thanks in advance,
    Ashleigh

    Hello Ashleigh,
    >
    My question is, when the lecturer defines how many weeks the course is running for and how many sessions a week there is, is there any way of setting the form page (the student uses to give feedback) to change for each week i.e week1, week2 etc. So the student doesn't keep supplying the feedback for week1 for example.
    >
    The answer for the above question is YES, with the help of form based on APEX_COLLECTIONS and/or APEX_ITEM API.
    Now the question is HOW. The answer to this question is for example the Timesheets Packaged Application which was provided by OTN a while ago(say before release of APEX 4.1) which was available here:
    http://www.oracle.com/technetwork/developer-tools/apex/application-express/packaged-apps-090453.html
    The application provided a way to collect no. of hours a particular person has worked on particular timecode in a week.
    The main page consisted of a form built on collection(which was built on page load) whose first column consisted of timecode drop-down and rest of the column headers consisted of days of the week and the columns consisted of textbox for entering no. of hours worked. In short it was type of matrix form.
    Hope it helps!
    Regards,
    Kiran

Maybe you are looking for

  • In Firefox 5, Why doesn't New Tab show most recent sites I logged on to?

    In F4, when I opened a new tab I was presented with a screen of the last sites I visited. Now I've upgraded to F5 I just get a blank page. Seems like a retrograde step, can you fix it? (and encourage Google to update their toolbar!) ps "Service Unava

  • Reboot Loop Question--1Gen

    It appears that my kids 1Gen Touch has encountered a reboot loop. The on/off/Power button appears to no longer work. When pushed, nothing happens. The home button functions fine. When pushed with the home button, the device enters a rapidly cycling r

  • How we can use help & maintain view in program

    hi Gurus,        how we can use help & maintain view in program?         is it able to use in program? thanks in advance, Regards, Arun.

  • Where would I get last version of itunes?

    Since itunes 7 is doing nothing for my nano i think deleting it would be the better option. Where can I find the older version to download? I got my nano about five months ago and i had no problems with the library until this one.

  • Error 150:30 - how to deactivate the first user?

    I get the error 150:30 Telling the license for my Creative Suite have stopped working. I am trying to start InDesign on my new mac, and the problem is maybe that his is the third machine that is using this software/serial number. But me first machine