Help formula MDX: the months for every month

Newbie here and young developer Essbase. My business more or less left me on my own without any training, so I'm here hoping a kind soul will help me with a formula. I've got 9.3 Essbase. The cube, I'm working on that is ASO so that the code is in MDX.

Asked me to build a 'net growth' formula that displays the current month in the variance of the previous months to every 12 months at a time for a given account. Ideally, the user would choose the 'net growth' Member for a given month and be able to see the gap for the previous month dynamically and the variances would be additive to the quarters, et al. I don't need a member formula that allows users to see only the variance to the previous month, or a formula that is attached to the only current month. There is an example below of what I consider the dataset to look like.

Here are my questions: I was able to get the piece of net growth from month to month to work perfectly, but (a) I can't think of a way to encode the variance from January to December avant-annee or (b) how to get variances to be additive to the quarters and etc.

So far, my code is based on my Sun account and is the following: account - (account, periods. CurrentMember.PrevMember)

Example:
............ Real... Net growth
Dec... 8100
Jan... 8000-100
Feb... 9000... 1000
Mar... 8500...-500
1ST QUARTER... 8500... 400
Apr... 8750... 250
May... 8900... 150
Jun... 9100... 200
Q2... 9100... 600

Here's a quick overview of some of my dimensionality and other facts:
Time elements are divided into four
1 dim scenarios (for example actual, budget, variance) the order of resolution 15 (although the majority of members are Dim solve 35)
2 periods (month, quarter, year) Sun 20 of the order of resolution
3 years (e.g. AFA 08)
4 views (i.e. MTD, QTD, CDA) Sun 30 of solve order

I build the formula of "net" on an account that is the last time balance. The account in question is not an expense account, so there is no If/Then logic or from the UDA in this regard.

Any input at all would be greatly appreciated I'm pretty stuck at this point. Thanks in advance to anyone who is willing to help.

Published by: user7747563 on October 8, 2008 12:01

My account.dec was a typo. It should have been a coma.

I misread your initial statement. Because this account is not balance time then you don't need the or statement. I thought you wanted the time balanced qoutput. You could add an islevel for your case statement change the other to another case and the final one would be the sum of children

Tags: Business Intelligence

Similar Questions

  • HI all I would like to ask if you help me, I want to draw paths, but when I use options to mark with a pen or brush settings I lose quality when I Zoom, can someone help me with the settings for the pen?

    HI all I would like to ask if you help me, I want to draw paths, but when I use options to mark with a pen or brush settings I lose quality when I Zoom, can someone help me with the settings for the pen?

    The work path is a vector and infinitely scalable, but when caress you, Photoshop sets the pixels on a layer following the path.  These pixels are rasterized and based and cannot be resized without loss of quality.  You have options.  If you want to enlarge the raster layer, transform the work path and stroking again.  Or work at a resolution higher, in the first place.

    Either incidentally, you can't trace a path with the pen, because it's a vector tool, and caressing is a matrix function based.

  • As a gesture of goodwill, we can help you with the upgrade for PSE 13. We ask you to place the order for Adobe Photoshop elements 13 upgrade and then provide you with the serial number of the full version for the same product against the new upgra

    I have RECIVED YEAR EMAIL FROM ADOBE AS: as gesture of goodwill, we can help you with the upgrade for PSE 13. We ask you to place the order for Adobe Photoshop elements 13 upgrade and then provide you with the serial number of the full version of the product, even against the new order of upgrade"IS this UPGRADE FREE AND CE WHO SHOULD DO, HOW can I HAVE THIS UPGRADE?

    HOW I CAN PLACE THE ORDER AND IS IT FREE?

  • need help to get the account for at least 11 months on my analysis

    Hi all
    I'm working on an analysis in which I need to get the number of children for a year where children must be at least 11 months in a given year. In my case in the database for each year, the number is 1 to 12. I don't know if there are atleast function or do I have to write an expression, if so please let me know where to write the expression is on the extent or the filter? I am totally new to the tool, and the version is OBIEE 11 g. Your help is greatly appreciated.


    Thank you
    Ravi

    Just put a filter on the count > = 11

  • Help formula: count the number of whites in a column "up to the...» »

    name string metric
    Matthew 5
    brand 1
    brand optimusPrime
    brand
    Luke 2
    Matthew jamesLikesSteak
    John 3
    Luke lukingGood
    Matthew
    Luke
    John johnnyPop
    John

    Hey guys - so I do business with a bit of a problem in number. I have a number table - the table above is a simplified representation of the corresponding parts of the table. The left column 'name' is a series of 12 names repeated and 0 missing values. The "string" middle column is a column that has a lot of missing values by a formula based on another column that is not relevant to this problem. Who is not missing is all strings. The problem I have is in the 'metric ': right column

    I am trying to create a dynamic formula which will result in the numbers and blanks, exactly as above. My goal is to create a formula that, for each line, account the number of whites in the column 'chain' until we reach an empty 'string' which occurs next to "namesake" as in the line of housing the formula - and if there is no such a situation, so that it is empty. For example, if the second row (including header row) bears the name of "Matthew". The next time that a white 'string' occurs next to the name "matthew" is tenth. The number of whites that occur between the second row, and the ninth is 5 (lines 2, 3, 5, 6 and 8). I manually coded a small part of the table to use something like this (which would be installed in cell C2 in this example):

    = IF (B2 = "", COUNTBLANK(B2:B9), "")

    This formula produces the correct number for the first row of data (5), but it does not dynamically fulfill what I'm trying to do this since I am currently having the formula to find the next blank 'chain' that occur next to "name" in the formula line.

    I hope that someone has encountered anything like this before. I tried to go through all the functions and numbers from formulas, but so far I have not found much success.

    Hi BaronDe,

    I need to ask, "why you try to do this? So what you want is possible it will be a complex solution. It may be much easier to get your information in a different way. Indicate these blanks?

    You should know that COUNTBLANK() will not count a cell with a formula, even if this formula resolves to «»

    Quinn

  • HP Pavilion Notebook - 15-p233: need help to reset the password for notebook 15 "pavilion

    I need to reset the password for pavilion notebook 15 "15 p 233

    could you please help

    The error code generated after that 3 test is 687 47 264

    Thanks for your help!

    @simpleuser001

    Enter: 77625860

    Kind regards

    DP - K

  • Help to find the driver for Satellite 1800 412

    Friendly day time dear administrators of a forum and participants, help find the driver for toshiba broadcast s1800-412, in advance thank you.

    If there is a possibility to send on an email [email protected]

    Hello

    He's a guy of the user forum to ;)
    If you want to accept that a notice of a simply common Toshiba laptop user then got to this site:
    http://EU.computers.Toshiba-Europe.com/cgi-bin/ToshibaCSG/download_drivers_bios.jsp?service=EU#

    Choose the Archive Satellite Archive Satellite 18 *-Satellite 1800 412

    Enjoy ;)

  • HP 15-f010dx: need help to find the drivers for Windows 7

    Had to load Windows 7 on my laptop for work.

    Could not find the drivers for the following items:

    PCI device

    SM Bus controllers

    Ethernet controller

    USB controller

    Any help would be greatly appreciated.

    Hello:

    See if these drivers work:

    SM Bus controller: Install this driver first and then restart.

    FTP://ftp.HP.com/pub/SoftPaq/sp64001-64500/sp64380.exe

    PCI device:

    FTP://ftp.HP.com/pub/SoftPaq/sp64001-64500/sp64387.exe

    Ethernet controller:

    FTP://ftp.HP.com/pub/SoftPaq/sp64001-64500/sp64388.exe

    USB controller:

    FTP://ftp.HP.com/pub/SoftPaq/sp64001-64500/sp64386.exe

  • Change the path for every 24 hours

    I need a code to vi to change the path for each new file created. The file in the path will be a new file. Please please answer me.i don has an idea.

    The pseudo-code for this is

    IF (NEW FILE IS AVAILABLE IN THE FOLDER)

    {

    PERFORM THE CALCULATION IN THE OLD FILE;

    CHANGE THE OLD FILE INTO THE NEW FILE;

    }

    ON THE OTHER

    {

    LOCATE THE NEW FILE;

    }

    Please, please make the answer.

    As well as the tutorials in the link rules mentioned, Sam notes where it says don't not to communicate directly with users.

    You're going to have these, I think:

    "Give me six hours to chop down a tree and I will spend the first four sharpening the axe.  -Abraham Lincoln

    Here are some free training focused mainly on LabVIEW and hardware tools to help get started.

    Training center of NOR

    NEITHER start-up

    -Hardware Basics

    -Guide of MyRIO project Essentials (a lot of good simple circuits with links to youtube events)

    -LabVEW databases

    -DAQ Application tutorials

    -CRIO Developer's guide

    Learning OR training videos resources

    Introduction to LabVIEW for 3 hours

    Introduction to LabVIEW for 6 hours
    Paced self-study for students
    Self Paced Training beginner to advanced, required SSP
    LabVIEW training Wiki

  • Help to install the driver for HP 620 Wireless LAN Card?

    I need help to install the wireless network card. I can't access the internet on my main computer, but the error States:

    "This device does not work properly because Windows cannot load the drivers required for this device. (Code 31) »

    OS: Windows 7 Home Premium

    How was the problem: simply, I restarted my computer and wireless network card no longer works

    I need this laptop for work, so if someone could help me as soon as POSSIBLE, it would be grateful.

    Hello:

    Here is the link for the driver you need for the Ralink WiFi card in your laptop:

    http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&prodTypeId=321957&prodSeriesId=4158863&swItem=ob-102451-1&prodNameId=4158501&swEnvOID=4059&swLang=13&taskId=135&mode=4&idx=2

  • Please help to configure the router for internet connection 871W!

    Hello world!

    I just started styding for CCNA, so I'm totally new to Cisco stuff. Recently bought a router 871W and spent two days in a row trying to configure internet connection with no luck! I use the port console for the configs and SDM/CCP. Would be greateful if someone could tell me how to do simple configs of internet connection. I googled everything but it's still confusing. I can't assing all-IP ports FA 0-3. I used instead of the VLAN. But all tutorials use FA0 and when I try to assign an IP address to FA0 it gives me some L2 cannot be assigned or something... :/ And I am also confused at what address IP use for WAN.

    I connected the cable between the Modem and the LAN of the PC port and copied some IP addresses which I think I have to use to configure the router for internet connection. And here they are:

    ISP IP: 76.114.54.255

    SUBNET: 255.255.248.0

    GATEWAY: 76.114.48.1

    DHCP: 69.252.97.4

    DNS: 75.75.75.75

    75.75.76.76

    If you can, please help! Thank you!

    Hi david,

    Looks like your 871w can not get a dynamic IP address: % unknown DHCP problem... No possible allocation

    you could ask your ISP to perform a reset/clear MAC add and try again?

    also, kindly post lastest "show run".

    Edit: just to see you've updated your screenshot. could you add command under 4

    Mac-add 0001.4af9.8b83

  • Need help to retrieve the password for user account Windows 8.

    I need help!

    I have configured my windows 8 "admin" or "user account" password for over a year now and I don't remember what it is. I tried to download a new antivirus on the computer software but it takes the administrators password to make changes to this laptop.

    How can I know what is this password and how do I solve the problem in order to be able to install new software?

    Thanks in advance

    Josh

    Hello

    "What to do if you forget your password Windows 8/8.1"

    http://Windows.Microsoft.com/en-us/Windows/what-do-forget-Windows-password#1TC=Windows-8

    If you have forgotten your Windows password, there are several ways to recover or reset:

    • If your PC is on a domain, your system administrator must reset your password.

    • If you use a Microsoft account, you can reset your password online. For more information, see the Web to reset your password page.

    • If you use a local account, use your index of password as a reminder.

    If you've tried these suggestions and still unable to connect:

    • If you have Windows 8.1, you will need to reinstall Windows.

    • If you have Windows RT 8.1, you will need to contact the manufacturer of your PC.

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    Microsoft prohibits any help given in these Forums for you help bypass or "crack" passwords lost or forgotten.

    Here's information from Microsoft, explaining that the policy:

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-security/keeping-passwords-secure-Microsoft-policy-on/39f56ef0-5d68-41AD-9daa-6e6019c25d37

    See you soon.

  • Please help to get the driver for TSSTcoprp CD/DVGW TS-L632C DVDwriter

    Hello

    I have lenovo 3000 n100 laptop and I Evelyne need of the driver for the dvd burner

    "TSSTcoprp CD/DVGW TS-L632C DVDwriter" I can't find on the site of lenovo.

    Moderator Note: Published to protect the privacy of the user

    Thanks in advance.

    Remove the UpperFilters and LoweFilters by following the instructions in this guide. Let us know if it helps.

  • Help me find the motherboard for T61 6459CTO

    I would be grateful if anyone can help me find the FRU or reference for my laptop T61 6459CTO S/L xxxxxxx. My laptop is dead now and need a mother replacement on board. Please also provide you with the best suggestions to find the online store for the system board. I googled the part here but unable to find it. Thanks in advance.

    Note of the moderator; s/n, under the direction of protection own members

    Hi kreddy79,

    Planar's card system in terms of lenovo. Your motherboard FRU is 44 3928.

    I hope this helps.

  • Please help me solve the css for font colors in this menu!

    I finally understood how to make my drop-down menu work, but I need help, troubleshooting of this code. I have fiddled with the code for several hours and were still able to remedy. My problem is that I could not distinguish between top level links and links of the menu drop down. I want links to drop-a light cream color. However, they are shown as the same color as the color of the hover.

    Here is the Web page loaded online: www.theriveroverlook.com/Trial.html

    If you hover over "Locations", you will see the question. The green color of hovered links is also displayed in the lower level menu. This makes them unable to read easily and presented a problem.

    Here is the css code it is necessary:

    {body

    Width: 1170px;

    height: 1300px;

    background - image: URL (BackgroundImage.jpg);

    background-repeat: repeat no.;

    padding-left: 0px;

    padding-right: 0px;

    padding-top: 0px;

    }

    / * MENU DROPDOWN HORIZONTAL BEGIN * /.

    {#navcontainer}

    margin-left: 0px;

    padding-left: 0px;

    margin-top: 200px;

    background - image: URL (MenuBarFINAL.png);

    background-repeat: no-repeat;

    height: 192px;

    Width: 1170;

    }

    {of NAV

    do-size: 22px;

    Police: 'Sunday, goudy bookletter 1911;

    Police-weight: 500;

    text-align: left;

    padding-top: 65px;

    margin-left: 0px;

    padding-left: 0px;

    }

    NAV ul ul {}

    display: none;

    }

    Li: hover nav ul > ul {}

    display: block;

    }

    NAV ul {}

    margin-left: 0px;

    padding: 0px 0;

    list-style: none;

    display: inline-table;

    }

    / * Top level nav spacing, list * /.

    NAV ul li {}

    float: left;

    margin-left: 0px;

    }

    Has NAV ul li: hover {color: #060 ;}}

    NAV ul li: active a {color: #300 ;}}

    NAV ul li: visited a {color: #900 ;}}

    / * display of high-level text * /.

    NAV ul li a {}

    Display: inline;

    text-decoration: none;

    color: #55390e;

    }

    UL.accomdrop a {}

    color: #fbf1cc;

    }

    {#accomdrop}

    background - image: URL (dropdownpng.png);

    top of the margin: 13px;

    Width: 155px;

    padding-bottom: 69px;

    background-repeat: repeat no.;

    }

    NAV ul ul li {}

    do-size: 18px;

    Police-weight: 100;

    float: none;

    color: #e4ddc8;

    }

    {#home}

    margin left: 75px;

    }

    {#accom}

    left margin: 35px;.

    Width: 120 px;

    padding-right: 25px;

    }

    {#holston}

    padding-top: 10px;

    padding-bottom: 10px;

    padding-left: 17px;

    Word-wrap: normal;

    text-align: center;

    Width: 120px;

    }

    {#tennessee}

    padding-top: 10px;

    padding-bottom: 15px;

    padding-left: 17px;

    skin: normal;

    text-align: center;

    Width: 120px;

    }

    #french {}

    padding-top: 8px;

    padding-bottom: 10px;

    padding-left: 17px;

    Word-wrap: normal;

    text-align: center;

    Width: 120px;

    }

    {#amenities}

    margin left: 15px;

    Width: 110px;

    }

    {#packages}

    margin left: 285px;

    Width: 120px;

    }

    {#packdrop}

    background - image: URL (dropdownpng2.png);

    left margin:-35px;

    top of the margin: 13px;

    Width: 155px;

    padding-bottom: 80px;

    background-repeat: repeat no.;

    }

    {#romance}

    padding-top: 5px;

    padding-bottom: 8px;

    padding-left: 2px;

    Word-wrap: normal;

    text-align: center;

    Width: 150px;

    }

    {#golf}

    padding-top: 15px;

    padding-bottom: 12px;

    padding-left: 2px;

    Word-wrap: normal;

    text-align: center;

    Width: 150px;

    }

    #photo {}

    padding-top: 5px;

    padding-bottom: 13px;

    padding-left: 2px;

    Word-wrap: normal;

    text-align: center;

    Width: 150px;

    }

    #cook {padding-top: 7px;}

    padding-bottom: 10px;

    padding-left: 2px;

    Word-wrap: normal;

    text-align: center;

    Width: 150px;

    }

    #fish {padding-top: 10px;}

    padding-bottom: 10px;

    padding-left: 2px;

    Word-wrap: normal;

    text-align: center;

    Width: 150px;

    }

    {#directions}

    left margin: 20px;

    }

    I really appreciate any help you can give me! Sometimes, you look at something as long as you can not see the obvious problem before you!

    Jaime

    See if this helps:

    http://ALT-Web.com/demos/CSS-multi-colored-drop-menu.shtml

    Nancy O.

Maybe you are looking for