MDX - PERCENTILE - is it possible in Essbase MDX

I have 5 dimensions: account, location, BusUnit and product Segment. Two accounts are "10th Percentile" and "Occurences". What I do is easy in Excel using the percentile function, but above my MDX skills. Examples of level 0 data:

Price, LOC80222, SEG1001, BU123, PR12345, 7
Price, LOC80222, SEG1001, BU123, PR12345, 16
Price, LOC80222, SEG1001, BU123, PR12345, 17
Price, LOC80222, SEG1001, BU123, PR12345, 18
Price, LOC80222, SEG1001, BU123, PR12345, 19
Price, LOC80222, SEG1001, BU123, PR12345, 19
Price, LOC80222, SEG1001, BU123, PR12345, 20
Price, LOC80222, SEG1001, BU123, PR12345, 22
Price, LOC80222, SEG1001, BU123, PR12345, 31
Price, LOC80222, SEG1001, BU123, PR12345, 34
Price, LOC80222, SEG1001, BU123, PR12345, 38
Price, LOC80222, SEG1001, BU123, PR12345, 60

If I use these 12 values in my range in Excel and run the PERCENTILE function against them as:

= PERCENTILE (A1:A11, 0.7)

My result is 28.3

I need an MDX formula that can the strings which. Anyone has any idea how / if this can be done in MDX in ASO application in Essbase? A solution to this could be a "paid" effort Dead serious.

I'm trying to reproduce this:

http://www.MrExcel.com/Forum/showthread.php?t=5193

Thank you

You must understand how this is difficult to do and then trying to figure out if there is a way to do it virtually. To start, we need to understand and recognize that the way Excel calculates PERCENTILE is not the way percentile is usually calculated. The first thing you have to determine is if you want a percentile statistics, or if you want to that Excel PERCENTILE. I suggest you read up on it in Wikipedia to get some perspective on the differences. Given that the Percentile can be calculated in many different ways, you can start with the MDX function built in Essbase Percentile() - found in the tech ref

An example would be

Percentile ({[location] .children}, [price], [classification])

Where your game is the children of location and rely on it the price and calculation percentile based on the value in a row in the occurrence.7 (in reality must be 70, see next paragraph). You'll find maybe easier to code simply difficult this value in the function if it does not change

Percentile ({[location] .children}, [price], 30) Note that I used 30 and pas.7. Essbase requires a value between 0 and 100 and looks like he does in ascending order, so 30 is equivalent.7. Given your data values, using this function, you must come with 32.2.

Now, to get like Excel to do, I tried to put everything in a neat member formula but I had stopped operating problems that have been driving me crazy where Essbase was essentially to ignore certain parts of the form. I don't know if this was due to a bug or just the way it works. The way in which I supported in the calc Excel being procedural, I decided to break it just straight up in an MDX query. If you wanted to do in a plan, you could make the members for all of my 'WITH MEMBER' clauses and how translate, he notices that he's going to be difficult to understand. I've also simplified it to two dimensions with just measures and location. Under location, I had 12 members to capture the 12 values and then I ran the following query, see all downstairs for the results and note that in this case, I went back to the use of that the 0.7 you had in your Excel examples to try to keep apples to apples.

WITH
MEMBER [Measures]. [Calc1] AS
' Order ([location] .children, [Measures].) [Price]) .item)
(IIF)
Rest ((([Rank]) * COUNT([Location].children)))<>
Int ((([Rank]) * COUNT([Location].children))) + 1,.
Int ((([Rank]) * COUNT([Location].children)))
)) - 1)'

MEMBER [Measures]. [Calc2] AS
' Order ([location] .children, [Measures].) [Price]) .item)
(IIF)
Rest ((([Rank]) * COUNT([Location].children)))<>
Int ((([Rank]) * COUNT([Location].children))) + 1,.
Int ((([Rank]) * COUNT([Location].children)))
)) - 2)'

MEMBER [Measures]. [Calc3] AS
"[Measures]. [Calc1] - [Measures]. [Calc2] »

MEMBER [Measures]. [Calc4] AS
"[Measures]. [Calc2] + ([Measures]. [Calc1] - [Measures]. [Calc2]) * ([Measures]. [Classification]) »

SELECT
{[Measures]. [Price], [Measures]. [Ranking], [Measures]. [Calc1], [Measures]. [Calc2], [Measures]. [Calc3], [Measures]. [Calc4]} ON AXIS (0).
{[LOC1]} ON AXIS (1)
OF Test3.Test3

Axis-1 (price) (Rank) (Calc1) (Calc2) (Calc3) (Calc4)
------------------------------------------------------+---------
(LOC1) 7 0.7000000 9 22 31 28.3

There are a lot of things at play here regarding this operation at higher levels compared to lower levels etc. So to be honest, I think you take a big task here. Essbase and statistics is a poor relationship, he made some ok stuff, but in general there are statistical packages generally better there. It's an interesting thing to watch, but it will take a lot more work to top and do work - more can be done on a forum user :)

I hope that I gave you to think. If possible, try to use the built-in function and see if that can meet the need.

Tags: Business Intelligence

Similar Questions

  • Possible to rewrite data from Excel in the input source?

    Hey people,

    is it possible to rewrite the data in the original OLAP cube using the of SmartView for MS Excel add-in?

    Let's say I make what follows after you import a cube to my spreadsheet Excel through SmartView:

    • Add data sets
    • remove groups of data
    • Add columns
    • remove columns
    • change the columns (properties)

    Can I click on a save/submit button after that and my changes will be written back in the cube?

    Best regards
    Jane Doe

    hierarchical update is what I assume you want to say by updating the properties or add new columns.  If the new columns are combinations of Member you want to add then which would add to the sketch.  As Dan says, it is not possible in Essbase.  There is a way to do planning, but that is something you should read the Administrator's Guide.

    Here is a link to the Oracle documentation on that.

    https://docs.Oracle.com/cloud/latest/pbcs_common/CSPAG/apcs03s01.html

  • Essbase does not

    Hello..

    Wanted to know how it's done and if its recommended / possible

    Essbase re-lifting... Essbase enrolled in the Shared services, now, I want the same essbase to register with the scheme and the various shared services.

    Thank you

    You can have an essbase recorded with 2 shared services...

    Not sure if re-hositing essbase is possible, but that will be as good as a fresh essbase.

    see you soon

  • Use of Variables in a Script of Essbase report

    I know you can use a variable in a script with Essbase report & at the beginning of the name.  Example & CurMonth.  This works very well for me.  But, you can use & FcstMonths when the value of the months are more than one Member?  It works in a calc script when & FcstMonths = March, April, may, June... etc, but, when I use it in a report script, the script will not validate the saying "unknown member of the value.  I tried to change it to January.February.March... etc.  I also tried February: December.  None of them does not seem to work.  Is it just not possible for Essbase report?  Thanks in advance.

    If you want to include a list of members in the report script, you specify the members separated by spaces.  If you set the variable...

    "Mar" "Apr" "May" "Jun" "Jul" "Aug" "Sep" "Oct" "Nov" "Dec"
    

    ... I think you'll find that it works.

  • How to recover/find only the FIRST and the LAST members in a Dimension using Maxl

    Hi all

    I have a requirement where in I need to retrieve only the FIRST and the LAST members of the Dimension of the year.

    For example my year round Sun having EF07, AFA 08 FY09, FY10 as members so I need to get the first (EF07) & the last members (FY10) using maxl.

    Is it possible in Essbase Maxl accehieving meanings.

    I have a custom cdf to find members of the first and the last, if you are interested.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Share Dimension on application/database

    Hello

    I wonder if it is possible to share the dimension between applications or databases. For example, I have two applications/cubes, using the same account dimension, is it possible in essbase we can share that a size of account, rather than re - create again in the cube?
    is it possible in essbase we can share an account dimension, rather than re - create again in the cube?

    ^ ^ ^ By comment by Jasmine, EPMA is closest to share (I suppose you could argue it's really close perfectly do) a dimension, but there are a few other options, even if they do not require a build step. I mention this in case other features of EPMA are not desirable and Yes, this does not really sharing criteria, but they all feature a central location and dimension metadata management:
    (1) SQL table / flat file size rule charge two dbs.
    (2) Director of the data with output relations in next #1
    (3) Essbase Integration Server (EIS) created dbs, using a star schema common
    (4) Essbase Studio created dbs, using a star schema common

    Kind regards

    Cameron Lackpour

  • Install the order EBS + OBIEE + OBIA + Informatica + DAC + Windows2003Server32Bit VMWare

    Barred : [rtm done =] but as the old Brazilian saying goes, Na "" pratica, a theory e outra"" - in practice, the theory is different.

    This EBS involving, I post here to get the assisatance I can't otherwise the OBIEE/OLIVIER forum.

    Hello EBS experts out there

    Please notify the order of installation of these s/w when I intend to install EBS r12:

    EBS R12 ( to integrate w / OBIEE for demonstration of vision database to perform tasks of ETL for R & D )
    OBIEE 10.1.3.4
    OLIVIER 7.9.6
    Informatica 8.6.1 (w / patch 6)
    DAC 10.1.3.4.1
    (Installation of Hyperion Essbase - I wil just try to install essbase 11 x post successful installation of the above)
    on windows 2003 server 32-bit sp2, which will run on VMWare 2.0 hosted on windows xp 32-bit.
    RAM: 4 GB
    Hard drives: 200 GB + 500 GB (both internal IDE SATA) 500 GB together via a VMware virtual hard disk will be used to install this stack Oracle BI apps and if possible Hyperrion Essbase stuff too.

    Specific request

    1.

    Microsoft Visual C++ 2005 Redistributable Package (x 86) [2.6 MB in size] is available for download at

    [http://www.microsoft.com/downloads/details.aspx?familyid=32bc1bee-a3f9-4c13-9c99-220b62a191ee & displaylang = en]

    the required version ov VC ++ required for EBS R12 install win - 32.

    2.
    What oracle database (10g / 11g) comes w / EBS R12.
    Can I use the same oracle database to create lower/DAC/OBAW users?
    Or do I have to install another instance of db Oracle 11 g?

    3.
    Can I configure ActiveDirectory Services (to R & D LDAP authentication stuff)

    Install Server w2k3-> activeDirectory-> installtion of other apps (w / administrator user), or
    install w2k3-> install-> apps then install ActiveDirectoryServices-> install the Apps (w / administrator user)

    He is, heads-up/traps are IMMENSELY appreciated.

    Of course, I'll post my learnings along the way.

    Hello

    RAM: 4 GB

    I suggest that you increase the amount of memory on this box 4 GB should be enough for the Oracle E-Business Suite R12 installation only. So, with other products, I would say that you need more RAM - I understand that running on 32-bit operating system does not have more memory, you may consider to install another OS or have more than one virtual machine.

    1.

    Microsoft Visual C++ 2005 Redistributable Package (x 86) [2.6 MB in size] is available for download at

    [http://www.microsoft.com/downloads/details.aspx?familyid=32bc1bee-a3f9-4c13-9c99-220b62a191ee&displaylang=en]

    the required version ov VC ++ required for EBS R12 install win - 32.

    As you install Oracle Apps R12 on the node of monkey, you need a Standard or Professional to Microsoft Visual Studio 2005 editions. Package redistributable Microsoft Visual C++ 2005/2008 can be installed on the database layer node only if you have several installation node and already have Standard or professional editions of Microsoft Visual Studio 2005 installed on the application-level nodes.

    Note: 761567.1 - Installation of Oracle Applications upgrade version Notes 12 (12.1.1) for Microsoft Windows Server (32 bit)

    2.
    What oracle database (10g / 11g) comes w / EBS R12.
    Can I use the same oracle database to create lower/DAC/OBAW users?
    Or do I have to install another instance of db Oracle 11 g?

    You cannot use the same database Oracle E-Business Suite that is not supported, and you will need to install a separate database.

    Note: 415007.1 - Oracle Application Server with Oracle E-Business Suite Release 12 FAQ, I install an OracleAS 10 g Infrastructure in the database of version 12?

    3.
    Can I configure ActiveDirectory Services (to R & D LDAP authentication stuff)

    Install Server w2k3---> activeDirectory--> installtion of other apps (w / administrator user), or
    install w2k3-> install apps-> then install ActiveDirectoryServices--> install Apps (w / administrator user)

    Go with the second path, install R12, then do the integration and install other applications.

    Note: 376811.1 - integration Oracle E-Business Suite Release 12 with Oracle Internet Directory and Oracle Single Sign-On
    Note: 415007.1 - Oracle Application Server with Oracle E-Business Suite Release 12 FAQ

    For the use of "authentication" Native Windows (Ondaaah), see (Note: 744118,1 - Configuration e-Business Suite with authentication Native for Windows (Ondaaah)).

    Thank you
    Hussein

  • dimension to slow variation

    Hello

    I heard the dimensions slowly changin which is incorporated in version 11. is this true and how to do it in the console

    Mrithyu

    Hi Mrithyu,

    1. Yes, SCD (dimensions to slow variation) is now possible in essbase outline.

    2. sound of type 2.

    3. If you goto Regional service console. Open the outline-> click on 'Properties'-> 'various attributes enabled' do to true, if its fake.

    4. returning to theory and additional information of this feature, pls refer to SER60 (refer only version 11 SER60 pls).

    Hope this helps

    Sandeep Reddy, Enti
    HCC
    http://hyperionconsultancy.com/

  • Client for Essbase MDX

    Are there tools able to execute queries on databases ESSBASE MDX?
    He demands are extremely simple: writing MDX queries and get the results in tables.

    In other words, I get a bit more alternative practice to the MDX EAS Editor ('practice' = superior font in the query editor + the possibility to copy the results to the Clipboard).
    Operating system: MS Windows; also freeware tools are preferred.

    All links are appreciated, thank you in advance.



    Best regards

    I'm not aware of all the tools third good there for MDX queries against Essbase, although there are desperately needed.

    You're not sure if this you will find all that much better, but since you said that you are more concerned about the output format, that necessarily the editor himself, are you aware of the utility of MDX query in SmartView?

    Via SmatView, you can execute MDX queries by selecting the Menu Hyperion-> query-> execute MDX

    This will open a text window where you can type or paste your MDX query and run it. The results are then returned, properly, in an Excel worksheet.

    Perhaps write in EAS and then copy and paste in Excel to test and run is a viable solution.

    HTH

  • Data query Essbase with MDX of misunderstanding

    Can anyone help with a basic misunderstanding of the mine during the selection of the data of Sample.basic with MDX.

    The Essbase Adminstrators guide says:

    "The intersection of a member in a dimension and a member of each of the other.
    Dimensions represents a data value. »

    The following example from the same guide still managed to return what appears to be an empty value of sense without any context.

    Select
    {Jan}
    on columns
    of sample.basic

    Jan
    8024

    Surely any number and significance only makes sense when they are associated with a member from each of the other dimensions?

    And

    Why Essbase chose this value for Jan rather than any other that I see in the source Calcdat.txt file?

    Thank you

    Published by: user12133311 on October 3, 2012 06:12

    Exactly right, as can be seen on a recovery of Excel

    Scenario of market measures
    Jan 8024

    All unspecified dimensions are collected at the top of the dimension.

    Published by: dwelden on October 3, 2012 08:50

  • 10.1.3.4.1 Essbase MDX question

    Hi experts-

    I have a problem of performance on OBIEE removes data Essbase on unix environment, you guys have previously known?
    I noticed that the issued to Essbase MDX is different between 10.3.4.0 and 10.3.4.1 and causing a slower recovery on the answers. For example:

    =======================================================================
    MDX on 10.1.3.4.0:
    With
    the value [countries4] as "filter ([COUNTRY]." Different generations (4), (([COUNTRY]. CurrentMember.MEMBER_ALIAS = "someCountry" OR [COUNTRY]. CurrentMember.MEMBER_Name = "someCountry")))'
    the value [SCENARIO2] like "[SCENARIO]. Generations (2) different
    Set [A4] as "[TIME]. Generations (4) different
    the value [year2] as "[YEAR]. Generations (2) different
    Member [ACCOUNT]. [MS1] as "Rank ([TIME]." Generations (4). Dimension.CurrentMember, [TIME]. Generations (4). Members)"

    Select
    {[ACCOUNT]. [NIM], [ACCOUNT]. [FTP], [ACCOUNT]. [GIM], MS1} on columns, NON EMPTY {crossjoin ({[countries4]}, crossjoin ({[SCENARIO2]}, crossjoin ({[TIME4]}, {[YEAR2]})))} properties ANCESTOR_NAMES, GEN_NUMBER on the lines
    of essApp.essDB
    where ([CURRENCY]. [US $], [PRODUCT]. [LENDING_] [VERSION]. [MD])

    =======================================================================
    MDX on 10.1.3.4.1:
    With
    the value [countries4] as "filter ([COUNTRY]." Different generations (4), (([COUNTRY]. CurrentMember.MEMBER_ALIAS = "someCountry" OR [COUNTRY]. CurrentMember.MEMBER_Name = "someCountry")))'
    the value [currency2] as "{[CURRENCY]. [USD]} "
    the value [CUSTOMER4] like "[CUSTOMER]. Generations (4) different
    the value [PRODUCT2] like "{[PRODUCTS]. [LENDING_]} "
    the value [SCENARIO2] like "[SCENARIO]. Generations (2) different
    Set [A4] as "[TIME]. Generations (4) different
    the value [VALUE_SVC_CTR5] like "[VALUE_SVC_CTR]. Generations (5) different
    the value [VERSION2] as "{[VERSION]. [BAT]} "
    the value [year2] as "[YEAR]. Generations (2) different
    [COUNTRY] members. [COUNTRYCustomGroup] like 'Sum([COUNTRY4])', SOLVE_ORDER = AGGREGATION_SOLVEORDER
    Members [CURRENCY]. [CURRENCYCustomGroup] like 'Sum ([currency2])', SOLVE_ORDER = AGGREGATION_SOLVEORDER
    Member [PRODUCT]. [PRODUCTCustomGroup] like 'Sum([PRODUCT2])', SOLVE_ORDER = AGGREGATION_SOLVEORDER
    Members [VERSION]. [VERSIONCustomGroup] like 'Sum([VERSION2])', SOLVE_ORDER = AGGREGATION_SOLVEORDER
    Member [ACCOUNT]. [MS1] as "Rank ([TIME]." Generations (4). Dimension.CurrentMember, [TIME]. Generations (4). Members)"
    the value [Axis1Set] as "crossjoin ({[SCENARIO2]}, crossjoin ({[TIME4]}, {[YEAR2]}))'.

    Select
    {[ACCOUNT]. [NIM], [ACCOUNT]. [FTP], [ACCOUNT]. [GIM], MS1} on columns, NON EMPTY {[Axis1Set]} ANCESTOR_NAMES, GEN_NUMBER properties on the lines
    of essApp.essDB
    where ([COUNTRY]. [COUNTRYCustomGroup], [CURRENCY]. [CURRENCYCustomGroup], [PRODUCT]. [PRODUCTCustomGroup] [VERSION]. [VERSIONCustomGroup])

    =======================================================================
    The 10.1.3.4.1 deals section of line to use a collection that causing a degradation in performance impact. Tested with EAS and the MDX on 10.3.4.1 server is much slower than the 10.1.3.4.0.
    =======================================================================

    I have defined the environment variable to "OBIS_Essbase_CustomGroup_Generation" to 0, restarted the BI server, but still have the same MDX issued to Essbase.

    According to: http://hekatonkheires.blogspot.com/2009/07/obiee-essbase-mdx-generation-issues.html this problem is still not resolved on 10.3.4.1, is there an idea guy?

    Kind regards

    Will be

    Unless Oracle produces a new patch for 10.1.3.4.1 than the MDX will continue to be generated in the same way, and therefore no resolution will exist. Basically, it's these two dll generating the number: NQSDbGatewayEssbaseCAPI.dll and NQSSIMDB.dll.

    Raise a SR on Metalink and see if you can get a new patch pour.1 if you really need to stay sur.1

    Otherwise, you will need to return a.0, there'sno way right now.

  • Is MDX ASO DATACOPY or similar possible?

    I have the source file that has 5 referenced dims: accounts, Service, quantity, frequency and size. In the 'Accounts' weak, I have 3 members: Qty, Freq, and Yd who all values. So, I extract all these values for all Service, quantity, frequency, and size.

    However, in my target app, I have 8 Sun. The other three are: customer and year Segment. So I load this data file "Segment No.", "No. Cust" and "No. Year." Is it possible to copy this data to all Member of the leaf level of 'Segment', 'Customer' and 'year '? Obviously, it's easy in OSB, but of course impossible to ASO.

    Thank you

    user 11111 a says:
    Well, I'm not genius ASO. This is where I need advice, you can say :) The principle of "tuple" always goes with me.

    My data is loaded here in cube ASO dim 8:

    Postal code: 77056
    Services: laundry
    Quantities: Qty. 1
    Frequency: Freq 1 x
    Film: Yd 1.0
    Segment: No Segment
    Year: No other
    Customer: No Cust

    Values in action:
    Measure the 'quantity': 1
    Measure the 'frequency': 2
    Measure 'Triage': 1

    Example of calculation would be: "Mo Yards" = Qty * Freq * Court * 4.33

    Prob, is that they have not "Quantity", "Frequency" and "Yard" for all THE postcodes. There are opportunities for 228mil. So, I want to fill these values dynamically. They are based on whatever the 'quantity', 'Frequencies' and are the values of metadata "Park." So if 'quantities' is equivalent to 'Qty 1' and then 'quantity' = 1. If 'Frequencies' equals 'Freq 2 x "then 'frequency' = 2, etc...'

    I don't understand why you really want to fill in the values. Add 228 millon values is not the way to do it.
    Why not put a formula as
    [Mo yards] = ([Quantity]. ([No Segment], [no year], [no Cust]) * ([length]. ([No Segment], [no year], [no Cust]) * ([frequency]. ([No Segment], [no year], [no Cust]) * 4.33

    You can add a non empty statement to do the calculation if the value of some data exists for the Member you're looking at.

  • Formula of Essbase MDX ASO: error 1260052

    I get the 1260052 error when I use the following formula

    [Number] / CrossJoin ({[WholSale]}, {[No_Product]})

    Any suggestions of what could be the cause?

    ESS worm 11.1.1.3

    May be wrong, but I don't think it's sensible to try to divide something by the result of a cross join.  And because you specify only one member of each dimension, it seems, you want just a single tuple (not a cross join) anyway.

    So all that being said, isn't...

    [Number] / ([WholSale], [No_Product])

    .. Give us you the result you are looking for?

  • MDX - member of DROP

    Hi all

    is it possible to drop members via MDX?

    I want to file all the members of the following query:

    SELECT

    {}

    ON COLUMNS,

    FILTER ({CONTRACTS. LEVELS (0). MEMBERS}, LEFT (CONTRACTS. CURRENTMEMBER. MEMBER_UNIQUE_NAME, 1) '[' <>)

    ON THE LINES

    OF THE APPLICATION. CUBE;

    Example of syntax for Member droping

    DROP MEMBER [booksnall]. [measures]. [percentage_increase]

    Short answer - no MDX is a query-only language.

    In fact, Essbase does not Remove easy members. If it is a one-time process and there are a large number of members that I would use the output of the query to generate a list of members, put in a flat file and then create a rule which moves all members to be children of a common "dummy", for example "DeleteMe" parent

    Then manually go and delete "DeleteMe" of the sketch, taking the children with her.

    Alternatively, you can generate a file with all members you do want to keep and rebuild the dimension with the option 'remove' not determined in a State of charge.

  • List of available MDX properties / always show the name of the Member instead of alias

    Hi all

    does anyone know if there is a list of all available MDX properties that can be used in a query with Essbase MDX?
    There is a very small list in the technical documentation (http://docs.oracle.com/cd/E12825_01/epm.111/esb_techref/mdx_properties.htm), but I know that there are many more properties.
    For example, a property that is not documented is ANCESTOR_NAMES:
    WITH MEMBER [year]. [false] '0', SOLVE_ORDER = 0
    SELECT {[year]. [Dummy]} on columns,
    [Account]. Properties of members ANCESTOR_NAMES lines
    OF [App.Db];

    Anyone know if there is such a list?

    And another question:
    The query displays always the alias of members (e.g. [account]. Members). Is it possible that by default the name of the Member instead of the alias is used? Without using the nom_membre property.

    Essbase version: 11.1.1.3

    Thank you
    Th

    To the second question about the name of the Member, try the following statement at a MaxL session:
    change the alias set session dml_output

Maybe you are looking for