Seeking help to create report

I'm hoping someone can help me.
I have a report that keeps track of outages based on application. I now need to break down that report and display the percentage of availability for each application by month. If no outage occured on certain days of the month I would need it to output "0.0".
Does anyone know how I can create a query or pl/sql block to output all days of the month?

Hello there,
So I've been very unsuccessful at creating my report.
I've attempted to use the queries you provided with no success.
select * from
(select trunc(start_date,'MONTH')+rownum-1 as each_day
from outage_info
connect by rownum <= to_char(last_day(end_date),'DD')
where start_date between to_date(01-01-07, 'MM-DD-YY') and to_date(01-03-07, 'MM-DD-YY')
What I'm attempting to do is generate a similar output to:
Systems : Monday Tuesday     Wednesday System Total Outage Hours     
1/1/07     1/2/07     1/3/07
APP1     0.00     2.50 0.00 2.5%     2.5
APP2     1.75     0.00 3.25 5%          5.0
APP3      2.00 0.00 1.00 96.5%     3.75
Where systems represent my applications and the dates can vary based on user input. So in this case they want to see outages between 1/1/07-1/3/07. I also need to display 0.00 if no outages occured on that date.
My table structure is as follows:
ID NUMBER
SYSTEMS VARCHAR2(1000)
START_DATE DATE
END_DATE DATE
TOTAL_HOURS NUMBER
Can anyone offer up any helpful solutions?
Message was edited by:
user553326

Similar Messages

  • Need help to create report with jpeg/gif image

    Hello,
    I need help with creating a form with a special jpeg/gif seal. I never done this Java. Until now, I created all forms with ansi C++ with HP escape characters to draw lines, boxs, and text. This form will contain boxes which is populated with database information read from a text file.
    Since this form contains a special seal on the upper right, I don't think it can be done with old fashion ansi C++. How can I create a form with Java and create it as a simple exe to just print the form to a specified printer.
    Thanks,
    John

    Hi,
    I am creating a form with boxes (lines and text). What is special about this form is that it has an image jpeg or gif at the top right corner. Is is a state department seal. Up to this form, I had used ansi C++ and print out escape HP character to print out the lines, boxes, and text. I have no idea how to print out the image. I am new to JAVA and only 1 class in it. Is there sample code out there to create this type of form with the image? I need a starting point.
    Thanks,
    John

  • Help about Create Report in SCCM

    Hi guys,
    I want create report display software specific by collection. Example: I need know all desktops in my collection have software specifc called Winrar installed. But I don't know hostname.
    I need something where I don't need always create query. Example: After create report I can search a lot of programs. I say this because I have some query's but I always need create query for this.
    Any idea?
    PS: Reports: Software02E,Software02D It doesn't fit for me.
    Thanks.

    Computers with specific software registered in Add Remove Programs
    This is pre-canned.

  • Need urgent help in creating report

    i have two facts
    number of open bugs
    number of closed bugs
    i have a status column (status of bug)
    now i have to create a report (chart) which shows me number of open bugs and number of close bugs. The main problem here is i want to filter open bugs as those which have status say 10 and 11
    And closed bugs those which are in status say 90 and 92.
    So, hoiw to create this type of report..?
    any help in this direction will be a great contribution ,,,,
    Vik

    Here´s the sintax:
    CASE expression1
    WHEN expression2 THEN expression2
    {WHEN expression... THEN expression...}
    ELSE expression
    END
    It would be something like this:
    CASE status WHEN 10 THEN open_bug
    WHEN 11 THEN open_bug
    WHEN 90 THEN close_bug
    WHEN 92 THEN close_bug
    ELSE 0 END
    Set the aggregation rule to SUM.
    Regards.

  • Seeking help for a  report design

    How to create dynamic footnotes, if it's even possible, with Oracle
    Reports?
    A dynamic footnote would be one that appears on a page only if it is
    used on that page.
    For example:
    Regions: South East West North
    Widget A
    S: $1500.
    E: $100.
    Footnotes:
    S = South
    E = East
    ------------- (page break of group or bottom of page) --------
    Widget B
    S: $1500.
    W: $100.
    Widget C
    S: $1500.
    Widget D
    S: $15002.
    W: $100.
    Footnotes
    S= South
    W = West
    We only want the ones that are used on the page to appear on the footnote
    Any help will be appreciated,
    Thanks.

    Hallo Denis,
    I have a similar problem: Want to display some value from the database in a margin field. I created a user parameter v_Title_Crew and pressetted it in the format trigger of a formula field. Used srw.set_field_char (0, :v_Title_Crew) in the format trigger of the margin field to display the content of the variable. But unfortunately this does not work: It seems to me that the margins are prepared before the query is executed; the variable is not set. Before I simply connected the margin field to the variable in the property palette but this didn't work better. Any idea how to solve this problem?
    Thanks and regards - Ulrich

  • Seeking help w/ summary report: group_by and subqueries

    Hi Folks,
    I've been asked to produce a report that shows, for each line of business, the number of projects, and number of submitted charters and I am having difficulty getting my head around this.
    Here are the tables with pertinent fields:
    Table: E_PROGRAM
    Fields:
    ID (Primary Key)
    Program_Number
    Cost_Center (Foreign Key to E_COST_CENTER)
    Table: E_PROJECT
    Fields:
    ID (Primary Key)
    Program_ID (Foreign Key to E_PROGRAM)
    Table: E_PROJECT_MONTHLY
    Fields:
    ID(Primary Key)
    Project_ID (Foreign Key to E_PROJECT)
    Charter_Name
    Table: E_COST_CENTER
    Cost_Center (Numeric Value)
    LOB (Varchar2)
    Getting the first part went well. I came up with: select cc.lob, count(pj.id) "# Projects"
    from e_program p,e_project pj, e_cost_center cc
    where p.id = pj.program_id
    and p.cost_center = cc.cost_center
    group by cc.lob;So to extend it ag get the # of Charters I tried a subquery: select cc.lob, count(pj.id) "# Projects",
    (select count(pjm.id)
    from e_project_monthly pjm, e_project pj
    where pjm.file_id is not null
    and pjm.project_id = pj.id) "# Charters"
    from e_program p,e_project pj, e_cost_center cc
    where p.id = pj.program_id
    and p.cost_center = cc.cost_center
    group by cc.lob;The result is the LOB, Correct number of Projects for the LOB and the total number of Charters for all LOBs.      # Projects # Charters
    LOB1     35     40
    ALL      111     40
    LOB3     30     40
    LOB4     4     40
    LOB5     4     40
    LOB2     38     40How can I get the subquery tied into to the main query?
    Thanks so much for your help and time.
    Petie

    try this... this would work... i dont know how much data u have in these tables, hence, havent thought much about performance...
    select pr.lob, pr.projects '# Projects' ch.charters '# Charters'
    from
    (select cc.lob lob, count(pj.id) Projects
    from e_program p,e_project pj, e_cost_center cc
    where p.id = pj.program_id
    and p.cost_center = cc.cost_center
    group by cc.lob) pr,
    (select cc.lob lob, count(pjm.id) charters
    from e_project_monthly pjm, e_project pj, e_program p, e_cost_center cc
    where pjm.file_id is not null
    and pjm.project_id = pj.id
    and pj.id = p.id
    and p.cost_center = cc.cost_center
    group by cc.lob) ch
    where pr.lob = ch.lob
    Thanks

  • Seeking help to create new apple ID

    i am new user of apple mobiles. while creating apple ID. I have typed my mail address which is not at all existing. Now to create new apple ID what i need to do? Please do help me

    See here
    http://www.apple.com/support/appleid/
    Have you just purchased the iPhone used  ?

  • Help with creating reports - Report Builder 6.0.8.11.3

    Helllo!
    I’m using report builder 6.0.8.11.3 and the operating system is Unix, and the result is a character text file.
    Now imagine the following situation, I need to send to a letter to several companies. That letter has some lines of introduction, in the first page, as well as the company address. Below this introduction I pretend to put a list of employees and each one info. Each employee info has four lines of size. And the list can grow from one person to hundreds, which makes the letter grow from one page to more.
    This is simple to do it. The problem is that I need to know and to use in the letter, the number of current page and the total number of pages for each company.
    This letter has two kinds of pages (one with the introduction text and some employees and other with employees only), and I need to know the number of employees for each page, to calculate the total number of pages. I have the propriety “max register number per page” but is useful for a page. Assuming that I get the total number pages using some PL/SQL.
    Can you have any other solution? Or give me some help with this one?
    Thanks.

    Hi
    I have problem in RTF output.How can I get this patch3 file.I am
    not able to log on to "ftp.oracle".
    Please help.
    Vijay

  • Need Help to Create Report

    Hi Frds
    Consider 1 PO and 1 Line Item and for that i have Multiple GRs and IR GRs.
    I wants to write code for these ,can anyone help me which are tables and fields ,give me some tips .
    its urgent
    Thanks
    Pari

    Hi,
    Tables                                                    Fields
    EKKO(Purchasing Doc                          EBELN,EBELP
    Header)                                                               (EKPO-EBELN =EKKO-EBELN)
    EKPO(Purchasing Doc                         EBELN
    Item)   
    GR:
    Tables                                                    Fields
    MKPF(Header: Material Document)            MBLNR,MJAHR
    MSEG(Document Segment: Material)        MBLNR,MJAHR,ZEILE
    Please Reward points if useful.
    Regards
    rose

  • Topics that help to create a project report about Java Report Generator?

    hi all,
    i'm doing a project on java that could be utilised to create reports for java programs..i want to make a project report on this topic.if anyone knows about sites those helps to create report please reply..
    Preethi

    JasperReports is a powerful report-generating tool that has the ability to deliver rich content onto the screen, to the printer or into PDF, HTML, XLS, CSV and XML files.
    http://jasperreports.sourceforge.net
    There is a convenient visual designer to create reports for jasperreports library called iReport.
    Take a look at http://ireport.sourceforge.net
    Giulio

  • How to create reports for java programs?

    Hi,
    I have planned to do a project using java,that will help to create reports for java programs. To create reports for java programs i used two options.
    1)Crystal reports
    2)Write the code to produce reports for each java programs
    The second one little cumbersome.SO i planned to develop a software that is compatible for creating java reports.
    I would like to know how i will do the project?Can you help me to made it a successful project.Hope you can help me.
    Expecting your reply
    PreethiRenjith

    Uggg... Crystal reports...
    I would personally write a generic report generator, It would probably be easier than fighting w/
    crystal reports (CR is popular, but painful :) )
    Anyhow, I've written report generators for many different applications. It is one of the simplest projects you
    can take on, and the results make you feel special --
    If your need nicely formated, portable, printable reports, you could have your report generator make PDF files (the format is open, and VERY simple, plus people like pdf files) you can get the pdf spec from adobe or from wotsit.org (the famous wotsit file format archive).
    enjoy!

  • I like creating reports in VWP - I Type from Brazil

    Friend I need help for creating reports in the VWP
    Anybody knows?
    Thank�s

    Hi,
    This will be of help
    http://developers.sun.com/jscreator/learning/tutorials/2/reports.html
    Thanks
    K

  • Need help in creating custom crosstab reports

    Hello
    I need some help in creating custom crosstab reports.
    My current report shows the number of events that have occured over the time in a day
    The events and the eventdetails are read from the database before being printed on the crosstab
    i.e something like this.
    Note : there are no events between 3:00-3:59,5:00-5:59;6:00-6:59,7:00-7:59  (not present in the database)
    hence not displayed in the reports
    *08/07/2009*         01:00        02:00         04:00          08:00          10:00*
    Event X                    1               1                 4                 1                  3
    Event Y                   3               3                 2                 2                  1
    Total                        4                4                 6                 3                  4
    So far so good...
    Now i have to enhance my reporting application to include the event details which have not happened i.e to include the time details in the crosstab reports where no events have happened
    08/07/2009             01:00        02:00         03:00          04:00          05:00         6:00         07:00         8:00     9:00     10:00
    Event X                     1               1                0                 4                  0             4             0                1            0           3
    Event Y                     3               3                0                 2                  0             2             0                2            0           1
    Total                         4                4                0                 6                  0             6             0                3            0           4
    I have fell short of ideas this time around to implement such a thing
    Any help in this direction is deeply appreciated
    Regards
    Srivatsa
    Edited by: Srivatsa HG on Jul 8, 2009 10:56 AM

    Hi,
    It seems that you are having issue with Crystal Report Design.
    Post your question in [Crystal Report Design Forum|SAP Crystal Reports;
    That forum is monitored by qualified technicians and you will get a faster response there. Also, all Design queries remain in one place and thus can be easily searched in one place.
    Regards,
    Shweta

  • Unable to create report. Query produced too many results

    Hi All,
    Does someone knows how to avoid the message "Unable to create report. Query produced too many results" in Grid Report Type in PerformancePoint 2010. When the mdx query returns large amount of data, this message appears. Is there a way to get all
    the large amount in the grid anyway?
    I have set the data Source query time-out under Central Administration - Manager Service applications - PerformancePoint Service Application - PerformancePoint Service Application Settings at 3600 seconds.
    Here Event Viewer log error at the server:
    1. An exception occurred while running a report.  The following details may help you to diagnose the problem:
    Error Message: Unable to create report. Query produced too many results.
            <br>
            <br>
            Contact the administrator for more details.
    Dashboard Name:
    Dashboard Item name:
    Report Location: {3592a959-7c50-0d1d-9185-361d2bd5428b}
    Request Duration: 6,220.93 ms
    User: INTRANET\spsdshadmin
    Parameters:
    Exception Message: Unable to create report. Query produced too many results.
    Inner Exception Message:
    Stack Trace:    at Microsoft.PerformancePoint.Scorecards.Server.PmServer.ExecuteAnalyticReportWithParameters(RepositoryLocation analyticReportViewLocation, BIDataContainer biDataContainer)
       at Microsoft.PerformancePoint.Analytics.ServerRendering.OLAPBase.OlapViewBaseControl.ExtractReportViewData()
       at Microsoft.PerformancePoint.Analytics.ServerRendering.OLAPBase.OlapViewBaseControl.CreateRenderedView(StringBuilder sd)
       at Microsoft.PerformancePoint.Scorecards.ServerRendering.NavigableControl.RenderControl(HtmlTextWriter writer)
    PerformancePoint Services error code 20604.
    2. Unable to create report. Query produced too many results.
    Microsoft.PerformancePoint.Scorecards.BpmException: Unable to create report. Query produced too many results.
       at Microsoft.PerformancePoint.Scorecards.Server.Analytics.AnalyticQueryManager.ExecuteReport(AnalyticReportState reportState, DataSource dataSource)
       at Microsoft.PerformancePoint.Scorecards.Server.PmServer.ExecuteAnalyticReportBase(RepositoryLocation analyticReportViewLocation, BIDataContainer biDataContainer, String formattingDimensionName)
       at Microsoft.PerformancePoint.Scorecards.Server.PmServer.ExecuteAnalyticReportWithParameters(RepositoryLocation analyticReportViewLocation, BIDataContainer biDataContainer)
    PerformancePoint Services error code 20605.
    Thanks in advance for your help.

    Hello,
    I would like you to try the following to adjust your readerquotas.
    Change the values of the parameters listed below to a larger value. We recommend that you double the value and then run the query to check whether the issue is resolved. To do this, follow these steps:
    On the SharePoint 2010 server, open the Web.config file. The file is located in the following folder:
    \Program Files\Microsoft Office Servers\14.0\Web Services\PpsMonitoringServer\
    Locate and change the the below values from 8192 to 16384.
    Open the Client.config file. The file is located in the following folder:
    \Program Files\Microsoft Office Servers\14.0\WebClients\PpsMonitoringServer\
    Locate and change the below values from 8192 to 16384.
    After you have made the changes, restart Internet Information Services (IIS) on the SharePoint 2010 server.
    <readerQuotas
    maxStringContentLength="2147483647"
    maxNameTableCharCount="2147483647"
    maxBytesPerRead="2147483647"
    maxArrayLength="2147483647"
                  maxDepth="2147483647"
    />
    Thanks
    Heidi Tr - MSFT
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Failing to install windows 8.1/7/ any kind of windows on my imac,seeking help foreal

    Hey there. It's going to be a long post since I've messed with it for 4 days, and still no success even in the time I'm currently writing this message - the furthest I got is having tons of crashes and black screens. And now I can't even reclaim my lost harddrive space (resizing partitions doesn't work anymore).
    I'll start with that I already tried to make Bootcamp work about a year ago, but then quit it out of no success and reverted all the changes. But this time my situation is different - I'm pretty sure something messed up in the middle and now I'm seeking help and answers to my questions. And here we go - one bright day I decided to install Windows 8.1 as a secondary boot system on my iMac for personal reasons. I went and added Bootcamp's ability to make a bootable USB on my mac by changing the plist file, and finally had the option to do so. Then got an ISO of Windows 8.1's installation, burned it to a DVD with disk utility (on the lowest speed) and here's already where my problems started. The disk failed to burn for some unknown reason, even though when I compared the contents it had the exactly same thing in both the ISO and the DVD. Weird isn't it? I still tried to boot it - and guess what? the DVD booted but it had the non-EFI interface (huge and pixelated). Anyway when I pressed next I had some weird driver errors, so I decided to use an USB instead (1 DVD wasted so far). I used Bootcamp to create a bootable USB with drivers and went to boot it. The USB booted perfectly fine under the name "EFI Boot" and then I reached the partitions screen.. Obviously I had weird errors again (GPT/MBR stuff). One tutorial on the web suggested creating a partition for the windows rather than using the Bootcamp pre-made one. I followed it by booting my main system, and using disk utility to delete the Bootcamp partition. Later on I booted again to the installation and created a new partition from the partitions screen. Windows created two partitions - a Microsoft reserved partition, and the secondary partition which is used for the windows files. After some time the windows finally booted for the first time. It took pretty long but went smooth - until it finally booted. Since here the problems returned - the Windows crashed every 5 minutes from a driver error (that's AFTER I installed the Apple drivers right after the system finished booting), I googled it and followed various tuts but it still wasn't fixed. I decided to quit using 8 since I liked 7 more anyway (I currently have it installed as a virtual system in Parallels), so I decided to install 7 instead of 8 since I never had any issues with it. Booted up my main system again - went to Bootcamp Assistant, USB creation. ISO file + drivers on the USB. I reboot. Holding ALT and... my mac can't even see the USB drive! Luckily I had 4 more installations (various ISOs) of Win 7, so I decided to try them. I tried ALL the Installations I in none of them my mac could see the USB drive (I wonder how my USB survived all this rewriting on it...) Again to Google we go. I researched a bit and realized that I'm missing a file called xboot64.efi in the "efi/boot" folder, which can be taken from windows. I tried extracting it from install.wim but none of my archiving apps could open it (I tried Unarchiver, Keka, 7zX, terminal's unrar command and more, none could!). I also realized my Win 8 installation had this file so I added it to the Win 7 USB. Now my mac could see the USB in the boot screen - and it booted. I saw the "loading files" screen, and after one minute of it... black screen. I waited 10 minutes. Then 30. An hour. Still a pure black screen. I thought something is wrong with my file, and read that this file is also found in an already installed Win 7, so I went to parallels and took it from here, then added it to my installation. Again my mac could see the USB, but still no luck. When I pressed enter to boot from it, nothing happened as if the boot screen was stuck - the drive was selected but it didn't do anything. I waited long time again and decided to stop waiting. I tried to burn another DVD, this time with Titanium Toast. Again the DVD failed to burn, and when I checked the content, it was the same as the ISO I tried to burn from (official ISO from Microsoft of Windows 7 Ultimate SP1). I went and booted it - this time I saw again "Windows" and "EFI Boot"in the boot screen, both with a disc icon. "EFI Boot" didn't load like the usb previously (loads forever), so I booted the "Windows" thing. The setup loaded, and finally I could see the installation window. Reached the partitions screen... and here the problems returned once again. An error along the lines of that Windows can't be installed on a GPT partition. Some tuts on YouTube and in Google suggested to simply format the problematic partition. And so I did - yet the problem wasn't fixed. After messing with all that for one more day - trying different installations, ways to boot the USB and DVDs, formatting the Windows partition etc, I decided it's time to stop messing with it since luck definitely isn't in my side when it comes to Bootcamp (and for the record, I never had any issues with OSX, but when I tried adding windows to it.. eh, you can guess.) I booted back to my normal system, and went to disk utility to delete the partitions. The Windows partition was deleted easily, but the Microsoft reserved one.. not so quite. (by the way when I boot into it I get a Win 8.1 error screen that tells me to repair the system, since I formatted the Win partition itself). Until this very moment I still can't delete the reserved partition and return my beloved 30gb that I lost because of the resizing (I can't resize my Mac HD partition).
    I'm really desperate now. I tried everything and the furthest I got is getting a broken Windows 8.1 (which I deleted later), destroying 5 DVDs, shortening the lifespan of my USB drive, and googling errors the whole day for 4 days in a row. And now I can't even return my lost 30gb even after I decided to quit it. Please help or suggest me what to do, whether it's about how to successfully install Win 7 or to return my lost gigabytes, any kind of help is appreciated. If you managed to read so far, thank you for reading my post and I hope you'll be able to assist me and get me out of this situation.

    Read the Boot Camp Help first. Boot Camp does not yet support Windows 8.1 http://windows.microsoft.com/en-US/windows-8/system-requirements. If you insist on installing 8.1 use a virtual machine like parallels, Fusion, or VirtualBox.
    http://www.apple.com/support/bootcamp/

Maybe you are looking for

  • Formatting HD from install DVD

    Is there a way to format a HD from the install disc? I've found an old WD (13GB) HD I would like to use in my B/W G3 rev 1 Power Mac. I'd planned to remove the old 6GB drive and put the 13GB in and then install 10.3 or .4 but I need to format it as i

  • How to get a HD movie on to a DVD to use on a TV and keep the integrity of the video

    I made a high quality movie in aperture which I exported to the desktop as a Quicktime movie.   Then I created a One Step DVD from the movie.  The movie is 12 gb and the disk and it plays well on a HD TV through an HDMI cable.  I have been trying to

  • OKP6 setting.

    Hi Experts, In our business scenerio we are generating some PM work orders.We have maintain info record to pick up price in field price (field name PREIS  in operation --->external tab. ) .In some of the cases user have manually created purchase orde

  • Sun StorEdge L8 Tape Library (UREGENT!!)

    hi all help needed.. i am new in this.. i ahve to do backup in the Sun StorEdge L8 every weekend.. as usual i will unload the Tape 1 and load the Tape 2 for this weekend backup.. Recently the tape shows '!' at the Tape 2.. when i try to unload the Ta

  • IMovie/iDVD vs Adobe Premiere Elements Comparison Question

    Has anyone used Adobe Premiere Elements and iMovie/iDVD to be able to make an objective comparison? It appears APE has the same feature content as iMovie/iDVD. How well does APE run on your typical Core 2 Duo Windows laptop (1.6mhz)? Just curious. 14