Percent compared to the total

Guys, sorry to ask yourself these basic questions of one. I searched the Forum all the way and couldn't find all associated threads.

I need a percentage of column simple wich altogether. It would be something like this:
Doc_ID     Doc_value     Pct Over Total
1     5          50%
2     3          30%
3     2          20%
I looked in the user guide and there was a reference to the percentile function, but it doesn't seem to do what I need.

Thanks for your help!

BI_Creation wrote:
Guys, sorry to ask yourself these basic questions of one. I searched the Forum all the way and couldn't find all associated threads.

I need a percentage of column simple wich altogether. It would be something like this:

Doc_ID     Doc_value     Pct Over Total1     5          50%2     3          30%3     2          20%

I looked in the user guide and there was a reference to the percentile function, but it doesn't seem to do what I need.

Thanks for your help!

you want to

doc_value / sum (doc_value) * 100

This will give you a % of the total of any report, you can partition the function sum() to give % of subtotals, if you want, like (doc_value by annual) but this will give you all the ranks at 100% in your example, you had a column Time.Year in your report, you could do sum (Time.Year doc_value) and you get the % of the year get it?

Concerning
Alastair

Tags: Business Intelligence

Similar Questions

  • Number of slides visited compared to the total number of slides? To build the progress bar %.

    I would like to put a progress indicator on each slide indicating the percent of the total number of slides that have been visited.

    35.png

    To do that I need a variable that indicates the number of slides visitors (so not the number of THE slide that is ongoing).

    Any suggestions?

    OK, in this case, you need a variable user for each slide to be toggled

    from 0 to 1 on the first visit. Total number of slides visited is the sum of

    variables. There is no function to create the sum, you will need a sequence of

    Statements of the expression.

  • number of records per page total records compared to the BI Publisher

    Hello

    In the tool Oracle BI Publisher, please can you me how to display the total number of records in a report? as well as how to display the number of records per page?

    Thanks for your help

    Concerning
    Garza

    check the Inbox. passed the updated model

  • 'overall target of auto PGA' is too small compared to the overall target of the PGA

    Hi all.

    The database is 11gR 2 (11.2.0.3) on a linux machine.

    'global setting of target PGA' is about 25 giga size.
    'overall target of auto PGA' is about 5.5 gigabytes size
    'Allocated total PGA' is about 25 giga size.
    "total PGA inuse" is about 19.5 giga size.

    According to the manual of the oracle, "total target auto PGA" means:

    Amount of memory PGA the Oracle database can use workspaces running in automatic mode. This amount comes dynamically PGA_AGGREGATE_TARGET initialization parameter value and work load current workspace and set continuously from the Oracle database.

    If this value is small compared to the value of PGA_AGGREGATE_TARGET, then a large amount of memory on the PGA TOUR is used by other components of the system (for example, PL/SQL or Java memory) and little is left for work areas. The DBA should ensure that enough memory PGA is left of workspaces running in automatic mode

    -----------------------------------------

    My question is following:

    1. what component consumes about 20 gigabytes size of the pga (total 25 giga).
    If the PL/SQL or Java memory consumes 20 giga size, isn't too compard to a total of size pga (25giga)?
    Does rely on applications? (we have procedures/packages in the database server-side)

    2. the total amount allocated (25 giga) PGA is close to "Global PGA target parameter (25giga).
    "total PGA inuse" is about 19.5 giga.

    Is that mean that data from free space of 5.5 giga size PGA?
    I'm a bit confused between 'PGA Total allocated' and 'total PGA inuse.

    ------------------------------------

    {code}

    Select name, decode (unit, 'bytes', round(value/1024/1024), value) mega_value, unit
    v $ pgastat



    aggregate the target PGA 25 600 bytes parameter
    overall target of auto PGA 5 505 bytes
    global memory related to 1024 bytes
    Total PGA inuse 19 483 bytes
    PGA total allocated 25 503 bytes
    PGA maximum allocated 53 426 bytes
    total number of freeable memory PGA 2 486 bytes
    number of processes 5 946
    Max process count 6 039
    PGA memory freed to OS 39,677,868 bytes
    Total PGA used to auto workareas - bytes
    Maximum PGA used to auto workareas 15 543 bytes
    Total PGA used for manual workareas - bytes
    Maximum PGA used for manual workareas 38 293 bytes
    during the allocation, count 3 733
    the treated bytes 17,288,505 bytes
    3 144 169 bytes read or written additional bytes
    cache hit percentage 85%
    has count 13,254,278 (total)


    {/ code}

    Thanks in advance.

    Best regards.

    Published by: 869578 on October 7, 2012 20:39

    869578 wrote:
    -----------------------------------------

    My question is following:

    1. what component consumes about 20 gigabytes size of the pga (total 25 giga).
    If the PL/SQL or Java memory consumes 20 giga size, isn't too compard to a total of size pga (25giga)?
    Does rely on applications? (we have procedures/packages in the database server-side)

    The place to look is v$ process_memory (see, for example this blog post - ignore the fact that he speaks a bug 3 years ago, the SQL to query the memory usage is the bit important to you).

    2. the total amount allocated (25 giga) PGA is close to "Global PGA target parameter (25giga).
    "total PGA inuse" is about 19.5 giga.

    Is that mean that data from free space of 5.5 giga size PGA?
    I'm a bit confused between 'PGA Total allocated' and 'total PGA inuse.

    Basically Yes, your system currently thinks only about 5.5 GB of memory that can be called on any process requiring more memory to work. When a process requests from memory (for example, sorting) it will not necessarily return at the time wherever he has done with her, because she plans to use it again in the near future. This is why the amount awarded may be higher than currently in use. If another process.

    ------------------------------------

    {code}

    Select name, decode (unit, 'bytes', round(value/1024/1024), value) mega_value, unit
    v $ pgastat

    aggregate the target PGA 25 600 bytes parameter
    overall target of auto PGA 5 505 bytes
    global memory related to 1024 bytes
    Total PGA inuse 19 483 bytes
    PGA total allocated 25 503 bytes
    PGA maximum allocated 53 426 bytes
    total number of freeable memory PGA 2 486 bytes
    number of processes 5 946

    {code}

    You have almost 6 000 live processes - and it takes a couple of MB per process just to get a few bits of SQL, is not really surprising that you have already allocated about 19 GB of memory - what is an average of 3 MB per process. You CAN see, however, that a few processes have to run away with a big piece, which is why you can watch process $ v and v$ process_memory in detail.

    Concerning
    Jonathan Lewis

  • Access/use of measures of dimension in a report - specifically the Total account

    I'm curious to know how, others may have approached performaing calculations on the Dimension tables to report stats on their dimensional data.

    For example. I have a DIM_CUSTOMER dimension with a dimension snowflake DIM_CUSTOMER_LOCATION. A CUSTOMER can have multiple locations.

    I would like to calculate the following information:

    LOCATION, PERCENTAGE OF CLIENTS

    Location stock the separate set of available slots

    Percentage of clients would be a calculation of:
    the number of visitors to the site/total number of clients

    I am able to do my application to calculate the number of visitors to the location and PLACE. But I am struggling to determine in a clean way to get the total number of all customers to compare to the number of clients at each location.

    A way I see to do this is to define a variable of repository that runs just a county for me ahead of the customer table to get all customers and then use this variable in my calculation of the PERCENTAGE OF CUSTOMERS. But this seems to be a way to cluegy to do.

    How do I create a measure of the number of guests that can be slid and has dropped and used anywhere where necessary in the answers?

    Thank you

    K

    Hello
    You want a table of logical facts 'Clients', with a score of LTS at your Customer Dimension.

    Create a "customer account" measure, map to your unique customer id and define aggr. to count.
    Duplicate this measure, call it "Total clients ' and set the level on the tab content for this measure at the"Total"level in your customer dimension.

    Simple!

    Create a logical column with percentage of calc or perform it in the responses.
    No probs let us know.
    Rgrds
    Alastair

  • When you use find on the page (ctrl + F on Windows) it is a message indicating the total number of matches. What does the first number?

    When you use find on the page (ctrl + F on Windows) it is a message indicating the total number of matches. What does the first number?
    I'm more interested in the case when this number is smaller than the total.

    Hello

    I think you mean the text stating "x of there matches", to the right of the box where you entered the search term.

    The first number ("x" in my example above) indicates the current entry highlighted on the page that matches the search phrase. If you use the upper and down arrows to navigate through the instances of this term on the page, you will see this number go up and down.

    I hope this helps, but if not please come back here and we can look at another solution for you.

  • Why have I not more volume of applications than the total storage space?

    Why did I 124,24 GB of applications if the total storage space is 121 GB? That's happened?

    Please rebuild the Spotlight index. If you try to search now, there will be an indication that the indexing is in progress.

  • Version numbers 09: how the total cells that were identified by a check box

    Since the model of list of control, I created a new table. The first column contains a check box in each cell, and the second column contains the weight of the item specified in column 3. What formula use so that when some of the boxes are "checked" I get the total weight of these elements, rather than the total weight of all the elements? Thank you in advance.

    Andy

    Hi Andy,.

    SUMIF is your friend here.

    19 is a footer line.

    B19: = SUMIF (A, TRUE, B)

    Do not forget to reset the format in the cells in column B of the Date and time (as defined in the model) to the number.

    Kind regards

    Barry

  • Recently, I deleted my partition bootcamp about 65 GB space. However, after that I restarted my MAC, the 65GB is lost! The total space in my HD is currently 434GB although it should be 500 GB! Anyone know how to recover my space 65GB?

    Recently, I deleted my partition bootcamp about 65 GB space. However, after that I restarted my MAC, the 65GB is lost!

    The total space in my HD is currently 434GB although it should be 500 GB! Anyone know how to recover my space 65GB?

    See below for my disk utility:

    Hello waynetay,

    Thank you for being part of the community of Apple!

    Looks like you want to recover the hard disk space that has been used by Bootcamp.  I know how critical disk hard space is, as I understand it want to access it.

    The Boot Camp Assistant should have added space on the side of Mac OS X from the hard drive when it has been used to remove Windows.  Since that didn't happen, you need to back up the system, and then erase the hard drive, then restore the backup.

    First, back up the computer.  Your computer has software called Time Machine.  It is a fantastic software for backing up your computer.  Information on how to use Time Machine is available here:

    Use Time Machine to back up or restore your Mac.

    Once you have the backup, you must erase the drive and then restore the backup Time Machine.

    You can use these measures to erase files on your startup drive and install a fresh copy of OS X:

    1. Before you begin, make sure that your Mac is connected to the Internet.
    2. Restart your Mac. Immediately hold down the command (⌘) keys and R after having heard the startup sound to boot into OS X Recovery.
    3. When the recovery window, select disk utility, then click on continue.
    4. Select the volume name back from your startup disk in the left side of the disk utility window, then click Delete.
    5. If you want to erase the disc safely, click Security Options. Select an erasing method, and then click OK.
    6. On the Format menu, choose Mac OS extended (journaled). Type a name for your drive, and then click clear.
    7. After that the drive is deleted, close the disk utility window.
    8. If you are not connected to the Internet, select a network in the Wi-Fi menu.
    9. Select the option to reinstall OS X.
    10. Click on continue and follow the instructions on the screen to reinstall OS X.

    Once OS X installation is complete, you should have the option to restore from a backup Time Machine in the first installation of OS X.  Choose this option, and the computer will restore everything that was on it before it has been removed.  More information can be found here:

    How to reinstall OS X on your Mac

    Have a great day!

  • In 12.4.1.6, where do you see the total number of songs in your iTunes library?

    In 12.4.1.6, where do you see the total number of songs in your iTunes library?

    In my case (iTunes on OS X 10.9.5 12.4.1), in the library section of the box I choose songs and the number appears in the status bar at the bottom of the iTunes window.  If you do not have the visible status bar, it can be activated from the iTunes menu bar, display > show status bar.

    Good luck

    SRB

  • How can I find the total number of contacts on the iPhone 6 s?

    I used to be able to see the total number of contacts on my iPhone 6s, however, does not appear more.  How can I fix it?

    Go to iCloud.com then in contacts and made scroll down - it's the only place where I was able to find

  • Why I - Phone 4 always shows use of 2.6 GB mail when the total of all the mail is only 5 MB?

    Why my I-Phone 4 mail application always displays the use of 2.6 GB when the total of all messages is less than 5 KB?

    When in your Mail pass of mailboxes, and then select the account in your email. From there, see if you have other folders where the post goes as undesirable or sent, Deleted etc.

  • How to get the total of the multiple products of cells

    I want to save my money on the balances of the hand for different days of the year and see if I can develop a trend and reduce my expenses. I can easily make a cell inside of my table that tells me how many I have a kind of money (20 of 5 cents, 9 $2, 3 50 $, etc.) for today (aid = Lookup), the day where I'm looking for my document. This can be used to show me a trend, however, if I want to do another column that keeps track of this total, so that I can use it as a reference to a line chart elsewhere.

    My problem is that when I want to many the last row of cells (filled with the types of currency) by their amounts (20, 9, 3), I have to do for each cell, and if I try to fill it, numbers changes the cells I want it multiply so that now the two amounts are multiplied, rather than the independent form and variable amount.

    My question is: which formula can be used to multiply each B1, C1, D1 etc. with the appropriate..., C2, B2 or B3 and C3... etc, so that I can fill and then also for other cells in column N.

    Hi Kasai,

    SUMPRODUCT is your friend here.

    The totals are in column N.

    N2 and filled down: = IF (COUNT(B2:M2)<>SUMPRODUCT($B$1:$M$1,$B2:$M2))

    The IF part removes the calculation of this row if no number has been involved in any of columns B to M.

    If everything has been entered, the IF condition returns FALSE and the calculation of SUMPRODUCT (in "BOLD") is done.

    I noticed that you included a piece of 20 cents in the list in the upper part, which has awakened my curiosity. Is this typo, or is it a country whose currency is denominated in "dollars" which is a coin circulating 20 cents worth?

    Kind regards

    Barry

  • backup iPad only 5.6 GB, when the total data size is 24 GB?

    Hello

    I have to back my iPad mini for the service, due to a button. Just in case, I supported it upwards - in iCloud and locally on my Macbook. The total amount of data used is 24 GB, but the backup on my Macbook and the two iCloud amounts only to 5 GB. Why is this? Something remains out of the backup, it won't be there if I have to restore it / get a new device?

    I hope you can help - thank you

    Yes, which can also be downloaded once a backup has been restored is left side (for example, iCloud photo library and music, video and applications purchased from the iTunes/App store.

    Please make sure you encrypt data when you save to iTunes on the computer, otherwise it won't save your health data.

  • How can I find the total number of items in a dim multi table

    How can I find the total number of items in a simple Sun table or multi?

    For example, a table 2 x 3 has 6 elements, and a 2 x 3 x 4 to 24. How can I calculate this very easily - is there a single VI do that?

    David

    Use "table size" (palette table) followed by "multiply the elements of the array" (digital palette)

    (Also works well for 3D arrays and higher)

Maybe you are looking for