Calculation of percentage

Hello

I have a table with 2 columns like this:

PART

ID

A

ID1

A

ID2

A

ID3

A

ID4

B

ID1

B

ID2

B

ID3

B

ID4

B

ID5

B

ID6

B

7

B

ID8

B

iD9

C

ID1

C

ID2

C

ID3

I would like to create a table by setting a value in % (on a scale of 100), based on the number of ID. I do like this:

PART

ID

VAL_IN_ %

A

ID1

25

A

ID2

50

A

ID3

75

A

ID4

100

B

ID1

11

B

ID2

22

B

ID3

33

B

ID4

44

B

ID5

55

B

ID6

66

B

7

77

B

ID8

88

B

iD9

99

C

ID1

33

C

ID2

33

C

ID3

33

I have the OTHER with a different number of the ID in my table.

Any suggestion please?

Thenks

Hello

user7375700 wrote:

Hello

I have a table with 2 columns like this:

PART

ID

A

ID1

A

ID2

A

ID3

A

ID4

B

ID1

B

ID2

B

ID3

B

ID4

B

ID5

B

ID6

B

7

B

ID8

B

iD9

C

ID1

C

ID2

C

ID3

I would like to create a table by setting a value in % (on a scale of 100), based on the number of ID. I do like this:

PART

ID

VAL_IN_ %

A

ID1

25

A

ID2

50

A

ID3

75

A

ID4

100

B

ID1

11

B

ID2

22

B

ID3

33

B

ID4

44

B

ID5

55

B

ID6

66

B

7

77

B

ID8

88

B

iD9

99

C

ID1

33

C

ID2

33

C

ID3

33

I have the OTHER with a different number of the ID in my table.

Any suggestion please?

Thenks

Why is the highest percentage for B only 99, not 100?   Why all the percentages are for C 33?

Assuming that those who have a few errors, you can do something like this:

SELECT DeptNo

ename

100 * ROW_NUMBER () OVER (PARTITION BY deptno

ORDER BY ename

)

/ ACCOUNT (*) OVER (PARTITION BY deptno) AS pct

FROM scott.emp

ORDER BY deptno

ename

;

Output:

DEPTNO ENAME PCT

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

CLARK 10 33

KING 10 67

MILLER 10 100

20 20 ADAMS

20 FORD 40

JONES 20 60

20 80 SCOTT

20 SMITH 100

30 17 ALLEN

30 33 BLAKE

30 50 JAMES

30 67 MARTIN

TURNER 30 83

WARD 30 100

Tags: Database

Similar Questions

  • Forms - calculation of percentages are based on the percentages of parent in a tree structure

    Hello

    We have a scenario where we build a tree using a standard package available in oracle forms when new block and fill a tree structure of multi Instance.

    The block is based on a single table.

    The tree is is filled. The problem is with the percentage calculations. As the percentage of the child dependent parent

    PERCENTAGE of PARENT- CHILD LEVEL

    1                101                       0                                 45

    1                102                      0                                  35

    1                103                      0                                   30

    2 201 101 PERCENTAGE OF PARENTS 101

    2 202 101 PERCENTAGE OF PARENTS 101

    2 203 102 PERCENTAGE OF PARENTS 102

    2 204 102 PERCENTAGE OF PARENTS 102

    3 301 201 PERCENTAGE OF PARENTS 201

    You can get the percentages to level 2, level 3.

    I was wondering how this can be done in oracle forms... for example... .to child 201, is the percentage of the 101 level... but level 101 is also filled in the buffer of the block as well as all Level1s...

    All entries are appreciated.

    Thanks and greetings

    S

    The solution me. Idea is to use the 'Post' at the time be called in a loop. Then POST will write in the validation of the database but strict.

    The idea is that at the time of execution, we would be able to select "Not ENGAGED" current session data in the database and use it more for treatment.

    Concerning

    S

  • Having trouble getting the calculations of percentage on logical aggregation count column

    Hi Experts,

    I am trying to create values of percentage based on the count aggregation.

    For example in the 11g Sample Sales Data Model, I added 3 logical columns, Order_Count, Orders_Shipped, OrdersShipped %

    As follows:
    (1) Order_count
    Derives from physical mapping of count (Revenue.ORDER_NUMBER F1)

    Shipped_Count 2)
    It's an expression derived for add a filter on the order_count of order_status. So I did this:
    Filter ("Sample Sales".) "Revenue of F1" "." " Order_Count"using"Sample Sales ". "' Revenue from F1. ("' Order_status ' = 3-expedie ')

    (3) % OrdersShipped
    Again, it is an expression derived from calc the % of
    "Sample Sales". "' Revenue from F1. "" Shipped_Count "/" Sample Sales ". "' Revenue from F1. "" Order_Count "* 100

    In my analysis, the Order_Count and the Shipped_Count display correctly.

    However, the % OrdersShipped always displays as 0.0000%.

    I changed the format of data for the % OrderShipped to a type of percentage with 4 decimal places.

    I also tried to add the % column analysis directly instead of the DM by doing this
    "Basic facts". "count_shipped" / "core facts". "" Order_Count "* 100

    Yet once, it appears as 0.000%

    Any ideas would be greatly appreciated.

    DB

    Published by: user4990932 on March 12, 2013 07:04
    Repost

    DB,

    Try multiplying the numerator and the denominator by 1.0. This will throw your integers to floating-point numbers and your result will display correctly.

    I hope this helps.

    -Akshay

  • Calculation of percentage - a little problem

    as some of you know that I got a page that takes a number divided by another number and does x 100 to give me a percentage.

    Well, it works perfectly well now the use of this:
    #decimalformat((combinedStuff.query1sla[n]/combinedStuff.query2total[n])*100) #.

    But it is a problem that I didn't.
    some groups have for the first number 0 and the second number so Coldfusion comes back telling me that he cannot divide by zero.

    How abouts solve this?

    Thank you

    Luke

    Just make sure they're not two 0.

  • Big total on a calculation of percentage

    Guys,

    I report where I am active % calculation and had idle % for two different types. The data are as below


    Columns: CustomerType Active Active % inactive inactive % Total

    Data: 277 COMMERCIAL 38,96 434 61,04 711
    4593 COMPANY 48,42 4892 51,58 9485
    SUM: 4870 Y87.38 5326 112,62 10196

    The active and inactive % are calculations as below

    Active % = (Total assets) * 100 (IE (277/711) * 100 = 38,96 and (4593/9485) * 100 = 48,42)
    Inactive % = (idle/Total) * 100 (IE (434/711) * 100 = 61.04 and (4892/9485) * 100 = 51.58)

    The sum is calculated by the total functionality in discoverer, the sum of 5 active and inactive % are calculated correctly.

    Is it possible to do the discoverer to sum % active as (4870/10196) * 100 and idle % as (10196/5326) * 100?

    Help, please.

    Thank you

    Hello

    That's how the discoverer of a total should work. Make sure you use SUM rather than SUM of the CELL. Also try including an aggregate in your calculations function, i.e. for the calculation of your assets is SUM (active) and your total is SUM (total) to make your assets % (SUM (active) /SUM (total)) * 100

    Rod West

  • place a select query calculation in a different column in the same table

    How can I put my calculation result in a column named within the same table?

    I have a table called: dgpercentagedatachart

    I use the columns of this dgpercentagedatachart: totalcecrating divided by lowestfeederrating times 100 to get the percentage

    In the query, I gave the result the Alias of the cal

    What I want is to put this result in my application or my calculation (in percentage) in my column "percent" on my table of dgpercentagedatachart vacuum.

    How can I configure this syntax?

    This is the select query, I came with:

    Select dgpercentagedatachart.totalcecrating, dgpercentagedatachart.lowestfeederrating,.

    100.00*dgpercentagedatachart.totalcecrating/dgpercentagedatachart.lowestfeederrating as cal

    of dgpercentagedatachart;

    Here are the results:

    CAL lowestfeederrating Totalcecrating

    8,978 7.48166666666666666666666666666666666667 120

    30.951 25.7925 120

    5.04                         120                          4.2

    Hello

    2685870 wrote:

    How can I put my calculation result in a column named within the same table?

    I have a table called: dgpercentagedatachart

    I use the columns of this dgpercentagedatachart: totalcecrating divided by lowestfeederrating times 100 to get the percentage

    In the query, I gave the result the Alias of the cal

    What I want is to put this result in my application or my calculation (in percentage) in my empty column '%' on my table of dgpercentagedatachart .

    How can I configure this syntax?

    This is the select query, I came with:

    Select dgpercentagedatachart.totalcecrating, dgpercentagedatachart.lowestfeederrating,.

    100.00*dgpercentagedatachart.totalcecrating/dgpercentagedatachart.lowestfeederrating as cal

    of dgpercentagedatachart;

    Here are the results:

    CAL lowestfeederrating Totalcecrating

    8,978 7.48166666666666666666666666666666666667 120

    30.951 25.7925 120

    5.04                         120                          4.2

    To change an existing column in a table, you can use the UPDATE or MERGE, instructions like this:

    UPDATE dgpercentagedatachart

    Percentage of VALUE = 100,00 * totalcecrating

    / lowestfeederrating

    ;

    Noramlly, tables is not redundant columns like this.  If percent can always be calculated from other columns, then it is probably better to calculate at run time and store it in the database, where you will have to be updated each time the columns it depends on change.  You can use a view to avoid having to encode them the calculation.

    If you really don't want a column that can be calculated in the same lines other columns, then use a virtual column (if you use Oracle 11 or higher).

    I hope that answers your question.

    If this isn't the case, please post a small example of data (CREATE TABLE and only relevant columns, INSERT statements) for all of the tables involved and also publish outcomes from these data.

    If you ask on a DML statement, such as UPDATE, the sample data will be the content of the or the tables before the DML, and the results will be the State of the or the tables changed when it's all over.

    Explain, using specific examples, how you get these results from these data.

    Always say what version of Oracle you are using (for example, 11.2.0.2.0).

    See the FAQ forum: Re: 2. How can I ask a question on the forums?

  • Request to modify the script to collect the CPU Ready in percentage by VM instead of milliseconds

    Hi all

    I would ask for help here with the script that I found in this forum by Mr. LucD to collect % VM CPU ready to be changed according to the famous formula for calculating the percentage of CPU of VM ready:

    ((Valeur de sommation UC / (< intervalle de mise à jour par défaut graphique en secondes > * 1000)) * 100) / number of vCPU = CPU % ready



    From my understanding, the script must be changed because:

    1. Don't divide the percentage CPU Ready by the number of vCPU for each virtual computer
    2. The refresh interval is not set 'for a week. for simplicity, this script will be used to collect last week performance data ($start = (Get-Date). AddDays(-7))

    Note: The refresh rate can be found this KB: VMware KB: conversion between the summation of values CPU and CPU ready %

    the purpose of this script is to classify VM of the result is greater than 10% determined as having problems with CPU Ready. Article source: http://docs.media.bitpipe.com/io_10x/io_107330/item_605784/Basic%20VMware%20vSphere%20Performance%20Guide_201211.pdf)

    I have tested and run script below:

    $allvms = @()
    $vms = Get-VM  
    $start = (Get-Date).AddDays(-7)
    $metrics = "cpu.usage.average","mem.usage.average","cpu.ready.summation" 
    
    
    Get-Stat -Entity $vms -Start $start -Stat $metrics | 
    Group-Object -Property {$_.Entity.Name} | %{
      $cpu = $_.Group | where {$_.MetricId -eq "cpu.usage.average" -and $_.Instance -eq ""} | Measure-Object -Property value -Average -Maximum -Minimum
      $mem = $_.Group | where {$_.MetricId -eq "mem.usage.average"} | Measure-Object -Property value -Average -Maximum -Minimum
      $vmstat = "" | Select Time,VmName, MemMax, MemAvg, MemMin, CPUMax, CPUAvg, CPUMin, CPURDYMaxPercent
      $vmstat.VmName = $_.Group[0].Entity.Name
      $vmstat.Time = $_.Group | Sort-Object -Property Timestamp | Select -First 1 | Select -ExpandProperty Timestamp
      $vmstat.CPUMax = [Math]::Round($cpu.Maximum,2)
      $vmstat.CPUAvg = [Math]::Round($cpu.Average,2)
      $vmstat.CPUMin = [Math]::Round($cpu.Minimum,2)
      $vmstat.MemMax = [Math]::Round($mem.Maximum,2)
      $vmstat.MemAvg = [Math]::Round($mem.Average,2)
      $vmstat.MemMin = [Math]::Round($mem.Minimum,2)
      $vmstat.CPURDYMaxPercent = &{
      $interval = $_.Group[0].IntervalSecs * 10
        ($_.Group | where {$_.MetricId -eq "cpu.ready.summation" -and $_.Instance -eq ""} | 
      Sort-Object -Property Value -Descending |
        Select -First 1 | 
        Select -ExpandProperty Value) / $interval
      }
      $allvms += $vmstat
    }
    $allvms | Select Time,VMName, MemMax, MemAvg, MemMin, CPUMax, CPUAvg, CPUMin, CPURDYMaxPercent | 
    Export-Csv "C:\TEMP\AllVMs-7days.csv" -noTypeInformation -UseCulture 
    

    I hope that this will be the most useful script to understand where particular VM is experiencing problem with percentage CPU Ready.

    Thanks in advance,

    I have my version here, I use to use of the CPU.

    {Function Get-Ready

    <>

    . LOGBOOK

    This unique feature provide several reports and information. IE: convert ready value into a readable format (for real-time, day, week, month, year).

    . DESCRIPTION

    This unique feature provides multiple information of esxi host, as the list below.

    The CPU usage of the virtual, Mhz, the use of the processor CPU ready computer

    vCPU allocated to the VM (jailbroken in the casings and core)

    VMHost name

    Information physical VMhost CPU (jailbroken in the casings and core)

    To convert between value of CPU ready summons in vCenter performance tables and the value of loan % of CPU that you see in esxtop, you must use a formula.

    The form requires that you know the default update intervals for performance dashboards. These are the default update for each chart intervals:

    Realtime: 20 seconds

    Last day: 5 minutes (300 seconds)

    Last week: 30 minutes (1800 seconds)

    Over the past month: 2 hours (7200 seconds)

    Last year: 1 day (86400 seconds)

    To calculate the % of CPU ready of the summation value ready CPU, use this formula:

    (Value of summons UC / ( * 1000)) * 100 = ready % CPU

    Example: Stats in real-time for a VM on vCenter may have an average CPU ready summation value of 1000. Use the appropriate formula values to get the loan % of CPU.

    (1000 / (20 sec * 1000)) * 100 = 5% CPU ready

    For more information on vmware 2002181 KB

    . VM PARAMETER

    Name of the virtual machine

    . ENTRIES

    String.System.Management.Automation.PSObject.

    . OUTPUTS

    None.

    . EXAMPLE OF

    If you wrap this script inside the function you can use it as a command.

    To encapsulate this script

    PS > Get-VMHost esxihost.fqdn | Get ready

    Report back for perticular VMHost vm

    . NOTES

    To view examples, type: "get-help Set-VMHostSSH-examples.

    For more information, type: "get-help Set-VMHostSSH-detailed".

    For technical information, type: "get-help Set-VMHostSSH-full".

    http://kunaludapi.blogspot.com

    #>

    [CmdletBinding()]

    (param

    [Parameter (Mandatory = $true, ValueFromPipeline = $True, ValueFromPipelineByPropertyName = $true)]

    ([String] $Name) #param

    BEGIN {#begin}

    {in process

    $Stattypes = "cpu.usage.average", "cpu.usagemhz.average", "cpu.ready.summation".

    foreach ($esxi in $(Get-VMHost $Name)) {}

    $vmlist = $esxi | Get - VM | Where-Object {$_.} PowerState - eq "Receptor"}

    $esxiCPUSockets = $esxi. ExtensionData.Summary.Hardware.NumCpuPkgs

    $esxiCPUcores = $esxi. ExtensionData.Summary.Hardware.NumCpuCores/$esxiCPUSockets

    $TotalesxiCPUs = $esxiCPUSockets * $esxiCPUcores

    {foreach ($vm to $vmlist)

    $VMCPUNumCpu = $vm. NumCpu

    $VMCPUCores = $vm. ExtensionData.config.hardware.NumCoresPerSocket

    $VMCPUSockets = $VMCPUNumCpu / $VMCPUCores

    $GroupedRealTimestats = get-Stat-entity $vm - $Stattypes - Instance-Realtime Stat ' "-ErrorAction SilentlyContinue | MetricId Group-Object

    $RealTimeCPUAverageStat = '{0:N2}' f $($GroupedRealTimestats |) Where {$_.} Name - eq "cpu.usage.average"} | Select-Object - ExpandProperty group | Measure-object-value average | Select - Object - ExpandProperty average)

    $RealTimeCPUUsageMhzStat = '{0:N2}' f $($GroupedRealTimestats |) Where {$_.} Name - eq "cpu.usagemhz.average"} | Select-Object - ExpandProperty group | Measure-object-value average | Select - Object - ExpandProperty average)

    $RealTimeReadystat = $GroupedRealTimestats | Where {$_.} Name - eq "cpu.ready.summation"} | Select-Object - ExpandProperty group | Measure-object-value average | Select-Object - ExpandProperty average

    $RealTimereadyvalue = [math]: tour ($(($RealTimeReadystat / (20 * 1000)) * 100), 2)

    $Groupeddaystats is entity-Stat-get $vm - Stat $Stattypes - beginning (get-date). AddDays(-1)-done (get-date) - IntervalMins 5 - Instance ""-ErrorAction SilentlyContinue | MetricId Group-Object

    $dayCPUAverageStat = '{0:N2}' f $($Groupeddaystats |) Where {$_.} Name - eq "cpu.usage.average"} | Select-Object - ExpandProperty group | Measure-object-value average | Select - Object - ExpandProperty average)

    $dayCPUUsageMhzStat = '{0:N2}' f $($Groupeddaystats |) Where {$_.} Name - eq "cpu.usagemhz.average"} | Select-Object - ExpandProperty group | Measure-object-value average | Select - Object - ExpandProperty average)

    $dayReadystat = $Groupeddaystats | Where {$_.} Name - eq "cpu.ready.summation"} | Select-Object - ExpandProperty group | Measure-object-value average | Select-Object - ExpandProperty average

    $dayreadyvalue = [math]: tour ($(($dayReadystat / (300 * 1000)) * 100), 2)

    $Groupedweekstats is entity-Stat-get $vm - Stat $Stattypes - beginning (get-date). AddDays(-7)-done (get-date) - IntervalMins 30 - Instance ""-ErrorAction SilentlyContinue | MetricId Group-Object

    $weekCPUAverageStat = '{0:N2}' f $($Groupedweekstats |) Where {$_.} Name - eq "cpu.usage.average"} | Select-Object - ExpandProperty group | Measure-object-value average | Select - Object - ExpandProperty average)

    $weekCPUUsageMhzStat = '{0:N2}' f $($Groupedweekstats |) Where {$_.} Name - eq "cpu.usagemhz.average"} | Select-Object - ExpandProperty group | Measure-object-value average | Select - Object - ExpandProperty average)

    $weekReadystat = $Groupedweekstats | Where {$_.} Name - eq "cpu.ready.summation"} | Select-Object - ExpandProperty group | Measure-object-value average | Select-Object - ExpandProperty average

    $weekreadyvalue = [math]: tour ($(($weekReadystat / (1800 * 1000)) * 100), 2)

    $Groupedmonthstats is entity-Stat-get $vm - Stat $Stattypes - beginning (get-date). AddDays(-30)-done (get-date) - IntervalMins 120 - Instance ""-ErrorAction SilentlyContinue | MetricId Group-Object

    $monthCPUAverageStat = '{0:N2}' f $($Groupedmonthstats |) Where {$_.} Name - eq "cpu.usage.average"} | Select-Object - ExpandProperty group | Measure-object-value average | Select - Object - ExpandProperty average)

    $monthCPUUsageMhzStat = '{0:N2}' f $($Groupedmonthstats |) Where {$_.} Name - eq "cpu.usagemhz.average"} | Select-Object - ExpandProperty group | Measure-object-value average | Select - Object - ExpandProperty average)

    $monthReadystat = $Groupedmonthstats | Where {$_.} Name - eq "cpu.ready.summation"} | Select-Object - ExpandProperty group | Measure-object-value average | Select-Object - ExpandProperty average

    $monthreadyvalue = [math]: tour ($(($monthReadystat / (7200 * 1000)) * 100), 2)

    $Groupedyearstats is entity-Stat-get $vm - Stat $Stattypes - beginning (get-date). AddDays(-365)-done (get-date) - IntervalMins 1440 - Instance ""-ErrorAction SilentlyContinue | MetricId Group-Object

    $yearCPUAverageStat = '{0:N2}' f $($Groupedyearstats |) Where {$_.} Name - eq "cpu.usage.average"} | Select-Object - ExpandProperty group | Measure-object-value average | Select - Object - ExpandProperty average)

    $yearCPUUsageMhzStat = '{0:N2}' f $($Groupedyearstats |) Where {$_.} Name - eq "cpu.usagemhz.average"} | Select-Object - ExpandProperty group | Measure-object-value average | Select - Object - ExpandProperty average)

    $yearReadystat = $Groupedyearstats | Where {$_.} Name - eq "cpu.ready.summation"} | Select-Object - ExpandProperty group | Measure-object-value average | Select-Object - ExpandProperty average

    $yearreadyvalue = [math]: tour ($(($yearReadystat / (86400 * 1000)) * 100), 2)

    $data = New-Object psobject

    $data | Add-Member - MemberType NoteProperty-VM name-value $vm.name

    $data | Add-Member - MemberType NoteProperty-name VMTotalCPUs-value $VMCPUNumCpu

    $data | Add-Member - MemberType NoteProperty-name VMTotalCPUSockets-value $VMCPUSockets

    $data | Add-Member - MemberType NoteProperty-name VMTotalCPUCores-value $VMCPUCores

    $data | Add-Member - MemberType NoteProperty-Name ' in time real average usage % "-value $RealTimeCPUAverageStat

    $data | Add-Member - MemberType NoteProperty-name "Mhz real-time use" - value $RealTimeCPUUsageMhzStat

    $data | Add-Member - MemberType NoteProperty-Name "loans in time real %"-value $RealTimereadyvalue

    $data | Add-Member - MemberType NoteProperty-name ' day average use % "-value $dayCPUAverageStat

    $data | Add-Member - MemberType NoteProperty-name of the "day use Mhz"-value $dayCPUUsageMhzStat

    $data | Add-Member - MemberType NoteProperty-Name "ready day %"-value $dayreadyvalue

    $data | Add-Member - MemberType NoteProperty-"week average use name% '-value $weekCPUAverageStat

    $data | Add-Member - MemberType NoteProperty-Name "week use Mhz"-value $weekCPUUsageMhzStat

    $data | Add-Member - MemberType NoteProperty-"week loan name% '-value $weekreadyvalue

    $data | Add-Member - MemberType NoteProperty-' months average use name% '-value $monthCPUAverageStat

    $data | Add-Member - MemberType NoteProperty-Name "month use Mhz"-value $monthCPUUsageMhzStat

    $data | Add-Member - MemberType NoteProperty-' months loan name% '-value $monthreadyvalue

    $data | Add-Member - MemberType NoteProperty-name ' year average use % "-value $yearCPUAverageStat

    $data | Add-Member - MemberType NoteProperty-name ' year use Mhz "-value $yearCPUUsageMhzStat

    $data | Add-Member - MemberType NoteProperty-Name "ready year % '-value $yearreadyvalue

    $data | Add-Member - MemberType NoteProperty - name VMHost-$esxi.name value

    $data | Add-Member - MemberType NoteProperty-name VMHostCPUSockets-value $esxiCPUSockets

    $data | Add-Member - MemberType NoteProperty-name VMHostCPUCores-value $esxiCPUCores

    $data | Add-Member - MemberType NoteProperty-name TotalVMhostCPUs-value $TotalesxiCPUs

    $data

    } #foreach ($vm in $vmlist)

    } #foreach ($esxi in $(Get-VMHost $Name))

    } #process

    } #Function-prepare you

    Get-VMHost | Get ready

  • HPCM allows to calculate percentages for use in assignments as well as to make allowances

    Hi all

    I have a client that evaluates products to buy the Oracle stack.  Unfortunately I don't know HPCM yet, so I'm not sure of his abilities.  I think they will certainly go with Hyperion Planning but they do some simple allowances and I can't decide whether or not they should HPCM.  Currently, they have a relationship / Access database which is used to calculate the percentages to spread the cost of back office to the front office.  If they need to buy HPCM seems to depend on if HPCM can calculate percentages required for the allowance as well as to make allowances.  The options I see there:

    1. replace the old system with HPCM and HPCM allows to calculate the percentage and apply percentages to allocate costs

    2. to maintain the old system of calculating percentages, publish percentages HPCM and HPCM allows distribution of costs

    3 keep the old system of calculating percentages, download percentages on Essbase and Essbase allows distribution of costs

    4 keep the old system of calculating the percentages and allocation of costs (not ideal as will require additional system interfaces to the data to and from Hyperion Planning)

    I know HPCM uses Essbase, when I say Essbase above, I mean Hyperion Planning.  I have informed the customer that they should avoid option 4, but I'm not clear enough about what HPCM can do to give advice on which of the other options is more suited / profitable.

    Any help would be appreciated.

    Concerning
    Stu

    Hi Stu,

    the simple answer is Yes, HPCM can do such a simple task. In my opinion private, it would be a bit oversized.

    I want to add an option and put my vote on this:

    0 pull in a DB connection data required in the planning and design to calculate the percentage and apply percentages to allocate costs.

    Kind regards

    Philip Hulsebosch.

    www.trexco.nl

    PS to all users, close to the questions that have been answered. So we don't have to open them to see if we can help save = we the time to help others.

  • calculation in the PivotTable field

    Hi all, in obiee answer in PivotTable when calculating the percentage of the Total row, it shows 1.0. Is there a way to show 0.3 in this cell and see the rest line adding the values in the table?

    Cat Total percentage value

    A              8        10           0.8

    B             10       50           0.2

    18 60 1.0 total

    View you want:

    Cat Total percentage value

    A         8        10           0.8

    B         10       50           0.2

    18 60 0.3 total

    Thanks, Sushil

    Try this for your percentage formula.

    (SUM(Value 1) /SOMME (CAST (DOUBLE value 2))) * 100

  • Help!  Calculate a percentage between two fields that the sum of columns

    Members of the forum good day!

    I'm hoping to get help with and model RTF I use to sum up the output of a query in PeopleSoft.

    I have a line with two fields of the query and a third field calculates a percentage using the query fields:
    Row1, Field1: EXPR14_14
    Row1, Field2: EXPR1_1
    Row1, Field3: <? xdofx: If EXPR1_1 <>0 and EXPR14_14 0 then (EXPR1_1 DIV EXPR14_14) <>* 100 or 0 end if? >

    I have a second row who has these fields:
    Row2, Field1: <? sum (EXPR14_14)? >
    Row2, Field2: <? sum (EXPR1_1)? >
    Row3, Field3: I need the third field to calculate the percentage of sum of two fields.

    I tried different ways to insert this calculation with no luck. It's my first time to create a rtf report and any help would be gratly appreciated.

    In advanced thank you for your help.

    Kind regards
    Raquel

    For the calculation of percentage you can use something similar to this (adjust the formula you need)

    For Row1, Field3:

    Hope that helps. If you need more help, send me the xml file and the [email protected] model

    Thank you
    Bipuser

  • problem with application of percentage

    Hello

    I would like to calculate the percentage of data in my sql query, but it does not work. My table structure is as follows:

    RESOURCE TABLE:

    ID_RES | CIM | CONSENT | SAMPLE_DATE

    The purpose of the request is therefore, for the calculation of the Yes percentage to the total number. Initially, I did:

    DCI account | RESPONSE | Code
    2. NO | C76.4
    5. YES | C76.4
    3. YES | C26.9

    with the following query:

    SELECT
    County (RES. CIM) AS "account CODE en 2010.
    RES. CONSENT AS 'response ',.
    RES. CIM AS 'CODE '.
    Of
    RES THE RESOURCE
    WHERE
    trunc (RES. ("' SAMPLE_DATE ', 'DD') > TO_DATE (October 12, 2010 ',' DD-MM-YYYY" ")
    AND RES. DCI IS NOT NULL
    GROUP BY (RES. CIM, RES. CONSENT)
    ORDER BY
    RES. CIM

    The problem is that I don't know how to incorporate the calculation of percentage in my query to obtain the following result:

    DCI account | RESPONSE | Code | Percentage Yes
    2. NO | C76.4 |
    5. YES | C76.4 | 71,42
    3. YES | C26.9 | 100

    Could someone help me please?

    Kind regards
    Jarod.

    Hello

    Remember the ABC's of the GROUP BY:
    When you use a GROUP BY clause or in an aggregate function, then all in the SELECT clause must be:
    a ggregate function,
    (b) one of the expressions "group By."
    (c) adding to C, or
    (d) something than Depends entirely on them. (For example, a CASE expression that references only (a) (b) or (c).)

    Your SELECT clause includes res.has_consent
    In which 4 categories above res.has_consent fit?

    You can add res.has_consent to the RUMP OF the clause, according to the results you want.
    Whenever you have a problem, after a few examples of data (CREATE TABLE and instructions INSERT or a WITH clause that, as Boneist done above) and the desired results from these data.

  • Card FPGA and data acquisition synchronization

    Hi, we are control and data acquisition of several hardware devices (including Photodetectors and translational stages). Until last week, we used all the controls and acquisition using a PCIe-7852R FPGA board. However, we decided to move the acquisition part to a PCIe 6363 DAQ card to improve the sharpness of the tension. During the test, I found that the internal clocks in the FPGA and the DAQ cards are slightly inconsistent (not just a phase delay, but a difference in the period).

    I know because I have generated a square wave (period = 20) using the FPGA and gains using the data acquisition card (at a rate of 200 kHz, that is, 1 taste every 5). I have observed acquired place shifts 5 every 5 seconds approximately. Such a change does not occur if the production and acquisition is done using the same Board. Therefore, the only explanation is that the data acquisition and FPGA cards clock frequencies are different. According to my calculations, the percentage difference between their time clock must be 5/5 s = 0.0001%.

    Therefore, I wonder if there is anyway to synchronize clocks between them. Or, is it possible that I can drive the FPGA clock-based DAQ hardware, or vice versa? Also, please let me know if there is something trivial as I fix.

    Thank you very much.

    Kind regards

    Varun

    Hi Varun,

    my post was only one solution...

    Your data acquisition card may take an entry to control sampling of trigger. In this mode, samples draw on a rising edge of the external clock signal. As long as you stay within the limits of the DAQ (100 MHz for your card) material sampling works perfectly. There are even examples coming with LabVIEW explaining how to program your data acquisition card...

    This mode use you your FPGA as clock source sampling for data acquisition. Both will run on the FPGA clock in sync. When the FPGA is a bit out of 40 MHz, so it won't matter because both devices are triggered on the same clock signal...

  • The value entered does not match the format of the field

    I get this error and cannot figure out how to not have pop up, when you use the form.  The calculation and the percentage still works, but you have to click on the box a few times to make them disappear. I'm working on a PDF form, using a drop-down list box, but also calculations with text fields.  It looks like the discount text box that has the selected format category selected as a percentage, is the only time when the form is in error.  If I need this text field to display the number as a percentage.  This text box is also calculated the percentage of discount of a unit cost.  Is there a way to prevent this?

    I used exactly the same formula you provided... Unless you want to say that it is:

    1. (Uprice / DeptEmail)

    In this case simply adjust the last line in the code are:

    else event.value = (1 - (v1 / v2));

  • Value of preventive action and field Format incompatibility error

    I'm working on a budget and form the basis of calculation of percentages. It is, until certain values are entered, I get an error "the value entered does not match the format of the field [game] %" because it tries to perform the calculation without any value.

    I tried to write a custom script, so it would only try to calculate if there were several current, but my attempts fail.

    That's what I tried, which was based on a google search:

    var this.getField("CashMatchT").value = cash

    var in-kind = this.getField("InKindMatchT").value

    var total = this.getField("TotalCostT").value

    var match = this.getField("Match%").value

    If (match < = 0) {}

    Event.Value = ((cash + inkind) competition) * 100

    } else {}

    Event.Value = "";

    }

    If I event.value = ((cash + inkind) competition) * 100 by itself, it works fine so I know that the part is correct.


    I also tried (with the same variables):


    If (match! = 0) {}

    Event.Value = ((cash + inkind) competition) * 100

    } else {}

    Event.Value = "";

    }

    You must make sure that the 'total' field is not empty or equal to zero before

    perform the calculation, because division by zero is illegal.

    Monday, June 29, 2015 21:27, katien45132623 [email protected]>

  • Filtering measure based on a value from column to RPD

    Hello
    I created 2 measure in RPD effectively: channel change SLA

    1 success Count who is count (Response_Event_DateTime) and
    2. failure Count which is count (Failure_Reason_Key)

    and in the report I put filters for these measures in Edit as formula

    Success: FILTER ("ALS DONE change the channel". "County of success' using ("SLA MADE the channel change"". ")" ((Right key failed"< 1))
    Chess: FILTER ("ALS DONE change the channel". "County of failure" using ("ALS FACT the channel change" ".") " ((FAILURE_REASON_KEY"NOT IN (-1, 1)))

    then I calculated the percentage of success /(Successes+Failures) * 100

    Everything works fine, but is there a way to put these filters for the successes and failures in RPD? So that users can simply drag and drop these measures and calculate the percentage of success?

    Thanks in advance
    Siri

    Yes, you can put it in SPR... Simply create 2 new columns of logic more under table "Channel change ALS MAKES"

    (1) success logic column
    (2) failures logic column

    For success, check the box "use logic existing columns as source", then click 3 points...
    And then in the expression builder... build the formula above... IE
    FILTER ("ALS DONE change the channel". "County of success' using ("SLA MADE the channel change"". ")" Key failure of reason. "<>

    Even for outages logic column

    Make two columns in the presentation layer, and then you're done...

    Thank you
    Ashish

Maybe you are looking for

  • Qosmio F50: No installable VirtualPC

    Hello again, Guess what I have a new problem with my Qosmio F50/VISTA 32 bit system. I try to use Virtual PC with Win7 to use a mode of VirtualXP, and for this I try to recognize if my cell phone is set up correctly.To do this, I ran the "SecurAble"

  • How to open a file *.search-ms Windows XP or open a file .fmd in Windows 7?

    We are a group of work using windows XP and Windows 7. We have a shared location of the pictures, and we want to set up search folders that everyone can use.

  • CHKDSK runs whenever I restart

    Lately, whenever I restart my laptop, chkdsk runs.  Do take 3 hours for the retart finish.  I can I prevent this?  What is going on?

  • NavigationClick works do not with BrowserField

    Hello I have a vertical with a header region Manager and a field of an object browser full screen. The code is calling navigationMovement function in the object full screen when I do not add the browser field. When the browser field object is added t

  • Implementation of collapsible list, cannot set field

    Hello I implement foldable list by using managers and field: -When the cell is developed, a data provider returns a list of the fields to add as the child cells, and they are inserted into the vertical field Manager. -When the cell is reduced, the ch