Complex Essbase MDX Issue - Need Guidance

Hi,
I have a complex Essbase issue in ASO version 11.1.2.2. Currently I have a MDX formula with a Measure member named '10th Percentile'. It calculates the 10th Percentile perfectly. So new requirement is to create a new Measures member and instead of calculating the '10 Percentile' value, it needs to display the Customer Name of the value that is the 10th Percentile from the Customer dimension. So if I do a retrieval and the '10th Percentile' is 3.23, then it needs to display the Customer Name of the 3.23.
So I altered the formula to do what I think needs to be done and it verifies. However if I retrieve on that new measure in the Excel Add In, I get and error: An error [1200315] Occured in Spreadsheet Extractor. However if I navigate without data I don't get the error, but I also don't get any data, which I obviously need. So my question is, if MDX support reporting on Metadata not just Data, what/how can one report on it? Ideally I need to have this work in the Excel Add In as the client is using a custom vba modified template for their end users.
Any ideas and help?

Here's the formula. I bolded the part that is new.....
IIF ( [Lbs Per Yard].CurrentMember IS [Lbs Per Yard].[No_Lbs/Yd] ,
IIF( [Count_Price] = Missing, Missing, IIF( [Count_Price] < 2 , Missing,
{ Order (
Filter ( CROSSJOIN ( Leaves ( [Service].CurrentMember)
, Filter ( CROSSJOIN ( Leaves ( [Segment].CurrentMember)
, Filter ( CROSSJOIN ( Leaves ( [Customer Type].CurrentMember)
, Filter ( CROSSJOIN ( Leaves ( [Zip Code].CurrentMember)
, Filter ( CROSSJOIN ( Leaves ( [Quantities].CurrentMember)
, Filter ( CROSSJOIN ( Leaves ( [Frequencies].CurrentMember)
, Filter ( CROSSJOIN ( Leaves ( [Yardages].CurrentMember)
, Filter ( Leaves ( [Contract Year].CurrentMember)
, [$/Yd] <> Missing ))
, [$/Yd] <> Missing ))
, [$/Yd] <> Missing ))
, [$/Yd] <> Missing ))
, [$/Yd] <> Missing ))
, [$/Yd] <> Missing ))
, [$/Yd] <> Missing ))
, [$/Yd] <> Missing )
, [$/Yd] /*this is the measure we're using for sort */
, BASC /* sort in $/Yd in ascending order */
) AS OrderedSetOfItems} /* here we define an alias for the set in order to be able to use it later */
.Item ( Round ( Count ( OrderedSetOfItems) *
10 / 100 /*where we specify which percentile is being calculated */
+ 0.5 , 0 ) -1 ) *.Item (3-1).[MEMBER_NAME]*
/* this takes Nth item from the ordered set (0-based index, hence -1) */
/* .Name takes its name */
, Missing )

Similar Messages

  • Essbase MDX question

    Hi there
    I am at a client where I have to do comparative store analysis. Basically with MDX I need to do the following:
    When doing comparable store analysis on a daily level in my Time dimension a store must have traded a year ago on the same comparable day as per the company's trading calendar.
    When doing comparable store analysis on a weekly level a store must have traded a year ago for the full same comparable previous year's week (i.e. all the days in the week) as per company's trading calendar.
    If the criteria is not met #missing must be returned else the day or week value.
    On day level my MDX works fine:
    CASE
    WHEN
    IsLevel([Entity].CurrentMember, 0) AND
    IsLevel([Time].CurrentMember, 0) AND
    NOT IsEmpty([Periodicity].[LY])
    THEN
    ([LY], [Act], [Time].CurrentMember, [Entity].CurrentMember, [Account].CurrentMember)
    END
    The question is on a week level how do I check if a store traded on every single day of the same week last year. Getting the week is no problem, but checking every child of that week.
    Just another point on this: I need to do this on month, quarter etc levels as well, so hard coding to check from day 1 to 7 will not suffice.
    Thanks
    Johan

    You are correct, currently Essbase does not support updates via MDX.

  • Need guidance in displaying graphics shapes on image

    I would like some help drawing a circle over an image which is displayed in JScrollpane through JLabel, The goal is, whe we click over the image, the image apperas with a small circle in the place we have clicked. I have used JLabel for displaying image in JScrollpane by using imageLabel.setIcon(new ImageIcon("default.jpg"));
    I need to draw circle/rectangle when i click on image by this i need to select different points in the image by drawing circles/rectangles over the image.
    If you understand my problem than please guide me for the same.
    Thank you

    Don't post the same question multiple times. It's rude, as it leads to people wasting their time duplicating each others' answers.
    http://forums.oracle.com/forums/message.jspa?messageID=9385315#9385315
    http://forums.oracle.com/forums/message.jspa?messageID=9385314#9385314
    Need guidance in displaying graphics shapes on image

  • Need guidance on statspack report

    Hello Friends, How are you. I hope you all will be fine.I need guidance on statspack report. I do not know how can i resolve wait events. Please help me and give me some time for considering statspack report. If any one willing to do my help its really honour for me. In reply just show me email address and i contact you for you kind consideration.
    Thanks in advance

    Either post the report here, or send it to me at [email protected], and I'll try to give my 2 cents on it.
    Daniel

  • [svn] 1543: Bug: BLZ-152-lcds custom Date serialization issue - need to add java.io. Externalizable as the first type tested in AMF writeObject() functions

    Revision: 1543
    Author: [email protected]
    Date: 2008-05-02 15:32:59 -0700 (Fri, 02 May 2008)
    Log Message:
    Bug: BLZ-152-lcds custom Date serialization issue - need to add java.io.Externalizable as the first type tested in AMF writeObject() functions
    QA: Yes - please check that the fix is working with AMF3 and AMFX and you can turn on/off the fix with the config option.
    Doc: No
    Checkintests: Pass
    Details: The problem in this case was that MyDate.as was serialized to MyDate.java on the server but on the way back, MyDate.java was serialized back to Date.as. As the bug suggests, added an Externalizable check in AMF writeObject functions. However, I didn't do this for AMF0Output as AMF0 does not support Externalizable. To be on the safe side, I also added legacy-externalizable option which is false by default but when it's true, it restores the current behavior.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-152
    Modified Paths:
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/endpoints/AbstractEndpoint.ja va
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/io/SerializationContext.java
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/io/amf/Amf3Output.java
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/io/amfx/AmfxOutput.java
    blazeds/branches/3.0.x/resources/config/services-config.xml

  • Essbase performance issue

    Hi all,
    We encounter a Essbase perfromance issue that we don't know the root cause.
    We have configured a server to run Essbase with 8 core CPU and 16GB RAM. We found that the Essbase calculation can use up to 80% CPU and about 8GB RAM only. I also checked the IO rate at the same time but the disk loading is not very heavy. We just suspect that what kind of resource are waiting at Essbase calculation engine? It is not CPU bounded, memory bounded, and IO bounded.
    Do you think it can help if we keep the whole Essbase database (around 30GB) into RAM based disk drive can speed up the IO performance?
    Thanks if you have some ideas for us to investigate.
    Edited by: hyperion planning user on Jun 2, 2009 12:27 AM
    Edited by: hyperion planning user on Jun 2, 2009 12:36 AM

    I'm confused -- is it CPU bound or not?
    You write:
    We found that the Essbase calculation can use up to 80% CPU and about 8GB RAM only.Do you mean 80% of all eight of your CPUs? That sure sounds CPU-bound to me. In fact, I wish (within reason) that most of my Essbase calculations worked that way -- that would men that I have the disck caches tuned to their utmost efficiency.
    This means you're getting data from disk almost as fast as is possible.
    You're not going to be able to get everything into memory for two reasons:
    1) 30 GB of .IND and .PAG/.DAT files isn't going to fit into Essbase's addressable memory space. See: using RAM disk to speed up Essbase calculation and rollup
    2) Even when the database is nice and small and you can stick the whole thing in a cache, uncompressed, Essbase still is "smart" and will keep a portion of it on disk during calcs -- this doesn't make sense in isolation, but empirically, you can monitor disk usage during a supposedly database that is in theory total enclosed in the cache and see it getting hit. This may be related to Essbase's general housekeeping -- I don't know. In any case, this is generally not a real world case, unless you're running your business on my Very Favorite Database In The Whole Wide World -- Sample.Basic.
    Or are you saying that you will define a real (and it would help if you really could allocate real RAM, and not an OS-managed sort-of-RAM-sort-of-DASD situation) RAM drive and point Essbase there. That is sort of risky, isn't it? How will you flush it to real DASD for backup? Exports?
    Regards,
    Cameron Lackpour

  • My start up disk Macintosh HD is full on my McAir OSX 10.9.4 memory 4GB. I need to clear the disk so that I can update it with the new software IOS 10.9.5 requiring 2.05GB. Need guidance on how to clear space.

    My start up disk Macintosh HD is full on my McAir OSX 10.9.4 memory 4GB. I need to clear the disk so that I can update it with the new software IOS 10.9.5 requiring 2.05GB. Need guidance on how to clear space.

    For information about the Other category in the Storage display, see this support article. If the Storage display seems to be inaccurate, try rebuilding the Spotlight index.
    Empty the Trash if you haven't already done so. If you use iPhoto, empty its internal Trash first:
              iPhoto ▹ Empty Trash
    Do the same in other applications, such as Aperture, that have an internal Trash feature. Then restart the computer. That will temporarily free up some space.
    According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation—not the mythical 10%, 15%, or any other percentage. You also need enough space left over to allow for growth of the data. There is little or no performance advantage to having more available space than the minimum Apple recommends. Available storage space that you'll never use is wasted space.
    When Time Machine backs up a portable Mac, some of the free space will be used to make local snapshots, which are backup copies of recently deleted files. The space occupied by local snapshots is reported as available by the Finder, and should be considered as such. In the Storage display of System Information, local snapshots are shown as  Backups. The snapshots are automatically deleted when they expire or when free space falls below a certain level. You ordinarily don't need to, and should not, delete local snapshots yourself. If you followed bad advice to disable local snapshots by running a shell command, you may have ended up with a lot of data in the Other category. Ask for instructions in that case.
    See this support article for some simple ways to free up storage space.
    You can more effectively use a tool such as OmniDiskSweeper (ODS) or GrandPerspective (GP) to explore the volume and find out what's taking up the space. You can also delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one. Note that ODS only works with OS X 10.8 or later. If you're running an older OS version, use GP.
    Deleting files inside an iPhoto or Aperture library will corrupt the library. Any changes to a photo library must be made from within the application that created it. The same goes for Mail files.
    Proceed further only if the problem isn't solved by the above steps.
    ODS or GP can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    If you have more than one user account, make sure you're logged in as an administrator. The administrator account is the one that was created automatically when you first set up the computer.
    Install the app you downloaded in the Applications folder as usual. Quit it if it's running.
    Triple-click anywhere in the corresponding line of text below on this page to select it, then copy the selected text to the Clipboard by pressing the key combination command-C:
    sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    sudo /Applications/GrandPerspective.app/Contents/MacOS/GrandPerspective
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window by pressing command-V. You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator. Ignore any other messages that appear in the Terminal window.
    The application window will open, eventually showing all files in all folders, sorted by size. It may take a few minutes for the app to finish scanning.
    I don't recommend that you make a habit of doing this. Don't delete anything as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means. When in doubt, leave it alone or ask for guidance.
    When you're done with the app, quit it and also quit Terminal.

  • LCD monitor display issue, need help

    I have a strange problem with my LCD display, it goes like this:
    When I first boot up the mac and the wallpaper appears on the display the image looks perfect, all the tones are right etc, but as the startup progresses, programs loading etc, the display changes suddenly, becomes too bright in the highs, too dark in the lows, and over-saturated in between. Its looks horrible.
    I have just discovered that I can correct the issue by going into system prefs, display, selecting the options tab (next to Display and Color) and turning overscan on, then back off, voila, all fixed.
    Looks great.
    Thing is I have to do this every time now that I start the computer, and Im wondering if anyone knows what causes this issue and if theres anything I can do as a more robust solution.
    The kicker is I have the same problem with a viewsonic LCD on my secondary machine (Powermac G5, Osx 10.4), right at the beginning of startup it looks great then suddenly all goes wrong, too dark/light over-saturated. Its as if the image has been blended with itself in multiply mode a la photoshop.
    And on my second machine there is no option for overscan so I cant use my quick fix.
    Is overscan a feature of the OS or the monitor?
    The worst part is I need these displays to work correctly because Im a graphic designer, I need my colors to look right so I can do my job, and while I could go buy a $1000 monitor its not possible atm, and Id kinda like to know why this problem occurs. So if I do buy a different I can be assured the problem wont rear its ugly head again. But I dont think the problme is the monitor. I think its something to do with the communication between the display and the computer.
    The monitor can display correctly, and does for a brief moment, then it all goes very wrong. Ive spoken to NEC and they werent much help but Ill be trying them again today too.
    But again, I thinks its the computer, not the monitors as I can reproduce the issue swapping out monitors.
    I hope Ive described it adequately,
    Thanks in advance for any help forthcoming, this is very frustrating and is causing me endless headaches.

    Mattdp,
    I am currently having the same problem with my 20" cinema display. Did you ever find a long term solution? Apple states that the PowerMac G5 is legacy with no support available, and suggested a reset the PRAM. I did so to no avail. I too have 10.4.11 and thus no "overscan" to turn off. This is my wife's primary computer for her photography business, and the color issue needs to be resolved as quickly as I can find the answer.
    Is there a possible solution through the terminal?
    Rick

  • I'm looking for Apple desktop P.C. as an upgrade from my Dell /windows XP. I need  guidance.

    I currently use a 6 yr. old Dell Vostro 200 (Windows XP). I want to upgrade to an Apple desktop PC. I need guidance to a product. Are any peripherals compatible (ie. screen, printer, Maxtor hard drive)?

    Almost all  peripherals are compatible. I'd recommend reading https://www.apple.com/support/macbasics/  and if you have an Apple Store in your general area stop buy and ask questions. You were not specific as to what screen, printer etc... that you want to use with the iMac and that is all important so you can verify they are compatible.

  • Need guidance to solve the problem.

    my internal hard drive is not showing up on mac. need guidance to solve the problem. thanks

    Hi,
    First make the finder the Front app.
    The Finder Menu > Preferences > General Section should have the Hard Drive item ticked to show the Hard Drive on the Desktop.
    The Name of the drive should not have a . at the beginng  as in .Mactinosh HD as this will make te file Invisible.
    There are also other characters that cause this.
    If you go to the Finder > Go Menu and select My Computer it should have opened a window displaying the Volumes ( Hard Drives and storage devices) that are connected.
    10:17 PM      Sunday; April 14, 2013
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.3)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • I need guidance on software selection

    I am totally lost on the myriad of software being offered and I need guidance on which one i should use.
    I want to create an interactive short movie display for my website similar to the one that does a 360 virtual tour being used by Royal Caribbean Cruiselines on their website. That allows the view to do a 360 and with the mouse you can also pan up and down, slow or pause.
    Can anyone tell me what Apple product or combination of products I would need to achieve this? My webserver is Linux.
    URL ref: www.royalcaribbean.com
    NAVIGATE TO: Find a Cruise > Ships > Freedom of the Seas > Deck Plans and then select VIRTUAL TOUR.
    Thanks for your assistance.
    Rgds/
    Terry

    What you need to create is a QuickTime VR movie. Apple does not make any Windows-based tools for creating QTVR movies, but there are some third-party tools available. Try VR Worx; it's probably the most popular and capable.
    Hope this helps.

  • Need Guidance Regarding My Ipad Service Issue .. Can Someone Help Me Out??

    Date : 22/05/2014
    it is really disappointing that I'm yet to receive an update on the Ipad 4 replacement .I had very much pressed for an urgent delivery as all my client meetings are pending but it seems my many requests have had no influence on their tardy working. It was agreed that the product will be delivered in 2 to 3 Business days(before 15/05/2014) however I have not received the product up to this date This delay on their part is causing me considerable embarrassment
    now they say they are out of stock  and still they couldnt get me a replac.ement ... moreover i have paid a sum of Rs 23,283 as a service advance as my ipad was not eligible for  warranty cover ..
    and i have almost lost my patience as im taking a hit on my revenue everyday ... my profession runs on IPAD .
    im terribly disappointed with apple's Support on this
    friends .. kindly guide me ... how do i go about this???

    As Sky has already stated, that is something you will need to take up with the service chanel handling the return. Ask to speak to a manager or supervisor to see about escalating it.
    To that, however, I might add that there is no specific SLA explicit or implied when you purchased the device (and this wouldn't be exclusive to Apple; practically no consumer electronics outlet would) guaranteeing a specific turn-around time for repairs or replacements. If the iPad is that crucial to your business, and you do not have any contingency in place, such as a back up device, that is on you, not Apple.

  • Data Modelling - Complex issue need to get DATE values

    Gurus and Experts
    I have a situation where i have a infoobject-A which is char having value 10.
    I always get the values to this infoobject as 0001032008 from the source system
    means 0001 is constant
        and 032008 is month and year
    Now i want to use this as a dynamic query where user enters 0001032008 it should get values for T+23 months
    where T = 0001032008 and T+23 would be 0001022010 (or february 2010) in short.
    I get only make this work if i can use this infoobject to mapto  0calmonth and in query use variable for offsets with range as T to T+23.
    Steps would be
    1)Create infoobject -B ,reference it to 0CALMONTH
    2)In Transfer structure ,take always last 6 values ,so we get date as 032008
    Now the 0CALMONTH always work with value such as 200803 and not 032008 ,so how would this work ,so will this solution work ,how to achieve this complex logic.
    Or is there any other alternative best simple solution
    please help
    thanks

    Hi
    Sometimes what seems complex can be solved by going back to the root.
    Let me explain:
    Your source system sends you an information with a format 0001MMYYYY. If I catch you, you created an IO to get the information as a master data. That's fine.
    But your aim is to interpret your source data as 0CALMONTH. So I suggest that you add 0CALMONTH in you Transfer rule, feed 0CALMONTH by ABAP code in the transfer rule to extract the information from your source system.
    If you want, you can keep the original IO, but I do not know what you can do with it....
    If you took BW310 course, your problem looks like the first exercise where you play with the cost center comming from another source system.
    May be I did not catch everything but it is getting late for me
    Cheers
    PYG

  • Hi complex issue, need an immediate response

    hi have d1,d2 as dimensions and f1, f2, f3 as facts all the two dimensions are connected to all the three facts and there are sub dimension to d2->d3->d4 and d4 is joined to d1 as well, now i have to join d2<->d4, how to do the modelling in physical and bmm layers.
    Thanks in Advance.

    Hi,
    Make the joins as is required in the physical layer and then in the BMM layer follow the star schema design, by adding the tables into the General tab.
    Refer-
    http://www.varanasisaichand.com/2012/05/denormalizing-physical-tables-in-bmm.html#!/2012/05/denormalizing-physical-tables-in-bmm.html
    http://gerardnico.com/wiki/data_modeling/snowflake
    Hope this helped/answered
    Kind Regards
    MuRam

  • Essbase optimalization issue, slow

    Hi everyone,
    I have made a Planning application which has some larger forms which take over 4 min to open, which could be okay, but what puzzles me is that the Essbase server is not using any system resources when the forms are retrieved. CPU load goes between 0 and 1%, whicle memory stay approximately the same using only about 1 third of mem available.
    We have tuned outline, and cache setting, to my best knowledge according to what I can find of best practice. I wonder if this is normal, or anyone else experiencing the same issue?
    Suggestions? do I need to give more details of system and/or outline?
    Best Regards,
    Kåre

    Hi,
    The resources which might be being used are on the planning server or even on the clients browser, it all depends on the form design and the structure of your cube.
    Planning has to do alot of the processing and sometimes the queries on the essbase take no time at all, its planning constructing the grid which has can also take time.
    Some things to consider in form design :-
    Keep dense dimensions in rows and columns.
    Place static dimensions in POV and hide these dimensions where not relevant to the form.
    Place Scenario, Version, and Year dimensions in the Page wherever possible.
    Please sparse dimensions in the POV
    Minimize using account annotations on data forms.
    The biggest impact on data form performance is down to the grid size, grid size = possible number of rows x possible columns, also grid size doubles when multiple currencies are used.
    Enabling shared member security can also impact performance.
    Complex security can also impact performance.
    It is worth finding out where the problems lie, I have seen large forms in the past which can take a long time to download to the clients browser, then you add into the javascript processing for the form which adds overhead.
    It may also be worth considering using smart view if you can't improve the performance of the web forms.
    Cheers
    John
    http://john-goodwin.blogspot.com/

Maybe you are looking for

  • Mac stuck in safe mode start up loop

    Hi everyone, it seems I have run into a problem and can't find answers online. First off I have a MacBook intel core duo on the latest snow leopard and mac software is up to date. It all started when I had to restore my iPhone and it had some problem

  • Not able to connect SAP through internet with Windows 7 OS

    Hi, I am trying to use use latest version of SAP GUI 720 with Windows 7 Home Edition. When I am connecting through Local Area Connection I am able to connet to the sap servers. But when I am trying to connect through Internet with sap router string i

  • How can i change analog waves into digital waves?

    we had labview lab last week.. were doing fine if we have instructions unfortunately the professor will give us an exercise regarding baseband signals spectra.. were trying to download a trial software but we dont have any luck. the question asks for

  • Retrieve a list of different values of custom metadata field of an UCM connection

    Hi I am planning to create a custom search document functionality for my UCM and Portal integration. Basically, I am planing to create CMIS queries dynamically. In order to create the CMIS query, I need the possible values of custom metadata for the

  • LR5 to LR3 import issues

    I outsourced some editing and when I tried to import the files from a LR5 program to my LR3 it said "DSC file not found or missing". I have tried deleting it all, creating a new catalog, adding scripts, finding missing files- all to no avail. The per