percentage of data

Hello

I have a table 2D (dimensions 62 x 24 models lines) and cary values in the range 0... 20. in addition, there are 3 limits (L1 = 1.22, L2 = 2, L3 = 10). What I have to do is to see how many values in each column, are below L1, how between L1 and L2, L3 and L2 and how many of them are bigger than L3. These figures, I need to be saved in 4 tables 2D.

For example if the original 2D array is:

1 3 7

0 5 11

3-6-2

tables 1 d of output are:

A1 (for values less than L1)

2 0 0

A2 (for values between L1 and L2)

0 0 1

A3 (for values between L2 and L3)

1-3-1

A4 (for values greater than L3)

0 0 1

Please help, I'm new to Labview...

[edit] The title is the percentage of occurrence Data... I need tables 1 d as indicated above, because after that, it is very easy to turn that into percentages (by dividing by the total number of lines)

Sounds like a job for the General histogram VI.

Set the locations (e.g.,-Inf, 1.22; 1.22,2; 2.10; 10, Inf) and enter your data in the VI (a single column at a time).

Tags: NI Software

Similar Questions

  • get the history of use of data store

    When you go to the performance tab from a data store that you can see the allocation graph and space used on a range of time.

    How to access these statistics via powercli?

    Get-stattype-entity * does not return all the types of stat for data warehouses

    the point of this is I'm trying to script a report that shows the percentage of data in the last 7 days store

    for example, 80%, 81%, 82%, 82%, 82%, 83% and 83%

    A quick glance at my post called statistical data store

  • Percentage field format

    Hello

    I am new to livecycle designer and I need your help!

    I do a form and I need to have some fields percentage, with data entered using the form.

    These percentage fields must have the format 000%. E.g. % 005, 035%, 100%

    There should be an error message when the user tries to enter a number greater than 100,

    In addition, I don't know if it could be done, to have a calculator script which sums up all the input data and make sure that the preview is take 100. Example, if the entry of field1 = 50, entry Field2 = 30, entered field3 = 20, entered field4 = 0, enter sphere5 = 0, so it's ok!

    Hello

    the percentage fields often confuse users, as it internally with floating calcultes numbers between 0 and 1.

    For example: If a user enters 0.77 it will show 77%.

    When you want users to enter values that should represent the percentage value, then use a digital model with a chain for the %.

    {Num{999.8'%'}

    To calculate a summary of the fields, you can use FormCalc ind percentage fields calculate event.

    Summary var = sum (Field1, Field2, field3, field4, sphere5)

    If (summary gt 100) then

    $host.messageBox ("summary can not be more than 100%.") Please check your data. »)

    $ = 0

    on the other

    $ = summary

    endif

  • How to calculate cumulative data

    Hello
    I need output like this.


    Percent frequency percent Cumulative Cumulative frequency
    4468 0.91 0.91 4468
    21092 4.31 25560 5.23
    57818 11.82 83378 17.05

    I use Oracle 9i.
    My data of output like that and I need to write the query for 3 columns (frequency, percent, the cumulative frequency and cumulative percentage)

    1: the formula for the frequency column data is the sum of (dd + cc + mc_cc_mc).
    1: the formula for the percentage column data is (frequency/amount of cumulative frequency) * 100
    2: is the formula for the cumulative frequency column data (data of the cumulative frequency column of)
    3: is the formula for the cumulative percentage column data (data for the cumulative percentage column of)

    What should be the analytical function and how to write the query. Please find the sample of data and table script.

    CREATE TABLE all_lony)
    CampNO varchar2 (20).
    DD INTEGER,
    CC INTEGER,
    MC, INTEGER,
    cc_mc INTEGER
    );

    insert into all_lony (campno, dd, cc, mc, cc_mc)
    values (36,156,1320,445,2547);

    insert into all_lony (campno, dd, cc, mc, cc_mc)
    values (40,233,19711,263,885);
    =============
    Please find my query below

    SELECT campno
    || ','
    || DM
    || ','
    || CC
    || ','
    || MC
    || ','
    || cc_mc
    || ','
    || frequency
    || ','
    || by
    ||','
    || cumulative_fr
    ||','
    || AMOUNT (per) OVER (ORDER BY by LINES UNBOUNDED PRECEDING)

    FROM (SELECT campno q3.campno, q3.dm, q3.cc, q3.mc, q3.cc_mc,
    Q3. Frequency, q3.cumulative_fr,
    (q3. Frequency / SUM (q3.cumulative_fr)) * 100
    (Q2.campno SELECT campno, SUM (q2.dm) dm, SUM (q2.cc) cc,)
    SUM (q2.mc) mc, SUM (q2.cc_mc) cc_mc,
    (SUM (NVL (q2.dm, 0)))
    + NVL (q2.cc, 0)
    + NVL (q2.mc, 0)
    + NVL (q2.cc_mc, 0)
    )
    ) the frequency,.
    SUM (SUM (NVL (q2.dm, 0)))
    + NVL (q2.cc, 0)
    + NVL (q2.mc, 0)
    + NVL (q2.cc_mc, 0)
    )
    ) ON (ORDER OF the SOMME (NVL (q2.dm, 0)))
    + NVL (q2.cc, 0)
    + NVL (q2.mc, 0)
    + NVL (q2.cc_mc, 0)
    () THE UNBOUNDED PRECEDING LINES)
    cumulative_fr
    of all_lony
    Q2 Q1)
    GROUP BY q3.campno) q3
    GROUP BY campno, dm, cc, mc, cc_mc, frequency, cumulative_fr)

    Just check the query and let me know

    Hello

    Everything is given.
    Each column formula is given...thriugh this we can get all the required result.
    The query is not working properly thats the issue and thats why i posted this whole senario.
    

    I don't think that everything is given. You gave:

    select * from all_lony
    
    CAMPNO  DD       CC      MC      CC_MC
    36     156     1320     445     2547
    40     233     19711     263     885
    

    And you want to:

    Frequency  Percent  Cumulative Frequency   Cumulative percent
    4468       0.91     4468                   0.91
    21092      4.31     25560                  5.23
    57818      11.82    83378                  17.05
    

    First of all, you want 3 rows where we start with 2. I don't see anyway to generate the 3rd rank on 2 data.
    With the following simple query, I get the frequency and the Cumulative_freqency.

    select
      campno
      ,dd + cc + mc + cc_mc Frequency
      ,sum(dd + cc + mc + cc_mc ) over (order by campno) Cumulative_freqency
    
    from
      all_lony
    
    CAMPNO               FREQUENCY CUMULATIVE_FREQENCY
    -------------------- --------- -------------------
    36                        4468                4468
    40                       21092               25560 
    

    As you can see that your formula for the frequency is not give the result that you want.
    1: the formula for the frequency column data is the sum of (dd + cc + mc_cc_mc).
    This should be:
    1: the formula for the frequency column data is dd + cc + mc_cc_mc.

    Now the percentage formula
    1: the formula for the percentage column data is (frequency/amount of cumulative frequency) * 100

    I think you mean
    1: the formula for the percentage column data is (frequency / cumulative frequency) * 100

    But this does not 0.91 or 4.31 as in your result set.

    Then please explain in a simple furmula with the sample values you have given the way in which we can calculate the percentage column.
    The cumulative percentage column follows out of the percentage column.

    Then explain how to get the 3rd rank.

    Kind regards

    Peter

  • Query for the cumulative data

    HI friends,


    I need output like this.

    Frequency (%) Cumulative
    Frequency cumulative percentage
    4468 0.91 0.91 4468
    21092 4.31 25560 5.23
    57818 11.82 83378 17.05
    6274 1.28 89652 18.33

    I use Oracle 9i.
    My data of output like that and I need to write the query for 3 columns (for cent, the cumulative frequency and cumulative percentage)

    1: the formula for the percentage column data is (frequency/amount of cumulative frequency) * 100
    2: is the formula for the cumulative frequency column data (data of the cumulative frequency column of)
    3: is the formula for the cumulative percentage column data (data for the cumulative percentage column of)

    What should be the analytical function and how to write the query.

    Thank you
    Lony

    Hi, Lony,

    SUM is the function that adds several different line numbers:

    SELECT  frequency
    ,     percent
    ,     SUM (frequency) OVER (ORDER BY  x)     AS cumulative_frequency
    ,     SUM (percent)      OVER (ORDER BY  x)     AS cumulative_percent
    FROM     table_x
    ;
    

    In your data, not frequency = 4468 on the first line, and not the line with frequency = 21092 come from then? If Yes, then you must have another column (or expression) that determines what are words like 'next', 'first' and 'after' means. I called x in the above query.

    I hope that answers your question.
    If not, post a small example data (CREATE TABLE and only relevant columns, INSERT statements) for all of the tables involved and also publish outcomes from these data.
    Explain, using specific examples, how you get these results from these data. Beespecially erase everything that makes a line come before or after the other.
    Always tell what version of Oracle you are using.
    See the FAQ forum {message identifier: = 9360002}

    It looks like you posted another copy of the same question: {message identifier: = 10271688} maybe it's not your fault; This site can be leafed through like that. No matter who's fault, mark the other thread as "Answered" immediately, so only look in one place to find answers, and other people won't waste their time, answering a question that is answered elsewhere.

  • 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.

  • Data pump - export without data

    To export the database without data in old tool exp was the parameter ROWS defined as N. How to import the schema of database without data using data pump technology?

    You can see by checking using dump export on your command line like this

    C:\Documents and Settings\nupneja>expdp -help
    
    Export: Release 10.2.0.1.0 - Production on Friday, 09 April, 2010 18:06:09
    
    Copyright (c) 2003, 2005, Oracle.  All rights reserved.
    
    The Data Pump export utility provides a mechanism for transferring data objects
    between Oracle databases. The utility is invoked with the following command:
    
       Example: expdp scott/tiger DIRECTORY=dmpdir DUMPFILE=scott.dmp
    
    You can control how Export runs by entering the 'expdp' command followed
    by various parameters. To specify parameters, you use keywords:
    
       Format:  expdp KEYWORD=value or KEYWORD=(value1,value2,...,valueN)
       Example: expdp scott/tiger DUMPFILE=scott.dmp DIRECTORY=dmpdir SCHEMAS=scott
                   or TABLES=(T1:P1,T1:P2), if T1 is partitioned table
    
    USERID must be the first parameter on the command line.
    
    Keyword               Description (Default)
    ------------------------------------------------------------------------------
    ATTACH                Attach to existing job, e.g. ATTACH [=job name].
    COMPRESSION           Reduce size of dumpfile contents where valid
                          keyword values are: (METADATA_ONLY) and NONE.
    *CONTENT*               Specifies data to unload where the valid keywords are:
                          (ALL), DATA_ONLY, and METADATA_ONLY.
    DIRECTORY             Directory object to be used for dumpfiles and logfiles.
    DUMPFILE              List of destination dump files (expdat.dmp),
                          e.g. DUMPFILE=scott1.dmp, scott2.dmp, dmpdir:scott3.dmp.
    ENCRYPTION_PASSWORD   Password key for creating encrypted column data.
    ESTIMATE              Calculate job estimates where the valid keywords are:
                          (BLOCKS) and STATISTICS.
    ESTIMATE_ONLY         Calculate job estimates without performing the export.
    EXCLUDE               Exclude specific object types, e.g. EXCLUDE=TABLE:EMP.
    FILESIZE              Specify the size of each dumpfile in units of bytes.
    FLASHBACK_SCN         SCN used to set session snapshot back to.
    FLASHBACK_TIME        Time used to get the SCN closest to the specified time.
    FULL                  Export entire database (N).
    HELP                  Display Help messages (N).
    INCLUDE               Include specific object types, e.g. INCLUDE=TABLE_DATA.
    JOB_NAME              Name of export job to create.
    LOGFILE               Log file name (export.log).
    NETWORK_LINK          Name of remote database link to the source system.
    NOLOGFILE             Do not write logfile (N).
    PARALLEL              Change the number of active workers for current job.
    PARFILE               Specify parameter file.
    QUERY                 Predicate clause used to export a subset of a table.
    SAMPLE                Percentage of data to be exported;
    SCHEMAS               List of schemas to export (login schema).
    STATUS                Frequency (secs) job status is to be monitored where
                          the default (0) will show new status when available.
    TABLES                Identifies a list of tables to export - one schema only.
    TABLESPACES           Identifies a list of tablespaces to export.
    TRANSPORT_FULL_CHECK  Verify storage segments of all tables (N).
    TRANSPORT_TABLESPACES List of tablespaces from which metadata will be unloaded.
    VERSION               Version of objects to export where valid keywords are:
                          (COMPATIBLE), LATEST, or any valid database version.
    
    The following commands are valid while in interactive mode.
    Note: abbreviations are allowed
    
    Command               Description
    ------------------------------------------------------------------------------
    ADD_FILE              Add dumpfile to dumpfile set.
    CONTINUE_CLIENT       Return to logging mode. Job will be re-started if idle.
    EXIT_CLIENT           Quit client session and leave job running.
    FILESIZE              Default filesize (bytes) for subsequent ADD_FILE commands.
    HELP                  Summarize interactive commands.
    KILL_JOB              Detach and delete job.
    PARALLEL              Change the number of active workers for current job.
                          PARALLEL=.
    START_JOB             Start/resume current job.
    STATUS                Frequency (secs) job status is to be monitored where
                          the default (0) will show new status when available.
                          STATUS[=interval]
    STOP_JOB              Orderly shutdown of job execution and exits the client.
                          STOP_JOB=IMMEDIATE performs an immediate shutdown of the
                          Data Pump job.
    
    C:\Documents and Settings\nupneja>
    

    Content to the "metadata_only" parameter will export only the structure of the schema to skip the lines.

  • Not calculation formula

    Hi all

    1. I am facing a problem. I'm figuring a member (BC54500.100) dimension in two different ways, one way, then the SCENARIO dimension member selected in the screen is "TRAFFIC" and a different way for each other Member of the SCENARIO dimension.

    BC54500.100 has two children, a BT54500.100 who has the percentage of data type and BT54500.110 which is used to store the actual for this calculated, real Member coming from the EBS.

    For this I need an IF clause, so I did:

    If (@CURRMBR ("Scenariu") is "TRAFFIC")

    BC54500.100 = 5 * BT54500.100 / 100;

    ON THE OTHER

    BC54500.100 = (BC54110.100 + BC54110.200 + BC54420.100 + BC54420.200 + BC54410.100 + BC54410.200 + BC54110.300 + BC55300.700 + BC54210.600 + BC55300.900) * BT54500.110;

    ENDIF;

    The Colombia-British... and BT. are all members of the dimension account.

    The problem is that it never calculates the ELSE condition. I tried to move the formulas in order to have an answer, I also tried:

    If (@CURRMBR ("Scenario") <>'TRAFFIC')

    BC54500.100 = (BC54110.100+BC54110.200+BC54420.100+BC54420.200+BC54410.100+BC54410.200+BC54110.300+BC55300.700+BC54210.600+BC55300.900)*BT54500.110/100;

    ELSEIF (@CURRMBR ("Scenariu") == "TRAFFIC")

    BC54500.100 = 100 * BT54500.100 / 100;

    ELSEIF (@CURRMBR ("Scenariu") == "Revizie1")

    BC54500.100 = (BC54110.100+BC54110.200+BC54420.100+BC54420.200+BC54410.100+BC54410.200+BC54110.300+BC55300.700+BC54210.600+BC55300.900)*BT54500.110/100;

    ON THE OTHER

    BC54500.100 = (BC54110.100+BC54110.200+BC54420.100+BC54420.200+BC54410.100+BC54410.200+BC54110.300+BC55300.700+BC54210.600+BC55300.900)*BT54500.110/100;

    ENDIF;


    Each time, the last condition is not respected in the calculations. I moved the formulas between them over and over again, whenever that is the last is not calculated... Any ideas?




    2. another another minor issue, is that as I have said before that I have some members as BT54500.110, who have the percentage data type. And I have 10 entities, with a parent entity. When I view the data in the form that sums the values which lie on all BT54500.110 members for all entities, even if at the level of plan type, I selected medium. I do not have the sum, ideas?

    We have Hyperion Planning 11.1.2.2.0.7790


    Thank you very much for your time!

    Thank you Philip for your reply and thank you all.

    I managed to solve the problem.

    The solution was:

    SET UPDATECALC ON / OFF;


    before the formula correction...

  • Script of attribution error

    We must allocate $100 of sales, Distribution etc. (Lvl 0 members of dim function) in combination product-way, say at 40% and 60% for January.
    Users to enter these percentages in data forms, which vary for each month.

    The sum of $100 is for sale-> geography (this is a different Sun), who needs to charge to the Prod-way combination.

    My percentages in the form of data are in Prod-channel-geography.

    Fix (@ISLEV(Function,0), @ISLEV(Geography,0), 'Prod_None', 'Cha_None')
    Sale = 'Sell '->' geography' * 'Product'-> 'channel '->' geography '.

    ENDFIX

    It gives me a parse error. Help, please.

    Yes. The Member that you calculate may not be in the statement to FIX.

  • Calculate social security contributions

    Hello

    This question is only out of curiosity.
    I have a sum of money to be paid to a customer for a certain period.
    Of this amount, I have to subtract the social security contributions. The percentage may change during the period of one month.
    CREATE TABLE annuity(
     customer_id NUMBER
    ,amount NUMBER
    ,due_date DATE
    ,method_of_payment INTEGER
    );
    -- method_of_payment means the payment interval, e.g. 3 is quaterly
    CREATE TABLE ssc(
     date_from DATE
    ,date_to DATE
    ,percentage NUMBER
    );
    
    INSERT INTO annuity (customer_id ,amount ,due_date ,method_of_payment)
        VALUES(1,1000,DATE '2012-01-01',3);
    INSERT INTO annuity (customer_id ,amount ,due_date ,method_of_payment)
        VALUES(2,2000,DATE '2012-01-01',1);
    INSERT INTO annuity (customer_id ,amount ,due_date ,method_of_payment)
        VALUES(3,3000,DATE '2012-01-01',6);
    
    INSERT INTO ssc (date_from ,date_to ,percentage)
        VALUES (DATE '2011-12-01',DATE '2012-01-31',10);
    INSERT INTO ssc (date_from ,date_to ,percentage)
        VALUES (DATE '2012-02-01',DATE '2012-05-31',20);
    INSERT INTO ssc (date_from ,date_to ,percentage)
        VALUES (DATE '2012-06-01',NULL,30);
    
    SELECT * FROM annuity;
    SELECT * FROM ssc;
    
    CUSTOMER_ID AMOUNT DUE_DATE   METHOD_OF_PAYMENT
    ----------- ------ ---------- -----------------
    1           1000   01.01.2012 3
    2           2000   01.01.2012 1
    3           3000   01.01.2012 6
    
    DATE_FROM  DATE_TO    PERCENTAGE
    ---------- ---------- ----------
    01.12.2011 31.01.2012 10
    01.02.2012 31.05.2012 20
    01.06.2012            30
    So far, I do the following:
    I generate each month interval end_date and payment
    I can not use CONNECT BY LEVEL < = method_of_payment, because I want to calculate for more then a single customer.
    The method with CAST (MULTISET... part of my box, which is filled with snippets of the Web ;-)

    Eventually I reach the ssc of table for each month and summarize again.
    WITH annuity_each_month AS (
        SELECT  customer_id
               ,due_date
               ,amount / method_of_payment amount_per_month
               ,ADD_MONTHS(
                     due_date
                    ,(ROW_NUMBER() OVER (PARTITION BY customer_id,due_date ORDER BY NULL)-1)
                    ) AS generated_date
        FROM    annuity
               ,TABLE(
                    CAST(
                        MULTISET(SELECT NULL FROM dual CONNECT BY ROWNUM <= method_of_payment)
                        AS sys.dbms_debug_vc2coll
                        )
                    ) t
         )
    SELECT  ROUND(SUM(aem.amount_per_month * ssc.percentage / 100),2) ssc_payment
           ,aem.customer_id
           ,aem.due_date
    FROM    annuity_each_month aem
            JOIN ssc
              ON (   ssc.date_from <= aem.generated_date
                 AND (  ssc.date_to > aem.generated_date
                     OR ssc.date_to IS NULL
                     )
                 )
    GROUP BY aem.customer_id
            ,aem.due_date;
    
    SSC_PAYMENT CUSTOMER_ID DUE_DATE                  
    ----------- ----------- ----------
    200         2           01.01.2012                
    600         3           01.01.2012                
    166.67      1           01.01.2012  
    Does anyone know the other simple, elegant and efficient for calculating social security contributions?

    Concerning
    Marcus

    Hello

    Here's one way:

    SELECT       a.customer_id
    ,       SUM ( a.amount
               * ssc.percentage
               * .01
               * MONTHS_BETWEEN ( LEAST    ( ADD_MONTHS ( a.due_date, a.method_of_payment)
                                             , NVL (ssc.date_to, DATE '9998-12-31') + 1
                               )
                                , GREATEST ( a.due_date
                                       , ssc.date_from
                               )
                          )
               / a.method_of_payment
               )          AS ssc_payment
    FROM       annuity  a
    JOIN       ssc          ON   a.due_date          <= NVL (ssc.date_to, DATE '9999-12-31')
                     and  ADD_MONTHS ( a.due_date
                                  , a.method_of_payment
                             ) - 1     > ssc.date_from
    GROUP BY  a.customer_id
    ORDER BY  a.customer_id
    ;
    

    Basically, this approach:
    (a) between each line of annuity with each row overlapping of ssc
    (b) estimated the number of months for this combination
    (c) number of (b) is used in the calculation of the ssc_payment for this period
    (d) all periods for the same customer totals.

    This requires that everything works in units of 1 month; for example, a.due_date and ssc.date_from are still the first few months, and ssc.date_to is always at the end of a few months (or NULL). This approach can be adapted to work with everyday, or even fractions of a day.

    Published by: Frank Kulash, may 2, 2012 08:20

    Marwim wrote:
    ... I can not use CONNECT BY LEVEL<= method_of_payment,="" because="" i="" want="" to="" calculate="" it="" for="" more="" then="" one="">

    You can use CONNECT BY if you want. When you use 'LEVEL '.<= x"="" as="" the="" only="" connect="" by="" condition,="" you="" usually="" want="" to="" use="" a="" table="" with="" only="" 1="" row.="" you="" could="" then="" join="" the="" results="" to="" the="" annuity="" table,="" with="" "lvl=""><= method_of_payment"="" as="" the="" join="">

  • Persentage calculation in Sql - need help Urgent

    Hi friends

    In my life I want to show the increase in cost for example if cost std 100 and when the user enters 110, that means, I want to show 10% high than the std cost
    For EX:
    Cost of entry by the user = 110
    cost of billing STD = 100
    I took the difference between (cost - point user) / point cost * 100, it gives the percentage of how much increased and then the issue cost std
    for this I used my logical mathemathical ((110-100)/100) * 100

    I'm stuck here
    ----------------
    in some cases the std cost of the item is '0' iam so get an error message (could not be evaluated because or error ORA-01476 divisor is equal to zero)

    Please suggest me other logic to show progress %

    I used this code

    Select item_cost, round (((utilisateur coût-item_COST) / item_COST) * 100), 2) double


    Thank you in advance

    AT

    This is the same logic with decoding

    With Data As
    (Select 100 Item_Cost, 110 User_Cost From Dual Union All
    Select 0,20 From Dual
    )
    
    select item_cost,user_cost, decode(item_cost,0,0,((user_cost-item_cost)*100)/item_cost) "Percentage" from data;
    

    AT wrote: the logic is decode function he's be much better I think so

    Now could you please clarify why you think it's better that the case?

    Vivek L

  • Axis Vertical LineChart

    I am currently draw a bunch of data, and I ran into a situation where some of the data are actually percentages, where the expected behavior is to other map data to a standard vertical axis that measure County but to map this percentage of data on a vertical secondary when 100% is equal to the height of the line card. Is this possible? Someone at - it an example? What I'm looking for, it's something that looks like this:

    500 | 100%
    | |
    Coun 250 | 50% percentage
    | |
    0 |____________________| 0%
    0 7 14 21 28
    days

    Thank you
    Josh

    Wow, this example has trashed when it was published.

    Good news is that I answered my own question. Graphics take just load a 'secondDataProvider' and a 'secondSeries' to do.

  • Export the data as a percentage with a report script

    Hi all

    Hope everyone are great as always.

    We have percentage data under the necessity of planning (V 11.1.2.2) hyperion to export as a percentage.

    Currently, it exports 100% 1.

    Is it possible that I can export it as 100% or 100 instead of 1

    Kind regards

    TVMK

    The problem you will have, is how the report script know that Member should be reported as a %

    You can take a look at some examples

    Example 8: Creating custom headers and the characters %

    Example 14-b: asymmetric columns

  • PivotTable ' display the data as "percentage of accuracy

    Hello

    I would like to know if there is a way to configure the PivotTable ' display the data sub - percentage of ' precision.

    ATM, I have reports using SR types where one of those who are much bigger than others... Thus, when its generated report, it returns something like:

    TYPE A: 99%
    TYPE B: 0%
    TYPE C: 0%
    TYPE D: 0%

    How can I view other correct value types? Something like number of decimals...

    PS: as criteria in this report, I changed my data Format 'Number', ' less:-123 "to 15 decimal places.»

    Thank you
    Ramon

    902360 wrote:
    Hello

    I would like to know if there is a way to configure the PivotTable ' display the data sub - percentage of ' precision.

    ATM, I have reports using SR types where one of those who are much bigger than others... Thus, when its generated report, it returns something like:

    TYPE A: 99%
    TYPE B: 0%
    TYPE C: 0%
    TYPE D: 0%

    How can I view other correct value types? Something like number of decimals...

    PS: as criteria in this report, I changed my data Format 'Number', ' less:-123 "to 15 decimal places.»

    Thank you
    Ramon

    Well Yes. Can do. Read this link:

    http://shivabizint.WordPress.com/2008/09/14/changing-the-precession-of-percent-of-columns-in-pivot-table-of-OBIEE/

  • Problem with the percentage data type

    Hello

    I understand that if a member account data type is percentage, then the corresponding value in the form of data is displayed as a percentage. For example, if I need to get 50% against the particular account member, then I can type either 0.5 or 50%. But is there the parameters by which if I hit 50, system will consider as 50%, not 5 000%.

    Thank you.

    You can type either 0.5 or 50%

    See you soon

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

Maybe you are looking for