Percentile calculation BI
Hi friends,
I was bit confused with the calculation of percentiles and explain my scenario. I have the sub report
In the above I'm not sure how to do the base salary average annual is calculated. I can see the formula substituted for this column as below
AVG ("salary facts". "' Total annual Base salary" by NTILE ("salary facts". (("" Total annual Base salary ", 2))
For the two highest rank of the average base salary is below the value with the formula above
144908.05
588320.46
But I'm not sure how it calculates the respective value. Please specify this friends of calculation.
Thanks in advance.
Kind regards
Saro
No, the average for this NTILE... it is not based on MAX or MIN...
NTILE = 5 takes about 20% of the values, once sorted, within each group (TILE). Here the AVG() function tries to find the average 20% of the values. So altogether if you had 10 original lines, 2 rows would be in each TILE... at that time, you would average between two values. If you had 100 lines, then you would seek to average in each groups 5 through 20 lines per group.
Tags: Business Intelligence
Similar Questions
-
Hi all
I want to calculate "Percentile"(by 50-by-90)
Aim: http://asktom.oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:16695563776514
and I tried with NTILE but its not giving correct results
DB: Oracle 10g
Any suggestions?
Thank you
Saichand.vAngelique Varanasi wrote:
HelloThanks for the reply
Select percentile_cont (0.5) in the Group (order of measure_column), dim_col
percentile (0.5)... is identical to the MEDIAN function. Maybe you can consider using this one instead.
such as:
select median(measure_column) from table_name group by dim_col
This won't help with percentile (0.9) of the cause.
See also: http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/functions086.htm#sthref1601
-
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 youYou 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.Test3Axis-1 (price) (Rank) (Calc1) (Calc2) (Calc3) (Calc4)
------------------------------------------------------+---------
(LOC1) 7 0.7000000 9 22 31 28.3There 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.
-
Function percentile &; percentage in SQL or PL/SQL?
Hi all
I was wondering if there is
Any example will be great!Percentile or percentage functions in SQL or PL/SQL to calculate ?? I came across percentile_rank , but i didnt find really good example online .... so i wasnt sure if thats right function for calculating percentile
Thank you very much!!!Hello
You don't need the functions for that; Just use the / division operator:
SELECT x.* , TO_NUMBER (value_amt) / NULLIF (TO_NUMBER (cnt), 0) AS avg_value FROM x ;
During the validation of the sample output, it is better just to post the actual production, not a table having the same output.
For example:VAL CN AVG_VALUE --- -- --------- 100 6 16.67 200 5 40.00 500 10 50.00 700 12 58.33 900 14 64.29
It's actually the output I got from the above query.
Store numbers in a column of string just asking trouble. Use a column to the NUMBER instead; you will avoid the mistakes, and you won't need TO_NUMBER calls in queries like the one above.
If you are certain that the NTC is never 0, then you need not NULLIF. "NULLIF (cnt, 0)" to avoid a division by 0 error by returning NULL rather than 0. -
base newspaper Scientific Calculator
Hi guys,.
I searched online for documentation on the basic button y log in scientific calculator iOS but I could not find.
What is it?
What is the inverse logarithmic function?
If so what base? Base 10, 2 or e?
Thanks for the help.
This isn't an inverse logarithm, it is one logarithm using any other basis as the existing buttons for base 10 or base 2 logarithms. The "y" is any basis you want to use for the logarithm.
Suppose you want the logarithm of base 4 of the number 12 (i.e. log4 12). The keystrokes you would use would be:
- 12
- Logie
- 4
- =
-
Hi people,
Sierra on my MacBook Air, I installed the other day and now I have HD has calculated since!
I don't know if something is wrong or if the HD is when defective after install, but everything seems works well just the SSD saying its calculation.
Cyber Hello,
I understand that, since the upgrade to Mac OS Sierra, the storage of the about this Mac pane stated that it is the calculation. In such a situation, it can often help to rebuild your Mac Spotlight indexes.
Rebuild the index Spotlight on your Mac. -
Leave my Calculator only recording not in the latest issue
I have been using the calculator that comes with OS X to keep my checkbook balanced for a few years. In general/system preferences, I don't have not 'Close them windows when you exit an application' checked. This should I want to open the calculator with the last number still saved. He has in the past, but since the upgrade to Mac os Sierra, calculator saves what I had (except on the Strip). Is there something I can do to recover this feature?
I can check your results even if I do not remember if she previously recorded the last number. I don't know if it's a change of function or a bug etc, but I think it's something Apple should change. You could install PCalc for the App Store. It is not free, but it does a lot more.
-
How to restore the calculator application to drag it to the top of the screen to control
Can how I restore the calculator to drag it to the top of the screen to control center? It seems to have been removed from the bottom row? Thank you
Are - what you got to remove the calculator of your applications on the phone? You can find the calculator on the phone itself? If you find it, then try a reset. Hold down the home and sleep/wake together until you see the Apple logo and then release. The phone will restart. There are no settings to change what appears on the display. See if the reset solves your problem.
EDIT: what exactly you see in the Control Center? If you see only controls the music, then drag to the right to see the rest of the access to the control center.
-
Turn off the calculator keyboard sound iOS 10
How to disable sounds click on keyboard in the calculator? "Keyboard clicks" is DISABLED in the settings.
Me too, I am extremely frustrated with this change. For those of us who do not support the keyboard clicks, this regression is super boring!
-
Turn off the calculator clicks in iOS 10
How to disable the sound of rattling when using the calculator application in iOS 10? Keyboard clicks are already disabled in settings > sounds and is not the solution.
The clicks seem to be controlled by ring settings. Using the Mute button will work, while reducing the amount could also reduce the ring volume.
Maybe we should use the comments link to get the clicking sound of the calculator to silence again in a future update iOS:
-
How can I disable the rattling of the calculator in iOS 10
I actually use the calculator a little and I wear headphones to work. The click is pretty boring, and the only solution I've come across is to cut off all the sounds that defeats the point of all the notification sounds that I use. Please close the click or give me a way to make everything by letting other aspects only. NOT an improvement.
It is mainly a user support forum. I expected settings > sounds > keyboard clicks could solve the problem for you, but it doesn't. You can make a suggestion to Apple on http://www.apple.com/feedback/iphone.html
-
When you try to calculate what percentage one number is another number, the calculator does not give the right answer. It's something that started the month last in my IPhone 6. For example, dividing 5 by 10 and press the percent key. The answer given est.1. Divide 10 by 5 and the answer given est.05. Of course, I know how to get the right answer, but since it is a recent change in the IPhone calculator, I wonder if a key has been changed in an update or if there is something else wrong. I could any ideas or suggestions on something, have done to cause the problem?
sblasdel wrote:
For example, dividing 5 by 10 and press the percent key. The answer given est.1.
The calculation you just described is 5 divided by 10% (e.g. 0.1). To complete the calculation, you must press the = button.
-
Numbers are perpetually my 18MO spreadsheet calculation. All solutions?
My spreadsheet numbers was good up to that point.
After that I added in other new formulas, it happens suddenly.
I thought that by removing some unused leaves, it could improve, but nothing has changed.
Even back on my mac has not helped.
Any suggestions? My numbers worksheet is 17.8 MB and I'm running a MBA 13 "mid-2013 with a processor 1.7GHZ Intel i7, 8 GB memory and 13 GB of free space on HDD.
Hi tl,.
Numbers are not designed to handle large volumes of data or large tables. It is specified the maximum size is 255 columns by 65535 lines, but it will become unusable long before they reach the limit of the lines. Part of the problem is that the numbers automatically recalculates each change to a table, a feature that cannot be disabled.
I did a little test with one piece of sheet with four tables, each 9 5112 lines columns, as well as a single-column table 10 lines.
Large tables had the same formula in each cell: = RAND () * 100
Each cell also had four rules of conditional highlighting that filled a color that depends on the value in the cell in the cell.
The smallest table had formulas allowing to find the values of minimum, maximum and AVERAGE in four large tables, as well as the SUM of the values in a table and a count of the number of times the minimum value in one of the tables occurred in another tables.
Calculation was triggered by activating / deactivating a checkbox and took about 24 seconds to complete.
The size of this worksheet when recording as a file is 7.1 MB.
For large files, numbers are not the best tool. Try one of the office applications open source (LibreOffice, Apache, OpenOffice), or MS Excel.
Kind regards
Barry
-
Why the numbers app calculates a slightly different result than my calculator?
If I calculated on my ÷ 41 161 calculator I get 0.2546583851, but I get the numbers 0.2552795031. Why this discrepancy? It is throwing my spreadsheet unhinged as he rounds automatically when we reduce the decimals to 0. Please notify.
Thank you.
I don't want to be too technical... but each calculator has a different precision. It depends on the hardware and software of your calculator.
My advice: trust numbers app.
Update:
Are you sure you are not cheated? I tried in numbers and the exact result is:
0.254658385093168
-
iPhone calculator 5s gives wrong answers.
IPhone calculator 5s gives miscalculation for the mathematics of spimple for example. I can reinstall the calculator. Thank you.
What is the calculation you are trying to do this is incorrect? Also, please provide the steps you took to come to the answer you received. The calculator is a native application. To reinstall, you would need to restore the phone, but I would check what I asked first, and another set of eyes might be able to answer your question.
Maybe you are looking for
-
My computer laptop touch pad keeps freezing
So I had this problem with my HP laptop for a while now. My mouse freezes randomly when I use my touch pad, make me have to close my laptop and open it again to my touch pad start labor, it might sometimes take awhile to start to get back to work. So
-
Upgrading exchange 2007 to exchange on SBS 2008 2013
Hello I need to EX13 EX07 on small business server 2008, so I'm looking for documents and the steps that will contribute to the implementation. Thanks in advance! Arun-
-
The data execution program has wiped my mailboxes (in OE)?
I was deleting a file duplicate photographs, because my system said that memory was getting short. I got a message saying that the program execution of data necessary to shut down the system, and when it is restarted, the file photos was back where
-
My Compaq Presario OEM Windows certificate of authenticity isn't 25 number?
I can't save my version of windows and I'm stuck! Can someone help me what do I do? This laptop is a Windows 98 Second edition, use my children!
-
freeze online game