Percentages in discoverer....

hi all,
i have crosstab report in this format.
         EXPIRED     RENEWED     UnRENEWED
     count     count     count
apr     199     100     99
may     140     124     16
june     76     34     42i need to add the % for each status(as shown below format...)
     EXPIRED          RENEWED          UnRENEWED     
     count     %     count     %     count     count%
apr     199     100.00%     100     50.25%     99     49.75%
may     140     100.00%     124     88.57%     16     11.43%
june     76     100.00%     34     44.74%     42     55.26%the % calculations are (Expired or Renewed or Unrenewed) / Expired count.
ie 50.25% = 100/199,11.43%=16/140,100%=76/76 etc
how to achieve in OracleBI Discoverer Plus 10g (10.1.2.1)

Hi,
You probably need to create calculations rather than use the percentage tool.
You could try creating a calculation for the expired count e.g.:
SUM(DECODE(status, 'EXPIRED', 1)) OVER (PARTITION BY month)
Then your calculation for the percentage will be:
count(status)*100/expired_count
Rod West

Similar Messages

  • Showing Percentages on an axis in discoverer

    Hi all
    I am using Discoverer to show some percentages on screen. When i put the percentages into a graph though the axis shows the values as being 0.00, 0.10, 0.20, etc.
    I'm probably missing something really obvious, but could some one possibly tell me how i can show the axis labels as percentages rather than decimals.
    Thanks
    Leigh

    First: You mention burning other than a CD from Elements. This is the Photoshop Elements forum rather than Premier Elements. Photoshop Elements can't burn DVDs or Blu-ray so you may have the wrong forum.
    That aside I've just begun burning slide shows using Nero 7 software and 16:9 aspect ratio versions of my favorite PE3 photographs. Playing the DVD on a standard, progressive DVD player on a 2003 Sony XBR 1020i 34 inch CRT is nothing short of spectacular. They're playing at 720p (I think) but I can't really see much difference from cable 1020i. The player does not up convert.
    If your Panasonic gives good results with standard DVD movies and you already have a burner I'd give it a try.
    Bob

  • Discoverer Desktop Graphing Questions

    I have several questions about the graphing tool in Discoverer Desktop:
    1. I'm bringing in a customer id field which I convert with a to_char in the query from a numeric field. Most of them are 5-digit, but some are 4. I notice in the x-axis the customer id's appear only for the 5 digit id's, and for the 4-digit ones the identifier appears. i.e. if the 5th record has an id of 1508, instead of displaying 1508 it displays 5. Does anyone know how to correct this?
    2. In the y-axis values, is it possible to display more than 5 decimal places? (We're dealing with very small percentages). When I try to enter 6 or higher as the decimal value in Options, it says invalid number.
    3. When I open an existing workbook, it readjusts the y-axis scale to a max of 1, when I've set it to .0001. How I can I make this retain my scale values?
    4. Is it possible to display the y-values in the graph area itself next to the plot points?
    Thanks for any help!!!!

    Hi paul,
    Its a good idea to upgrade from 4i to 10g 4i is no more used by many and their are some issues or bugs with it.The latest version is 11g which has been released 1 week back.If not go with 10g version available.
    1) Do all reports have to be stored on the database to allow them to be accessed by Plus or Viewer? Can only the 10G client version open files from a local hardrive or shared network drive?Yes they have to stored in the database so any ened user can access them from plus or viewer.
    Can only one report be open at any given time with Plus or Viewer? In client it is possible to have 2 reports open at the same time to facilitate easier comparisons.Yes,if the reports are registered as different reports and if the end user has access to both the reports thn he can open and compare it OR if both reports are in same workbook as different sheets than its easy to view or compare.
    NULL values are still showing the word "NULL" even though in Tools Options we have set it to show blank, existing reports are still using the NULL value.It should show blank,might be some problem.In discoverer 10g i think you will not find this issues.
    Hope this helps you.
    Best Wishes,
    kranthi.

  • Discoverer: "CASE WHEN...." in calculations won't show anything in GUI !?!?

    Hi all!
    I have a report in Discoverer Plus (Version 10.1.2.48.18) which contains 2 columns: One with actual spendings and one with budget figures. I want to make a third column which holds actual spendings in percentage of the budget. To do this, I need to make a calculation similar to:
    CASE WHEN SUM(budget) <> 0 THEN SUM(spendings)/SUM(budget) ELSE NULL END
    However, when I apply this calculation to the third column, my report don't return any numbers at all in any column.
    What am I doing wrong? -- Is this a bug, and how should I solve my problem?
    ~Morten

    I can get something out if I do this (applying an aggregate function to it all):
    SUM(CASE WHEN budget <> 0 THEN spendings/budget ELSE NULL END)
    However, this is wrong (Summarizing these percentages doesn't give any meaning).
    SQL lookes something like this:
    SELECT /*+ NOREWRITE */ o100448.ACCOUNT as E100451,(decode((ADD_MONTHS(o100862.DATE1,-4)),null,to_date(null, 'MMDDYYYY'),to_date(to_char(trunc((ADD_MONTHS(o100862.DATE1,-4)),'YYYY'),'YYYY') || '01','YYYYMM'))) as E101004,MAX(o100448.ACCOUNTNUM) as as100473_100451_NEW,CASE WHEN ( SUM(o100862.BUDGET) ) <> 0 THEN ( SUM(o100862.AMOUNT) )/( SUM(o100862.BUDGET) ) ELSE NULL END as C_1,( SUM(o100862.BUDGET) )*o100448.SIGN as C_3,( SUM(o100862.AMOUNT) )*o100448.SIGN as C_2,GROUPING_ID(o100448.ACCOUNT,o100448.SIGN,(decode((ADD_MONTHS(o100862.DATE1,-4)),null,to_date(null, 'MMDDYYYY'),to_date(to_char(trunc((ADD_MONTHS(o100862.DATE1,-4)),'YYYY'),'YYYY') || '01','YYYYMM')))) as GID
    FROM TANGO.TANGO_ACCOUNTS o100448,
    TANGO.TANGO_SUMS o100862
    WHERE ( (o100862.ORG = o100448.ORG AND o100862.ACCOUNTNUM = o100448.SUBACCOUNTNUM))
    AND (o100448.ACCOUNTNUM BETWEEN 30000 AND 79999)
    AND (o100862.DIM = '50')
    AND (o100448.ORG = 'bru')
    GROUP BY GROUPING SETS(( o100448.ACCOUNT,o100448.SIGN,(decode((ADD_MONTHS(o100862.DATE1,-4)),null,to_date(null, 'MMDDYYYY'),to_date(to_char(trunc((ADD_MONTHS(o100862.DATE1,-4)),'YYYY'),'YYYY') || '01','YYYYMM'))) ),( o100448.ACCOUNT,(decode((ADD_MONTHS(o100862.DATE1,-4)),null,to_date(null, 'MMDDYYYY'),to_date(to_char(trunc((ADD_MONTHS(o100862.DATE1,-4)),'YYYY'),'YYYY') || '01','YYYYMM'))) ))
    HAVING (GROUP_ID()=0)
    ORDER BY GID DESC;
    I tried to fire this SQL up in TOAD (or whatever SQL-tool you might have), and columns C_2 and C_3 are empty. Seems like I'm doing something awfully wrong here.....
    Any ideas? (There must be some SQL sharks out there ;-p)
    ~Morten

  • Discoverer limitations

    Hi,
    i'm trying to create percentage based on total values in crosstab report. is it possible?
    my report looks like..
    Data..
    This is a crosstab report..
    Data1- 24,1,0,918,1225,1599,714,0-----------total 4481
    Data2 -0,0,3206,3704,0,0,0,0--------------------total 6910
    Data3-100,100,0,24.78,100,100,100,100----i want here calculation like (4481/6910)*100. but we can use only total as percentage for Data3 and its displays wrong percentage because its uses total(Data3)/count of column.. Data3 is calculation field.
    i dont think so its possible in Discoverer but i will appreciate if i get any idea to solve this problem.
    Thanks,
    Jay

    Well, off the top of my head (ie: disclaimer for inaccuracy and/or contractor stupidity) ...
    I'd see if you can create a simple calculation that's data1 / data2 and then place it as a row in the xtab.
    Of course, you'd have to check for zeros (which I see you have) and NULLS with something like:
    case when NVL(data2,0) = 0 then 0 else NVL(data1,0) / NVL(data2,0) end
    So, I'm wondering that if it was placed in the data area and the calculation passed to the totals, then you'd get what you want.
    As I said, just wonderin' as can't test and just a quickie idea to get this thread moving.
    Russ

  • Percentage Column

    How do you calculate a percentage at the bottom of a report in Discoverer that cannot be calculated using the Percentages wizard? I have to divide the sum of the rows by the count of distinct case numbers. The Percentages wizard adds a new record with a percentage on every line when I am looking only for ONE percentage at the bottom of the report. I was able to do it in Oracle Report rather easily using a Formula column by writing a function, but have to duplicate the same data in Discoverer. Can it be done?

    It's never easy to try to process one summary level process (sum of rows) against another summary level process (count distinct case numbers).
    Discoverer does not really support a calculation kind of concept in the SUMMARY level.
    The trick is to create a calculation (ie: a new column of data) that somehow reflects what you're trying to accomplish on a detail level and let the SUMMARY part work naturally.
    For example, instead of count distinct case numbers, if you could create some kind of other column that puts in a 1 if the number if unique or a 0 if it's the same number from before, then that's the kind of thing that would make what you're trying to accomplish easier. Of course, there's always sub-queries in Disco, but they're ugly and only supported (well writeable) in the Desktop version.
    Russ

  • Newbie Question - Distribution Graphs in Discoverer

    Hi there,
    I don't seem to be able to produce simple population distribution graphs in Discoverer (10g) Desktop or Plus. I'm trying to graph something as simple as #Students over Age from a simple corresponding table.
    Discoverer is not presenting me with options to select the source of Y axis and X axis values with (for example) a Fit to Curve graph type. All Discoverer does is assume that each of your columns are seperate series' which it will graph on the same page.
    Any advice is most welcome - I'm sure there's something simple that I'm not doing right...
    Thanks
    Dennis

    Hi. Did you ever resolve this issue? I have not used this version before and cannot fathom why you cannot amend x or Y axis sources. For example, we have added the percentages to a report between compliant and non compliant spend. We want to represent the trend of the percentages in a graph. However, we cannot because the data being picked up is the spend on the Y axis, not the percentages.
    Any ideas?

  • Discoverer Preferred Preferences

    Our environment:
    OracleBI Discoverer 10g (10.1.2.2)
    Oracle Business Intelligence Discoverer Plus 10g (10.1.2.54.25)
    Discoverer Model - 10.1.2.54.25
    Discoverer Server - 10.1.2.54.25
    End User Layer - 5.1.1.0.0.0
    End User Layer Library - 10.1.2.54.25
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    People in our user group and I are inclined to switch the "Aggregation Behavior" preferred preference 1 instead of the default 0. We recognize that this could produce erroneous results for some calculations (e.g. statistical or percentages are good examples).
    As long as our user community is aware of this, are there any other risk associated with making this change?
    Also, I am curious who has made this change in an Oracle Applications EUL environment?
    Thanks,
    Patrick

    Hi Sandra
    No problem, glad you saw the other posting.
    When you launch the registry editor, REGEDIT, you will see 2 panes. The left pane contains folders and the right pane contains the items within those folders. To get to where Discoverer is stored you need to do the following:
    1. Click the + key alongside HKEY_CURRENT_USER to expand the group
    2. Locate and expand the Software group
    3. Locate and expand the Oracle group
    4. Locate and expand the Discoverer 10 group
    Depending whether the machine is also using Discoverer Administration, you will now see all of some of the following folders:
    Administrator
    Application
    Crosstab
    Database
    Debug
    Fonts
    Generic Properties
    Report
    Session Manager
    Table
    Of all these, when working in Desktop the only ones you will really need to be concerned with are Application and Database.
    Click on Application for a second. In the right-hand pane you will see two differernt kinds of item. You will see some with an icon containing blue letters (these are numeric items), and you will see some that have an icon with brown letters a and b (these are text items).
    When you're adding new items, you right-click in the right-hand pane and select New, followed by the type of item you want to add. For numeric items you pick DWORD, while for text items you pick String value.
    For the numeric items, typically you will use 1 and 0, with 1 meaning true or on, and 0 meaning false or off.
    Word of wisdom: you will generally not see all of the available options when you expand a folder. They are still being applied though and will typically be defaulted to 0. Sometimes you have to manually add items in order to change the behavior.
    By the way, when you launch Desktop have you ever been frustrated by how long the Discoverer Desktop popup stays on the screen? This is just a setting. There is nothing going on behind the scenes while it is displaying, Oracle are just advertising. In the Application folder try changing the setting for SplashDelayMsecs from 4000 to 0 and see what happens. Your users will probably like this.
    Best wishes
    Michael

  • Discoverer Decode To Find Variance

    Hi There,
    I am building a discoverer cross tab report that has the following:
    Actual PLAN2010
    Account XX.XX XX.XX
    Everything is finished except the crosstab layout is giving me trouble calculating the variance. For the life of me, I can't get a variance column. I've tried totals, decode, case. Can't figure it out. Anyone out there have this problem?
    Any help would be greatly appreciated.

    Hi
    What formula would you like? Is it basically the percentage of a row compared to the whole total for the column?
    If so you can use an analytic for this. In fact one of the formaulas available from the Insert Formula from Template button is called difference. There is also another for percentage difference. Take a look. These might be what you want.
    Best wishes
    Michael

  • Help with discoverer viewer tables

    Hi
    I have a oracle table which has some blank cells which oracle discoverer shows as null, thats fine although i wish it wouldn't show but i can live with that, the problem is can i exclude the null count when calculating percentages ?
    thanks
    nimesh

    Hi
    You can change how the NULL shows up in your sheets, if you go into Tools, Options, Sheet and at the bottom there is an option Show Null values as.....
    Or on an existing report right click on the table and choose Format Table (or Crosstab) and set the NULL value option in there....
    Can you give us more info on what you mean by excluding nulls from a count....because if it's what i think it is then you can do a case statement.....
    MF

  • Roll-Up/Drill-Down Problem with Discoverer

    Hi,
    I am trying to produce some summary data, but am not exactly sure how to proceed.
    Specifically, I have a table containing attendance data for a number of weeks. Part of table is shown below. 1 indicates attendance and 0 indicates absense.
    |-------------------------------------------------|
    | Attendance ID | Wk_1 | Wk_2 | Wk_3 | Wk_4 | ... |
    |-------------------------------------------|-----|
    | 0001 | 1 | 0 | 1 | 1 | ... |
    | 0002 | 1 | 0 | 0 | 0 | ... |
    |-------------------------------------------------|
    Each student has a number of attendance_ids, each one represents a particular subject they study.
    For example:
    |------------------------------------------------|
    | Student Name | Attend ID | Subject | Attendance|
    |------------------------------------------------|
    | Amberley | 0001 | IS3004 | 50 |
    | | 0002 | MM3003 | 75 |
    | | 0003 | PR3003 | 60 |
    |------------------------------------------------|
    In Discoverer, to create a percentage attendance, I add up all the columns and then divide by the number of weeks.
    However, what I would really like to do, is to be able to roll this data up for summary based work and then to be able to drill down as necessary.
    Looking at the Video Store Tutorial, Stores were rolled up into Cities and Regionsc, can anyone give me some pointers on how I could roll up my data?
    Thanks,
    Eddie

    Hi Eddie,
    Try looking up hierarchies in the Administrator Guide.
    However, I'm afraid you'll have to pivot your attendance table in order to create a hierarchy.
    Example:
    Now:
    att_id week_1 week_2 week_3 ...
    1001 0 1 1 1
    1002 1 1 0 1
    1003 1 1 1 0
    Needed for hierarchy:
    att_id week_nr att_boolean
    1001 1 0
    1001 2 1
    1001 3 1
    1002 1 1
    Look up "pivoting scenarios" in the data warehousing guide (OTN documentation) on how to do this (preferably a view on the original table, if necessary materialized view).
    Then add additional time columns (or, better yet, create a time hierarchy table) with appropriate date hierarchy values, ie quarter and year. A weekbased hierarchy is tricky though, because weeks can "break" from one month/quarter/year to the other. So, figure this out carefully before you start creating you're time hierarchy.
    Regards,
    Sabine

  • No Rows Returned & Discoverer Portets.

    Does anyone else have an issue whereby you get a grey box instead of a nice discoverer graph because your query returns no rows?
    For example, imagine you have the standard oracle emp and dept tables. You then create a table which holds records of absenteeism. You create a disco gauge which displays absenteeism per department as a percentage. Now, if you have a department which has never had anyone being absent then the joins between the dept, emp and absent tables will return no rows. If you use this query for a disco gauge then you'll end up with a 'No Data' error, and possibilly a 'Gauge data point not found' error.
    Does anyone have a better solution than the one suggested here?
    We've been thinking about this, and are thinking of supplementing our SQL with a UNION, the second part of the SQL will return a list of all the departments with absent set to 0 for all the departments.
    So, when we have department with absentees our 0 value will be added to real data, giving us the correct value. And situations where no rows are returned for the proper query, then we'll be left with one row of data, which will be equal to 0.

    How about an outer join on absenteeism?

  • Percentage only shows at bottom

    In a crosstab, is there a way to show the percentage of each row, calculated on the grand total?
    I want this
    ItemA/ItemB B1 B2 B3 Total %Total
    A1 1 2 3 6 33%
    A2 1 2 3 6 33%
    A3 1 2 3 6 33%
    Total 3 6 9 18
    Using Percentage tool in Discoverer Desktop 9.0.2.53.0.4 or Plus 9.0.2.53.0.9, this only thing I can get is the %Total of each column, which is not ok for my needs, even if I pivot the crosstab (ItemA has to much values to be on top). I get this :
    ItemA/ItemB B1 B2 B3 Total
    A1 1 2 3 6
    A2 1 2 3 6
    A3 1 2 3 6
    Total 3 6 9 18
    %Total x% y% z%
    I don't want that.
    Please help me.

    i've just found a way to get rid of that stupid icon. was just some luck to find how to do it.
    in my case problem started when i have sent an picture by email and i didnt had any account created on my phone. the mail was still stored in some HIDDEN outbox,or the email was hidden itself
      THE SOLUTION:
    i have an application instaled (i hope is not a proplem if i will post the name of it)
    is called "Best MessageStorrer"
     This aplication alows you to save messages as text and some other stuff, it shows you all the messages you have in your phone,including the outbox folder,here i found the 6months old email (i mention that was not showing in normal outbox folder)
     i went to "Options - open - options (again) - delete" => PROBLEM SOLVED 
        Maybe it is hard and complicated probem but it worked for me! I hope this will help you too!

  • Discoverer calculations

    Using Discoverer 3.1
    I am trying to get the difference between the same column name (a number) from two different years and
    the percentage change in that number from one year to the next.
    Also, trying to figure the net dollar amount by summing up positive and
    negative amounts separately then summing them together ( same column name) to get the net amount.
    Is there any way to do the above?
    (problem with referencing the same column name because end up with zero)

    I am trying to get the difference between the same column name (a number) from two different years and
    the percentage change in that number from one year to the next. There are a couple of ways to do this. In both cases you need to use the 'sum' function and a 'group by' clause in your sql statement.
    1. you can reference the same table multiple times in the 'from' clause and only select the particular year in the where clause. Then in the select you use the table alias to reference the column from the tables.
    or
    2. you can use a 'decode' statement in the select statement to identify the year the record is associated to and perform the calculations.
    option 2 is more performant because there are less joins and less tables to access.
    Also, trying to figure the net dollar amount by summing up positive and
    negative amounts separately then summing them together ( same column name) to get the net amount. This can be done in the same fashion the first issue can be resolved. Whether you have them as separate columns then add them together. But remember these have to be part of a 'sum' function and 'group by' clause to perform the aggregation.
    hth,
    rick

  • Battery Percentage Won't Disable iPhone 6 Plus

    So I have an iPhone 6 Plus and I've been trying to turn off the battery percentage and everything I try doesn't work.
    I've tried:
    1.  Disabling battery percentage in the preferences
    2.  Disabling/Reenabling the battery percentage
    3.  Restarting the phone with battery percentage disabled
    4.  Restarting the iphone with battery percentage enabled and then tried disabling it again
    5.  Closing out all apps and doing a hard reboot with battery percentage disabled
    6.  Erasing all content and settings and restoring from backup.  When I did this the battery percentage went away, and then when I did an iCloud restore, the problem returned.
    7.  Retried numbers 1-5 one the iCloud backup was restored.
    8.  Tried resetting the network settings
    Any other suggestions?  The only thing left I can think of is to reset all settings, but I don't want to have to go through all that if I don't have to.
    Thanks.

    Probably because you did not put the Bose in pairing (discoverable) mode. Or you have paired it to the maximum number of devices it can support. Check its manual to determine which is the problem (or perhaps it is both).

Maybe you are looking for

  • Problem with jpanel getsize

    hello everybody, I have a problem when asking the panels size: I have JFrame with a mainPanel that I have setted to be the size of the screen. Inside the mainPanel I have putted a JToolBar (vertical, on the left), a JMenuBar on the top and a JTabbedP

  • Can I use a flash drive to back up my iTunes?

    Did a search on backing up my iTunes, and only get the option of backing up to a disc (Which is what I've done over the past 3 years. I now have 6 discs accumulated). Can I use a flash drive to back up my apps, music, and videos? I only have a total

  • Problem with "required" attribute in inputBox

    Hi , I have a requirement where a input field needs to be populated using lookup. I am using commandButton to populate the input field.Since I dont want user to type anything in this input Field , I have made this field readOnly. This is a mandatory

  • How to force an agg table for a particular report?

    Hi, We have a report which shows duplicate records from the same table. we assume that this is because the report is hitting the fact table instead the agg table. Is there any way to force the report to hit the Agg table and not the fact? We have tri

  • How to rest restrictions password on iPad

    how to rest restrictions password???