Report to show all calls raised and closed by month

Hi all,
could someone please help me? I have made a report to show the number of support calls raised in any given month as shown here...
select count(distinct id) as "Number of calls", to_char(date_raised,'Mon')as "Month Raised", to_char(date_raised,'MM') date_raised1
from requests
where date_raised >='01-JAN-2007'
group by to_char(date_raised,'MM' ),to_char(date_raised,'Mon' )
what I am struggling with is a similar one to show the number of calls raised (requests.date_raised) and closed (requests.date_closed) within each given month. Is it even possible to do this in a single query?
Thanks for any help you can give me.
Jay

Hi James
How is life in Bristol?
This is SQL, not APEX so you might have more luck in another forum but the following might be what you're after...
select 'Requests' action, count(*) count, trunc(date_raised, 'MON') mmm
from requests rm
group by trunc(date_raised, 'MON')
union all
select 'Closures' action, count(*), trunc(date_closed, 'MON')
from requests rm
where date_closed is not null
group by trunc(date_closed, 'MON')
Phil

Similar Messages

  • Report to show all activities (ended and not ended)

    Hi,
    I would like to do a report to show all activities (not ended and ended), but when I do the report from "Activity" the only information shown is no ended activities.
    Is possible to show all activities? How can I do it?
    Thank you and regards.

    Monica - depending on the Subject Area, including certain "look-up" or reference fields to other tables automatically implies a join-relationship between the 2 tables.
    Case-in-point, the activities subject area. Whenever you include fields from other objects like (Account Name, Campaign Name, Contact job title, etc.) "Answers" will automatically assume that you only want those activities where those field-values are populating, consequently filtering the report. It seems to occur any time you're trying to include data across tables in a one to one relationship.
    A better example, and likely a common headache for CRM report builders is an Opportunity report, wherein you're including data from the Primary Contact associated to the opportunity. By the same limitations, you would wind up with only those opportunities that have a Primary Contact associated, versus all opportunities with contact-data if it's populated.
    It is my understanding that the only workaround is to use Combined Analyses to create an union of the 2 reports, one with all opportunities and another with primary contacts. Use a pivot table and max-aggregation rule on the contact name to remove dupes.

  • Summary report to show all the software components and version installed

    We are using 64bit Windows 2003 and Hyperion Planning and Essbase in 2 separate servers. I am not sure whether Windows can have a summary report to show all the software components and version installed and show it is 32bit or 64bit version installed?
    Thanks!

    Refer steps here to delete SC file.:
    http://support.apple.com/kb/TS2363
    Then proceed to repair your QuickTime. START / CONTROL PANEL / ADD n REMOVE PROGRAMS / highlight QUICKTIME and click CHANGE then REPAIR.

  • Vendor report that shows all vendors missing tax id information

    I would like to create a report that shows all vendors that are missing the tax id information.  Please direct me on where to go.
    thx
    Trace

    Dear,
    Enter T-code MASS.
    Select Object Type LFA1 and click on execute button.
    Than click on Fields tab, Find your required field and click on execute button.
    Than enter vendor list for which you want to find out the list.
    And click on execute button.
    Regards,
    Mahesh Wagh.

  • Report to Show All Machines with ANY Deployment Failures

    I need to generate a report, daily, that displays all machines that have
    any kind of an deployment failure. This list will then be used to generate tickets for consultants in that area to check on them.
    I know I can look at specific deployments and see which machines show up as failed, but I am not seeing a report that shows all machines that have
    any kind of a failed deployment. Does one exist, or will I need to create it?

    you can try this report to list all failed deployments(only for applications but not packages).
     select
    all
    SMS_AppDeploymentAssetDetails.AppName as 'App Name',
    CASE WHEN SMS_AppDeploymentAssetDetails.AppStatusType = '1' Then 'Success'
    when SMS_AppDeploymentAssetDetails.AppStatusType = '2' Then 'In Progress'
    when SMS_AppDeploymentAssetDetails.AppStatusType = '3' Then 'Requirements Not Met'
    when SMS_AppDeploymentAssetDetails.AppStatusType = '4' Then 'Unknown'
    when SMS_AppDeploymentAssetDetails.AppStatusType = '5' Then 'Error'
    else 'Unknown'
    End as 'App Status Type',
    CASE WHEN SMS_AppDeploymentAssetDetails.ComplianceState = '1' Then 'Compliant'
    WHEN SMS_AppDeploymentAssetDetails.ComplianceState = '2' Then 'Non-Compliant'
    WHEN SMS_AppDeploymentAssetDetails.ComplianceState = '4' Then 'Error'
    WHEN SMS_AppDeploymentAssetDetails.ComplianceState = '6' Then 'Partial Compliance'
    else 'Unknown'
    End as 'Compliance State',
    CASE WHEN SMS_AppDeploymentAssetDetails.DeploymentIntent  = '1' Then 'Install'
    WHEN SMS_AppDeploymentAssetDetails.DeploymentIntent  = '2' Then 'Uninstall'
    WHEN SMS_AppDeploymentAssetDetails.DeploymentIntent  = '3' Then 'Preflight'
    else 'Unknown'
    End as 'Deployment Intent',
    SMS_AppDeploymentAssetDetails.DTName as 'Deplyoment Type Name',
    CASE WHEN SMS_AppDeploymentAssetDetails.InstalledState  = '1' Then 'Uninstall'
    WHEN SMS_AppDeploymentAssetDetails.InstalledState  = '2' Then 'Install'
    WHEN SMS_AppDeploymentAssetDetails.InstalledState  = '3' Then 'Unknown'
    else 'Unknown'
    End as 'Installed State',
    CASE WHEN SMS_AppDeploymentAssetDetails.IsMachineAssignedToUser = '1' Then 'Yes'
    Else 'No'
    End as 'Device Assigned to User?',
    SMS_AppDeploymentAssetDetails.MachineName as 'Device Name',
    CASE WHEN CHARINDEX('\',SMS_AppDeploymentAssetDetails.UserName)>0 THEN SUBSTRING
    (SMS_AppDeploymentAssetDetails.UserName,CHARINDEX('\',SMS_AppDeploymentAssetDetails.UserName)+1,255)
    ELSE SMS_AppDeploymentAssetDetails.UserName END 'User Name'
    from fn_AppDeploymentAssetDetails(1033) AS SMS_AppDeploymentAssetDetails
    where SMS_AppDeploymentAssetDetails.AppStatusType = '5'
    ORDER BY 1
    Original query posted on http://systemcenteradmin.com/?p=67
    Eswar Koneti | Configmgr blog:
    www.eskonr.com | Linkedin: Eswar Koneti
    | Twitter: Eskonr

  • Report to show all superiors of an employee

    Dear Group members,
    My client wants a report to show all the hierarchial superiors of an employee. For eg- his  superior,his next superior and so on to to the chief officer. Is there any report for this scenario

    Hi kaustubh,
    Try report RHSTRU00 with evaluation path O-S-P.
    Regards,
    Dilek

  • Screen or Report that shows all Responsibilities for Org Unit

    How can we find out in Oracle application from the front end,,,, the screens... or may be report that shows all responsibilities for ORG Unit ‘Vision Operation’ (204).
    SELECT FR.RESPONSIBILITY_NAME, FPOV.PROFILE_OPTION_VALUE ORGID, NAME ORG_NAME
    FROM FND_PROFILE_OPTIONS FPO,
    FND_PROFILE_OPTION_VALUES FPOV,
    FND_RESPONSIBILITY_TL FR,
    HR_ALL_ORGANIZATION_UNITS HOU
    --HR_OPERATING_UNITS HOU
    WHERE --UPPER (FPO.PROFILE_OPTION_NAME) LIKE UPPER ('MO%OPERATIN%')
    PROFILE_OPTION_NAME = 'ORG_ID'
    AND FPO.PROFILE_OPTION_ID = FPOV.PROFILE_OPTION_ID
    AND FPOV.LEVEL_VALUE = FR.RESPONSIBILITY_ID
    AND HOU.ORGANIZATION_ID = FPOV.PROFILE_OPTION_VALUE
    the above query displays the data from the backend,,I want to see how to see that data from the front end,, does anyone know the navigation, thank you so much in advance.

    Hello Kashif,
    Thank you for the reply. So, there is no screen that shows all the responsibilities that are assigned to a operating unit.
    The link that you provided really did not give any information that i was looking for.
    And as you said .. "there is no specific screen to show all except responsibilities form".... what does the responsibilities form show,
    I have also tried to look in the System Administrator -> Profile -> System
    and in the Responsibility, I query for Payables manager, and look which Orgs are assigned to it, I am not able to find it. I know I am wrong, but can you please help me how to see which responsiblity is assigned to which Operating Unit.
    Thank you

  • Crystal Reports Cross-Tab Report not showing all available fields

    I am running CR2008 against MS SQL Express.  I have several tables with fields and data in them and can create standard reports to show all the data in all the fields.  However, when I try to create a cross-tab report, only some of the fields appear for me to choose from.
    I created a standard report with all the fields I needed in my cross-tab report and ran a preview.  Everything was there.  I then added a cross-tab object, selected the tables only to find that fields that are in the main report are not showing up for selection in the cross-tab.

    UPDATE:  I exported the entire database from MS SQLExpress to MS Access and I am having the same issues, so it does not appear to be a problem with the database engine and, since the standard tabular reports show the fields, I am at a loss as to why they don't show up in the cross-tab or the Parameter fields.
    I am creating the cross-tab through the Cross-Tab wizard.  Is there maybe a bug in that?  Is there a way to create it otherwise?

  • Report to show all purchase orders for which invoice tolerence is greater than 3%?

    Hi Experts,
    Recently our company cofigured 3% tolerence limit for invoice.Now, I have got a requirement to create a report to show all the PO's for which the
    invoice tolerence limt is eq 3 %.Kindly anyone advise ,is there any table that stores the inovoice tolerence limit based on PO? How to achieve this requirement.
    Thanks in advance
    Thanks & Regards,
    Anusha.B

    Hi,
    I was wondering don't you have in your company MM consultant who suppose to give you the required tables name .
    Regards.

  • I had on my desk top pc (a vista os) a version of FireFox that the book marks where listed in the book tool bar tab and the "book tool" was able to show all my favs and there was a scrol bar on the right side of the top right side. I would like very much

    I had on my desk top PC (a vista OS) a version of FireFox that the book marks where listed in the book tool bar tab and the "book tool" was able to show all my favs and there was a scroll bar on the right side of the top right side. I would like very much to turn it on in the Laptop I just bought and am having a fit trying to figure out all the differences,.I very much like this function; however, I am now using win 7 which in and of itself is difficult to figure out troubles when they occur such as if the MSN Bing program opens a video window while I am playing, the media center will lock up, or if I am listening to BBradio.org and click on lestening to one of the pastors the laptop will show static on the screen and all you hear is static like you just went to the twilight zone.
    == This happened ==
    Not sure how often
    == unpredictable

    To attempt a new chat session...
    For the link below click the Still Need Help? option in the blue area at the bottom and choose the chat option...
    http://helpx.adobe.com/x-productkb/global/service1.html

  • I transfer all my games from my iphone to my pad, but the game progress is lost.... i signed on to game centre it shows all my scores and progress but when i try to play with the games, all my progress and scores disappears... can anyone help???

    I transfered all my games from my iphone4s to my ipad, but the game progress is lost.... I signed on to game centre it shows all my scores and progress but when i try to play with the games, all my progress and scores disappears... can anyone help???

    Hi bubbles213,
    The best way to move information from one iOS device to another is to back up the device using iCloud or iTunes (or both), and then restoring the new device from it.  This article will walk you through the steps:
    Transfer content from an iPhone, iPad, or iPod touch to a new device
    http://support.apple.com/kb/HT2109
    Cheers,
    - Judy

  • Report to view all the Roles and Transactions assinged to a particular user

    Hi,
    I need to develop a report to view all the Roles and Transactions assinged to a particular user along with the Authorization values. So, if provide the Username, the report should be able to give Roles, Transaction Codes and the fields and thier authorization values for that TCodes..
    Regards,
    Sreenivas Raju

    Try this FM once - SUSR_USERS_LIST_ALV . It provides a list with Roles, Profiles, and also a detail button to check the authorization values etc.
    Also try this FM - SUSR_USER_DISPLAY_WITH_AUTHS, SUSR_USER_AUTH_FOR_OBJ_GET , SUSR_USER_DISPLAY_WITH_S_TCODE

  • Feature "Show All Calls on Primary Line"

    Hi Community,
    we're facing some curiosity with the feature - show all calls on primary line.
    Just for troubleshooting I recreate an issue - I tested with an CallManager in Version
    8.5.1.14900-5. In this Version there was the feature under phones - SIP8961 - Product Specific Configuration Layout available.
    Customer is using 8.6.2a -> there is the feature not available.
    Can everybody tell me why ? I need this feature.
    Thanks for help,
    Stefan

    Hi Stefan,
    Installing the latest device pack for 8.6.2 version should fix it. This is related to the following defect
    http://tools.cisco.com/Support/BugToolKit/search/getBugDetails.do?method=fetchBugDetails&bugId=CSCtt96205
    Although the defect status says release pending but the latest device pack should fix this.
    HTH
    Manish

  • Generate report to show all users and groups in Shared Services in EPM 11x

    Hi,
    Is there any way to generate a report (like a migration report or job status report) which can be generated through workspace/shared services 11.1.1.3 so that my admin can look at all the users and groups created. Something that I can view and probably print out? Any suggestions?
    ~Adeeba

    Yes, I knew this one. This basically shows me the users and groups assigned specific provision access. Is there any way to view a report that shows which users and groups have access to dimensions of an individual planning application?
    ~Adeeba

  • Report to show all purchase invoices in B1

    Is it possible via a standard report in B1 to pull a list of all purchase invoices in the system (open and closed)??
    Purchase analysis will only show open invoices as far as i know.

    Hello Casserly David ,
    Please try the following query:
    SELECT SUM(T0.DocTotal), T0.DocDate, T0.DocNum,
    T0.DocStatus FROM OPCH T0 GROUP BY T0.DocDate,
    T0.DocNum, T0.DocStatus
    If you want to generate total value of all purchase
    invoices automatically, please hold Ctrl button
    on keyboard and Click on the header of Document total
    column. The total value will appear on the
    bottom of report.
    Regards,
    Wilma Wang
    SAP Business One Forums Team

Maybe you are looking for