Is percentile calculation supported by QD or WAD?

Hi!
Customer does not have access to Business Objects, Crystal Reports or similar but requires percentiles to be calculated at runtime.
Customer wants 10th, 25th, 50th, 75th and 90th percentile of the employees' individual wages to be presented for whatever combination or drill-down of characteristics are selected in report. Eg first display is organizational units as a hierarchy, each unit should have the percentiles displayed and calculated on the wages of the employees for that unit. Also, minimum wage for each unit and total sum for wages for each unit should be presented.
If user adds Gender from free characteristics, the percentile values should be re-calculated so that they are based on the employees' wages for each gender under each unit.
Is this at all possible?
Query Designer does not provide any options unless we predefine which characteristics we want to use and sort and index the data accordingly. This is not an option since user will analyse many scenarios and does not know beforehand which scenarios are applicable.
Web Application Designer can offer median value (50th percentile) via context menu but only based on the subtotals and totals presented in query (eg total wage for organizational unit, not employees' individual wages).
Only option as we see it now is to try to create an enhancement of context menu in WAD and use a customer exit to do the calculation and then send result back to query. But is this a solution? Will it even work? Can this work dynamically or must user make selection on menu for each re-calculation of the values? Will it damage performance?
There is very little information about percentile calculations on forums or SAP help, is this not supported at all if customer does not use BO or similar?
Please advice on solution or information about whether or not this is supported by BI.
(links to info regarding enhancement and customer exit
http://help.sap.com/saphelp_nw04/helpdata/en/a4/7f853b175d214ee10000000a11402f/content.htm
http://help.sap.com/saphelp_nw70/helpdata/en/47/a3d30269421599e10000000a42189c/content.htm)
(System information: SAP Netweaver 7.0 EHP 1, suppport pack 8)

Well, you're right. There is an amount of manual action required. And the condition does indeed look at the characteristics in the drill-down - so if employee no in not in the drill down, then the lowest granular data will not be taken into account.
If you want to avoid that, you'll need a different approach. You could create a vanilla (without condition query) and write an APD to pull data from that query. The APD would then contain a routine to perform this calculation of the 10th percentile and that could be sent into a DSO and thereafter to a Cube. The same APD for 25th, 50th percentile etc. Eventually the target cube, for each Org Unit, would have one record for the 10th percentile, one for the 25th etc. The query could be built on this cube and could pick up the percentile required by the user.
The trouble with this design is that you'll have to think of all possible combinations of characteristics (Org Unit, Gender etc) and use the APD to calculate them. But I can't think of any other way to handle it either.
Regards,
Suhas

Similar Messages

  • Percentile Calculation

    Hi All,
    I want to calculate "Percentile"(per-50 and per-90)
    Referred : http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:16695563776514
    and tried with NTILE but its not giving correct results
    DB: Oracle 10g
    Any suggestions ? ?
    Thanks,
    Saichand.v

    Hi,
    thanks for the reply
    select percentile_cont(0.5) within group (order by measure_column),dim_col
    from table_name group by dim_col
    NTILE : In OBIEE we have NTILE function
    NTILE(measure_column,50)
    This is what i tried but i am not sure about the expected results
    When i use NTILE not getting exact results ......its is showing same value for all my reports(obiee side)
    Thats the reason trying to write an sql for the percentile calculation so that i can manage the things from my OBIEE side
    Can you please shed some light ?
    Sorry if i didn't mention my problem correctly(expected results) the basic problem is don't have idea how Percentile will handle
    Thanks,
    Saichand.v
    Edited by: Saichand Varanasi on Jan 6, 2011 2:22 PM

  • Regarding Percentile Calculation

    hi Experts,
    plz help me is there any function module for calculating percentile or tell me formula for percentile calculation

    I would not rely on XI built in arithmetic functions as they are extremely inaccurate. Write your own UDF and use Java classes such as double or BigDecimal depending on use.
    Yoni

  • Are there near future plans to improve pdf form calculation support on ipad?

    I'm trying to produce a pdf form including calculations with variables. It works fine on pc but the calculations are not supported on ipad...
    Does anyone have any info on possible improvements that may be brought by Adobe (and/or Apple) in the near future to bring the "dream" of compatibility a little closer?

    As a policy, we do not publicly announce product plans.
    If you'd like, you can submit the Feature Request form.  The Product Management team will take your request into consideration for a future release of Adobe Reader for iOS.
    Thank you for the feedback.

  • Count and Percentile calculations for various Lines in BEx Query.

    Dear Experts
    I working on a BEx Query at the moment and the output is required in the format below:
    This and another report (which will be displayed above this report) will go into a WAD eventually.
    I have Key Figure for 'Document Count' but not sure how to get the percentage displayed in the second line and also for the Top 3 Reason Codes (not having anything displayed across 'Top 3 Reason Codes' though). I have tried Selection and other ways but nothing worked so far.
    Do I have to use Cell Editing by any chance or is there a way to work-around this.
    Thanks in advance for your help.
    Kind regards,
    Chandu

    You can achieve your report format by creating a Structure in rows with Cell definitions. Define each cell in COunt Document KF according to the row logic.

  • ASO Custom Calculation (Procedural)

    Do custom calculations support using the ROUND mdx function? I know member functions are not supported but what about ROUND?
    I'm asking because I'm getting the following error:
    "Cannot Perform Custom Calc. Essbase Error(1300056): The expression is invalid"
    Thanks
    Edited by: rubylife on Nov 6, 2012 3:42 PM

    You've got a mismatched " in the first line of the "execute calculation" statement.
    However, I think the real problem is in the calc script.  I don't believe you can do this in MDX:
    CASE WHEN x THEN
        a := y;
        b := z;
    END
    You have to do this:
    a := CASE WHEN x THEN y END;
    b := CASE WHEN x THEN z END;
    An alternative is to create a formula member for each of the measures you are trying to set (with the member formula containing the CASE logic) and have the calc script copy the formula member to the permanent member.

  • Possible new percentile function?

    Hi,
    I'm running "Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production".
    I need to calculate percentiles, so I believe I have two choices: PERCENTILE_CONT() or PERCENTILE_DISC().
    I also need to get the same results as the SPSS and SAS tools.
    Comparing the results, neither of the Oracle versions give the same result as SPSS/SAS. I think this is due to how Oracle determines what row numbers to use.
    Oracle takes row RN = (1+ (P*(N-1)) where P is percentile and N is number of ordered rows.
    For PERCENTILE_CONT(0.1) from a 16 row set that would give row 2.5 as the starting point.
    http://docs.oracle.com/cd/B28359_01/server.111/b28286/functions115.htm
    SPSS and SAS uses the formula RN = P*(N+1) which gives row 1.7 for a 16 row set.
    Now, would it be possible for me to write a PERCENTILE_SPSS() function?
    The samples of analytical/pipelined functions I have seen (and written) are happy to use the rows in the set one by one, to calculate some special min/max/avg/etc.
    For this function I would need either
    1 - to know the number of rows in the set, from the first call of my function, and calculate the percentile as my function "passes" the desired rows
    or
    2 - save all values in the set and calculate the percentile at the end
    The first sounds impossible, the second sounds expensive for a large table.
    Any suggestions?
    Kind regards
    Tomas

    You'll be more successful in the forums if you focus on the issues, questions and suggestions rather than make assumptions about why those questions or suggestions are being asked or made. Your unwarranted personal comments are unprofessional and indicate a lack of maturity.
    My questions were, and are, solely to elicit information about your actual issue so that suitable solutions or workarounds can be determined. There was no 'lecture' anywhere in any of the information that I provided; just statements and quotes from experts.
    The articles and quotes I provided were intended to show you that there isn't a universal agreement on a definition for those 'percentile' calculations. That would signal at least a 'caution' flag.
    >
    I'm asking if it's possible to write a custom-made analytical function when the formula needs to know the record count.
    >
    Yes - it is possible. In my opinion it isn't feasible. Any attempt to reproduce the exact proprietary algorithm that any vendor uses would require knowledge about the internals of that vendor's code that jsut aren't likely to be known or available: what precision is being used for intermediate results? What rounding methods are being used? What is the exact order of operations. Were any of those factors changed between versions. Did the vendor make any bug fixes?
    Any testing you do with any manageable set of test data won't ensure that there aren't data sets that will produce slightly different results.
    So writing such a function is one thing; trying to duplicate existing functionality is something else. The vendor's own implementation may have changed due to bug fixes so the results from that vendor may depend on the actual version being used.
    >
    Oracle does not have to match, I've never said that.
    My report, running in Oracle Reports, do need to match the results of an old report.
    >
    Well I read that as saying that Oracle does need to match. Your second sentence pretty much says exactly that.
    Again, my question was to try to understand why Oracle needed to produce a NEW report from OLD data that matches information in a PRINTED report from the past. That is a very unusual requirement. I've never run across such a requirement in more than 30 years and I have written thousands of reports using Crystal Reports (now BO), Oracle Reports, RPG and many other tools.
    It is often not possible to reproduce ANY report from the past due to the ever-changing nature of the data in the database. Data gets updated, deleted, inserted even when it shouldn't.
    >
    I have considered typing in the old values and selecting them.
    >
    That is the only method guaranteed to produce the same results. And that is about the only method that will pass the stringent auditing and Sarbanes-Oxley requirements that many organizations have to abide by. Those auditors won't allow you to just change the data to make things come out the way you want. You have to PROVE the provenance of the data: where did every piece of data come from, what changes were made to it (and when and by whome) and how were any accumulations performed.
    Using a custom function and merely showing that the results, on paper, match would not sway any auditor I've ever had to deal with. You may not have an issue of having to prove the data. That's why we are asking questions. To try to understand what options are viable for you.
    >
    That would mean I'd have to use SPSS to produce future values to store.
    >
    Yep! That's one of the main drivers for a lot of the ETL processes that exist. There are multiple systems of record. A PeopleSoft system might be the SOR for Inventory while an Oracle financials system might be the SOR for the financial and payroll data. ETL tries to merge and match the data. Trying to keep those ETL processes up to date with the changes going on in all of the source systems is a MAJOR headache.
    The standard solutiion for that use case is to select an SOR for reporting and then create ETL processes that bring the SOR data from each source system to the reporting SOR. For your use case that might mean using SPSS to produce data in report-ready tables and then use ETL to bring that data to the report server where it can be merged with data from other systems.
    >
    That's just too much manual labour for my taste.
    >
    Welcome to the real world!

  • Web Interface for Bex Maps in WAD 7.0

    Hi Everyone,
    I have a requirement to be able to display values in a table when an area on a map is clicked.
    This functionality is supported in 3.5 WAD where a property for a map layer could be set to affect values in corresponding tables within a template .The name of the property is 'Map Interaction Controls' ; value 'Click on Map to filter data providers'. Once this value is chosen, in another property 'Affected list of data providers' you specify the dataprovider (of the table) which will be affected by a user clicking on the area of a map.
    In WAD 7.0, the only property I see is 'Affected list of data providers' for a specific map layer. I do not see the 'Map Interaction Controls' property.  I have tried working with the other settings(properties) available for a layer, but none of them seem to work for invoking the interaction between the map and the table
    Does anyone know if the functionality offered in 3.5 is still supported in 7.0? Or if there is a workaround for the function to work?
    Any help would be greatly appreciated and points would be rewarded!
    Thanks,
    Mansha

    Anyone with any ideas/suggestions?
    Thanks!!

  • HP 35s Scientific Calculator User Manual

    Dear, HP Customer Support team I am the owner of one of your products HP 35S calculator (Serial number CNA229006J). After I bought it it was delivered with CD with manuals (all electronic). Due to nature of my job (drilling engineer) its not always convinient to use CD to read manual (for referrence)  to perfrom  certain type of calculations. My question is do you provide a hard copy (book type) manual?  I visited one of  the  HP calculator users forum and some users said that you provide hard copy manual for free if the product name and serial number provided. Could you tell me please is it possible.
    Many thanks,
    Ruzbeh

    At one time HP would send a printed manual if you called the calculator support, but I am not sure this is still the case
    (see http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/archv019.cgi?read=174521 )
    However, it would be worth a try to call calculator support, you never know.
    You could also just print the chapters you most frequently need, saving unnecessary printing of the parts that are not relevant to you.
    Note: I do not work for HP, I just like playing with calculators :-)

  • HT204409 I have a new iphone 5 and it won't connect to a wireless router that my old iphone 3GS would pick up. Is there a compatibility issue with some routers or is the antenna weaker in the new iphone 5?

    I have a new iphone 5 and I can't pick up a wireless router that I could use with my old iphone 3GS. Is there an issue with the new iphone and is the antenna weaker than the 3GS?

    Please read this :
    https://discussions.apple.com/message/20053332?ac_cid=tw123456#20053332
    Well I copyed it to you here.
    Re: Anyone still having IOS 6 wifi issues?
    created by mpa9366 in Using iPad - View the full discussion
    Having done a lot of reading today and having found a very good online tablet magazine (will post link tomorrow) there seems to be a few tech bods onto the problem.
    The magazine I was reading identified wifi problems within hours of the ios 6 release and have been analysing since then with almost daily updates - the story seems to be:
    The apple authenthication transmission is normal, it should slip through event prior to a full handshake with the host network being completed - however if not authenthicated then apple will not permit the device to connect (kills the connection) this is designed to protect apple from counterfeiting. So thats problem 1 if you dont receive a token from apple.
    Problem 2 is that ios 6 only supports ipv6 (the new ip protocol) whereas outside silicon valley a large proportion of routers modems etc are still ipv4 protocol.
    So youre locked into ipv6 in a world where ipv4 devices are everywhere and apple have not allowed for the ability to handle both protocols. This is like GM telling you your car requires an upgrade, everything will improve etc and as part of the upgrade fits a fuel cell motor and stays silent when their upgraded vehicles are simply parked up because they cannot get fuel.
    A very basic expectation would have been dual protocol handling - we know the HW supports ipv4 as all wad fine on ios5.
    So its going to be hit and miss with networks - more hit than miss in techy areas like silicon valley, but more miss in places like where I am - a small town in rural Switzerland.
    Only apple can fix this with a patch to enable ipv4 protocol handling.
    There you go. you just need to buy a new router, I'm sure Apple has one for sale, cause it's not there fault for sure.
    Wonder why people start to migrate to other devices ?

  • How to calculate an interpolation...

    Hi Everybody,
    Iu2019m struggling with the percentile calculation using simple interpolation.
    I have following inputs:
    Table:
    Day_bucket             1|     2|     3|     4
    Responses             10|     20|     50|     20
    Cumul_responses     10|     30|     80|     100
    Percentile                     0.1|     0.3|     0.8|     1
    1. Day_bucket u2013 days from 1 to 100 (dimension)
    2. Percentile u2013 percentile distribution u2013 how many % of all responses have been received in a particular day from Day_bucket dimension (measure)
    3.Interpolation equation: d=d1 + ((g-g1)*(d2-d1)/(g2-g1))
    g - percentile you are looking for (in my case 0.9)
    g1 - MAX percentile < 0.90 (in my case 0.8 )
    g2 - MIN percentile > 0.90 (in my case 1)
    d1 u2013 Day_bucket where percentile is equal to g1 (in my case 3)
    d2 u2013 Day_bucket where percentile is equal to g1 (in my case 4)
    d u2013 value Iu2019m looking for (in my case 3.5)
    Now what I need to do is to get the result of above equation into one field. And my problem is that I not able to calculate g1, g2, d1, d2.
    Can anybody help me? Is it actually possible to make such calculation in Business Object?
    Edited by: gonosgon on Jul 20, 2010 2:46 PM

    Hi gonosgon.
    I do think this is possible in Web Intelligence. I think you would need to create some variables in order to do what you need. I am not 100% clear on what you need to do, but if you create some variables in your report, for instance, for g, g1, g2, d1, d2, etc. this may allow you to do what you need. These variables can then be built off other variables.
    If you have access to your universe, then you can simply create the objects you need with these pre-calculated.
    Hope that helps!

  • The computer has rebooted from a bugcheck. The bugcheck was: 0x0bad1001

    I would like to know how to troubleshoot this issue.
    The computer has rebooted from a bugcheck.  The bugcheck was: 0x0bad1001 (0x00000000000d04fd, 0xffffd00022fb6388, 0xffffd00022fb5b90, 0xfffff803552f9916). A dump was saved in: C:\WINDOWS\MEMORY.DMP. Report Id: 070114-140796-01.
    I'm not able to upload C:\WINDOWS\MEMORY.DMP because the file size is too big 1.41 GB
    Any idea what is causing this proplem?
    Thank in advance.

    Hi,
    The dump file shows the message as below:
    *                        Bugcheck Analysis                                   
    Use !analyze -v to get detailed debugging information.
    BugCheck BAD1001, {d04fd, ffffd00022fb6388, ffffd00022fb5b90, fffff803552f9916}
    Probably caused by : klvfs.sys ( klvfs+6044 )
    Followup: MachineOwner
    the klvfs.sys file is responsible for this, the file means a Kaspersky software is installed on your computer, in this case I suggest to remove this software to see the result, meanwhile I suggest to turn to Kaspersky for the compatibility with Windows 8
    at:
    http://support.kaspersky.com/
    Regards
    Wade Liu
    TechNet Community Support

  • Multiplication in PowerPivot

    Hi all,
    I'm wordering if there is any calculation support multiplication based on rows, such as :
    Rate
    0.92
    0.78
    0.89
    0.82
    Result = 0.92*0.78*0.89*0.82 *..
    My calculation is more complex, this is just a part.

    I have found a resolution. I want to share with you.
    Result:= EXP(SUM(Ln([Rate]))
    Thx

  • Extracting/Reporting on SEM data into BW

    Hi Experts,
    I have new requirement of reporting on SEM-PDCE.
    For this I have to fetch data of SEM PDCE into BW.
    Can you please provide me links or steps how to do that.
    I hve never work in SEM.
    IF anybody has documents relating to SEM or SEM PDCE or extraction of SEm data into BW, please mail me at
    [email protected]
    Please help me out in this..
    THanks in advance
    Sorabh

    Hi Sorabh,
    Here is the extract from sap site.
    SAP Strategic Enterprise Management (SAP SEM) delivers end-to-end capabilities to support the entire performance management life cycle
    this has following facilities:
    Business planning and simulation -- Capabilities for strategic planning, financial statement planning, and investment planning enable you to update budgets more frequently, meet changing business conditions, and combine traditional, bottom-up budgeting with top-down strategic planning. SAP SEM also encourages a more collaborative budgeting and planning process -- while helping you integrate and align strategic, operational, and financial plans.
    Business consolidation -- Capabilities for currency translations, automated eliminations, and performance calculations support financial reporting standards required for consolidations, such as U.S. and local Generally Accepted Accounting Principles (GAAP) and International Accounting Standards (IAS). SAP SEM also helps you implement management consolidations based on user-defined organizational units and user-defined hierarchies.
    Strategy and performance management -- SAP SEM helps you translate strategies and objectives into meaningful plans for every segment and department of your enterprise. Capabilities for use of the Balanced Scorecard, value-based management, and risk management enable business users to make proactive decisions and understand how individual functions or organizations are contributing to the broader corporate strategy.
    Stakeholder relationship management -- SAP SEM provides support for communicating enterprise strategy, current plan data, and strategic initiatives to the different stakeholder groups. Capabilities for portal-based investor polling and information collection, as well as analysis and modeling of stakeholder feedback, facilitates the two-way communication needed to incorporate stakeholders into strategic management processes.
    link to documentation
    http://help.sap.com/saphelp_sem40bw/helpdata/en/3a/c670373bbf0303e10000009b38f842/frameset.htm
    Also go through these links.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/s-u/sap%20bw%20business%20planning%20and%20simulation%20-%20how%20to%20guides%20list.htm
    https://websmp202.sap-ag.de/sem
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/d-f/enhancements%20bw-bps%20formerly%20sem-bps%20in%20sapnetweaver%2004.ppt
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/d-f/frequently%20asked%20questions%20-%20planning%20with%20sap%20netweaver%20bi.faq#q-6
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5d90209f-0501-0010-59a2-9243ac94a4d7
    Also there are some good threads on this topic
    what is the difference between BW 3.5 BPS and SEM BPS 4.0
    BW- BPS and SEM- BPS
    SEM-BPS VS BW-BPS
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/s-u/sap%20bw%20business%20planning%20and%20simulation%20-%20how%20to%20guides%20list.htm
    https://media.sdn.sap.com/public/eclasses/teched04/BW253_files/Default.htm#nopreload=1
    https://www.sdn.sap.com/irj/sdn?rid=/webcontent/uuid/3040dd5d-0501-0010-baa8-fc0aafa88c40 [original link is broken]
    http://help.sap.com/bp_biv235/BI_EN/html/BW/CostCtrPlan.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/d-f/enhancements%20bw-bps%20formerly%20sem-bps%20in%20sapnetweaver%2004.ppt
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5d90209f-0501-0010-59a2-9243ac94a4d7
    http://help.sap.com/saphelp_nw04/helpdata/en/05/242537cedf2056e10000009b38f936/frameset.htm
    http://help.sap.com/bp_biv335/BI_EN/html/BW/CostCtrPlan.htm
    http://help.sap.com/bp_biv335/BI_EN/html/BW/SalesPlan.htm
    Re: SEM 5.0 Installation guide
    Re: Merge an SEM-BPS System to BW System
    SEM/BW integration into Enterprise Portal?
    SEM 4.0 with BW 7.0
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/d-f/frequently%20asked%20questions%20-%20planning%20with%20sap%20netweaver%20bi.faq#q-6
    Re: SEM vs BW
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/44/b21f98be886a45a4bb7e123e86e4c2/content.htm
    Re: SEM 5.0 Installation guide
    Re: Merge an SEM-BPS System to BW System
    SEM/BW integration into Enterprise Portal?
    SEM 4.0 with BW 7.0
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/d-f/frequently%20asked%20questions%20-%20planning%20with%20sap%20netweaver%20bi.faq#q-6
    Re: SEM vs BW
    ***pls assign points,if links are useful**
    Regards
    CSM Reddy

  • Percentage pie chart whose query return just one value

    Hi,
    I have a requirement which is to display a pie chart that shows the relative percentage of based on a particular row's values.
    Here the SQL query return just one value to generate the chart, however Apex is creating its own seemingly random value to draw the rest of the chart and dividing the region.
    Is there any way for Apex to take the single value that the query returns as a percentage and generate the chart by calculating the other value to be as (100 - queried value) and split the region in the chart accordingly.
    Of course one method is to store both the value that the query returns as well as 100 - that value in a table and then write the query in the chart that references both these values.. but I'd like to know if there is a way to go about it without storing this extra bit of information in a table
    Thanks!

    you create a hidden page item and populate with total value and percentile calculated value and use it in dial chart as querry.

Maybe you are looking for