Sql report not accounting all the tickets

Hello all,I currently am trying to put together a sql report to use since the manual reports don't include all the information I need. I am currently using the following code."select t.c_type_of_service "Type of Service", t.category, (select (COALESCE(SUM(tw.time_spent), 0)/60)) as "Time Spent (minutes)", '$'||(select round(sum(tw.labor),2)) as "Labor Costs", Count(DISTINCT tw.id) as "Ticket Count"FROM ticket_work tw INNER JOIN tickets t ON t.id = tw.ticket_id where datetime(t.closed_at)>=datetime('now', '-30 days')and t.category != 'projects'group by t.category, t.c_type_of_service"The issue is that when I run the report it is roughly missing about half my tickets for this month. I am very new to using sql so any help would be appreciated.
This topic first appeared in the Spiceworks Community

You must have larger margin. Try to make smaller header and/or footer.

Similar Messages

  • Crystal report not showing all the table in SAP CRM

    Hi
    I am connecting crystal report 2008  using open sql connectivity (SAP table, cluster or Function ) with SAP CRM system. It is showing some of custom tables under "DD" but not all.
    Wanted to understand what setting make a new custom table (transparent) to show under DD in SAP table, cluster or function connection
    Help is greatly appreciated
    Thanks
    Padmanabh

    Hi Rao,
    Try to edit the following registry and check
    HKEY_CURRENT_USER\Software\Business Objects\Suite 12.0\Crystal Reports\FetchOptions\NTablesMax
    Give the value as 20000
    Thanks,
    Sastry

  • Report not printing all the characters -main section width greater than 11"

    Hi,
    I am trying to build/modify a Report (used in Oracle Apps) which will be printed on some perforated paper. The perforated paper is little bit wider (11.25 inches) than the regular A4 size paper.
    The problem is when I print the report in Oracle Apps, the report isn’t printing all the characters at end of the page. I adjusted the page width to 11.25" in the main section's property palette, but the same thing is happening. Another point to mention is, I should use all of paper space.
    I am not sure if it’s a report builder issue or oracle apps issue.
    Any help is appreciated.
    Thanks
    Srikanth

    You must have larger margin. Try to make smaller header and/or footer.

  • Report not displaying all the rows

    Hi Experts,
    We are having a report which when ran for a year as a filter criteria gives me 6725 rows and i also observe that there are more rows which are not getting displayed. Is there any restriction with the no of rows getting displayed. I am also able to find the specific information of a particular vendor when i explicitly filter it. Which would otherwise not get displayed in the normal report execution for the entire year. Thanks
    Warm Regards,
    Akilesh

    Hello Akilesh,
             This is the issue with your Bex Analyzer...! please update ur Bex with all the latest patches. I am sure this report sould be running on other mechines...
    I will try to find the concern patch in t he mean while..!
                   EnjoySAP

  • AP PAYABLES- Not getting all the DUE DATE's in with split schedule payments

    Hello All,
    We have some issues with AP Data loading's into our DW from EBS 11.5.10 AP - PAYABLES.
    One of our customer is using split schedule and share payment into few payment. Our
    sql is not reading all the due dates for PAYABLES.
    We are using PAYMENT_NUM=1 from ap_payment_schedules_all table as condition to load the Data to avoid duplicate rows coming for Payables.
    Some hints: removing the "PAYMENT_NUM=1" from the where clause gives all the due_dates but then we have duplicate rows for Payables.
    Please help to modify our query so that it will work for split schedule payment.
    select
    inv.invoice_num,
    inv.doc_sequence_value,
    sob.currency_code,
    inv.invoice_date,
    'EH'||inv.vendor_id vendor_id,
    'EH'||inv.vendor_site_id vendor_site_id,
    ael.ae_line_number distribution_line_number,
    inv.invoice_currency_code,
    aeh.accounting_date,
    'EH'||ael.code_combination_id code_combination_id,
    nvl(ael.entered_dr,0)-nvl(ael.entered_cr,0) accounted,
    nvl(ael.accounted_dr,0)-nvl(ael.accounted_cr,0) amount,
    fuser.user_name,
    fuser2.user_name user_name2,
    inv.payment_status_flag,
    'PAYABLES' rowtype,
    inv.discount_amount_taken,
    inv.invoice_type_lookup_code invoice_type,
    inv.exchange_rate,
    inv.exchange_date,
    tax.name,
    inv.source,
    inv.attribute6 eflow_doc_id,
    sysdate transfer_date,
    sch.hold_flag,
    inv.cancelled_date,
    sch.due_date
    from
    ap.ap_invoices_all inv,
    apps.ap_ae_headers_all aeh,
    apps.ap_ae_lines_all ael,
    ap.ap_tax_codes_all tax,
    ap.ap_payment_schedules_all sch,
    gl.gl_sets_of_books sob,
    applsys.fnd_user fuser,
    applsys.fnd_user fuser2
    where
    aeh.ae_header_id=ael.ae_header_id and
    inv.set_of_books_id=sob.set_of_books_id and
    inv.invoice_id=sch.invoice_id and
    sch.payment_num*1=1 and ---------------------------------------------- *
    fuser.user_id=inv.last_updated_by and
    fuser2.user_id=inv.created_by and
    ael.tax_code_id=tax.tax_id(+) and
    ael.ae_line_type_code='LIABILITY' and
    inv.invoice_id=ael.source_id and
    ael.source_table='AP_INVOICES' and
    aeh.gl_transfer_flag='Y'
    Thanks,
    Aman

    Hello All,
    We have some issues with AP Data loading's into our DW from EBS 11.5.10 AP - PAYABLES.
    One of our customer is using split schedule and share payment into few payment. Our
    sql is not reading all the due dates for PAYABLES.
    We are using PAYMENT_NUM=1 from ap_payment_schedules_all table as condition to load the Data to avoid duplicate rows coming for Payables.
    Some hints: removing the "PAYMENT_NUM=1" from the where clause gives all the due_dates but then we have duplicate rows for Payables.
    Please help to modify our query so that it will work for split schedule payment.
    select
    inv.invoice_num,
    inv.doc_sequence_value,
    sob.currency_code,
    inv.invoice_date,
    'EH'||inv.vendor_id vendor_id,
    'EH'||inv.vendor_site_id vendor_site_id,
    ael.ae_line_number distribution_line_number,
    inv.invoice_currency_code,
    aeh.accounting_date,
    'EH'||ael.code_combination_id code_combination_id,
    nvl(ael.entered_dr,0)-nvl(ael.entered_cr,0) accounted,
    nvl(ael.accounted_dr,0)-nvl(ael.accounted_cr,0) amount,
    fuser.user_name,
    fuser2.user_name user_name2,
    inv.payment_status_flag,
    'PAYABLES' rowtype,
    inv.discount_amount_taken,
    inv.invoice_type_lookup_code invoice_type,
    inv.exchange_rate,
    inv.exchange_date,
    tax.name,
    inv.source,
    inv.attribute6 eflow_doc_id,
    sysdate transfer_date,
    sch.hold_flag,
    inv.cancelled_date,
    sch.due_date
    from
    ap.ap_invoices_all inv,
    apps.ap_ae_headers_all aeh,
    apps.ap_ae_lines_all ael,
    ap.ap_tax_codes_all tax,
    ap.ap_payment_schedules_all sch,
    gl.gl_sets_of_books sob,
    applsys.fnd_user fuser,
    applsys.fnd_user fuser2
    where
    aeh.ae_header_id=ael.ae_header_id and
    inv.set_of_books_id=sob.set_of_books_id and
    inv.invoice_id=sch.invoice_id and
    sch.payment_num*1=1 and ---------------------------------------------- *
    fuser.user_id=inv.last_updated_by and
    fuser2.user_id=inv.created_by and
    ael.tax_code_id=tax.tax_id(+) and
    ael.ae_line_type_code='LIABILITY' and
    inv.invoice_id=ael.source_id and
    ael.source_table='AP_INVOICES' and
    aeh.gl_transfer_flag='Y'
    Thanks,
    Aman

  • BI publisher report is not showing all the data

    Hi All,
    I have created a report using BI Publisher in R12. The report is not showing all the records.
    I have checked the result XML it is also not having all the data. My query returns 846 rows but my report only has 662 rows.
    what might be the issue.please give me some idea to resolve this issue.
    Thanks in advance.
    Regards,
    P.Kalidoss

    Hi Arun,
    In the following code: public SelectItem[] getAllPrinters() {
    if (allPrinters == null) {           // allPrinters is not defined. what type of object it is
    PrintService[] printers = PrintServiceLookup.lookupPrintServices(null, null);
    allPrinters = new SelectItem[printers.length];
    for (int i = 0; i < printers.length; i++) {
    SelectItem printer =
    new SelectItem(printers.getName(), printers[i].getName());
    allPrinters[i] = printer;
    return allPrinters;;;
    Variable allPrinters is not defined. what type of object it is?
    And also the same variable is referenced here <af:selectOneChoice label="Available Printers" partialTriggers="cb1"
    value="#{pageFlowScope.applicationPrinterBean.selectedPrinter}"
    id="soc1"
    autoSubmit="true">
    <f:selectItems value="#{pageFlowScope.applicationPrinterBean.allPrinters}" id="si1"/>
    </af:selectOneChoice>.
    Thanks.

  • Report Not working in the Web Browser

    Hi ALL ,
    Am working on a item SKU report . The report is running fine in the BIDS but once i try to view the report in the WEB Browser
    tried both Mozilla and Internet Explorer no data is shows up .
    The report has 2 report filter one is on the service and the other one is the item sku its a multi - parameter  that contains
    a list of more than 6000 different SKU . Can the filter be the reason for the report not displaying in the web browser.
    If yes kindly advice me what the workaround for it .
    I tried having the filter in the  SQL main query but it was of no use no data it was showing after having the ssrs report filter
    at least right information its showing but in the BIDS not in the main web browser.
    Kindly Help
    Priya

    Hi Priya,
    According to the description, I understand that there are parameters (@SKU and @SKUlist) in the report, and SKUlist parameter is multi-value parameter. When selecting values of the SKU parameter, the parameter SKUlist will display corresponding values. In this
    case, you should create cascading parameters, right? And you use parameters to filter the report.
    Because the data of the report can be shown in the Business Intelligence Development Studio (BIDS) environment, the issue only occurs after deploying the report to report server. Based on my research, I think it may occur because of web browser issue. I have
    known you use Mozilla and Internet Explorer to view the report but there is still no data.
    In Reporting Services, not all report functionality is supported by all browsers. In this scenario, I suggest you considering the aspects of the setting or third party add-ons of Internet Explorer (IE). You can refer to the steps below:
    1. Click Tools -> Internet options.
    2. Switch to the Security tab, click Local intranet, and then select Default level.
    3. Switch to the Advanced tab, and click Restore advanced settings.
    4. Temporarily disable third party add-ons. For detailed steps, please see the link:
    http://windows.microsoft.com/en-IN/internet-explorer/manage-add-ons#ie=ie-10
    Reference:http://technet.microsoft.com/en-us/library/ms156511(v=sql.105).aspx
    Regards,
    Heidi Duan
    Heidi Duan
    TechNet Community Support

  • Aging Report not displaying all BP's

    Experts,
    I have a client who recently upgraded to 8.8 PL 10. They found that when running the Customer Aging report they did not see all the customers in the list. Even customers with a balance.
    I have looked into this and found some confusing results... I make sure that there is no selection on the Customer Codes or groups and that there is only one accounts receivable in the Control account selection (They only have one). With this selection I sometimes got all the customers and sometimes not. I could not determine a common factor.
    Is this an issue with 8.8 PL 10?
    Any help wold be appreciated.
    Marli

    Gordon,
    Yes, I tried with the Display customers with zero balance selected. Then I could see all the customers.
    But the specific customer that did not show up when this was not selected have a balance.
    Thanks,
    Marli

  • I just downloaded an album off of itunes and now it will not play all the way through. how do i fix the unfinished songs

    i downloaded tragic kingdom by no doubt and about four of tthe songs will play about forty seconds in and switch to the next song, they do not play all the way through. i went through troubleshooting online but it was unhelpful and did not fix my problem. i need help, please!

    If your country's iTunes Store allows you to redownload purchased tracks, I'd delete your current copies of the dodgy tracks and try redownloading fresh copies. For instructions, see the following document:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Otherwise, I'd report the problem to the iTunes Store.
    Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
    Find the items that are not playing properly. If you can't see "Report a Problem" next to the items, click the "Report a problem" button. Now click the "Report a Problem" links next to the items.

  • Apple mail not showing all the messages?

    In Apple mail, for my icloud account, I have some mailboxes which show the wrong number of messages, it shows too few.
    As an example, a mailbox contains 150 messages, but apple mail reports there are only 146.
    I rebuilt the mailbox and let apple mail do its thing. In the activity window I can see there are 150 messages. Yet, once apple mail has finished rebuilding the mailbox, it still tells me there are 146 messages. What's going wrong? Why would apple mail not show all the messages while in the activity window it clearly shows it knows there are 150?

    Solved!
    This was too weird to be real. Apple mail does not show messages it believes to be duplicates, and buy, does it make big mistakes in deciding what are duplicate messages and what not! Some of my mailboxes had over 100 "duplicates" not showing according to apple mail.
    I found a solution thanks to this topic:
    https://discussions.apple.com/message/18265121#18265121
    defaults delete com.apple.mail AlwaysShowDuplicates
    does yield an error in 10.8.2 ( Domain (com.apple.mail) not found. Defaults have not been changed. )
    defaults write com.apple.mail AlwaysShowDuplicates -bool true
    Does work brilliantly though!

  • Just downloaded book but did not get all the way down now cant play it  any answers

    just downloaded book but did not get all the way down now cant play it  any answers

    in iTunes, access your purchase history via your account in the iTunes store, find the file in question, and click on the report a problem button. report the problem. more info in this support article. 
    clicking here  should take you directly to your iTunes store log-in window.

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

  • TS1424 2 songs were cut off and not downloaded all the way, what can i do

    2 songs were cut off and not downloaded all the way, what can i do

    If your country's iTunes Store allows you to redownload purchased tracks, I'd delete your current copies of the dodgy tracks and try redownloading fresh copies. For instructions, see the following document:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Otherwise, I'd report the problem to the iTunes Store.
    Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
    Find the items that are not playing properly. If you can't see "Report a Problem" next to the items, click the "Report a problem" button. Now click the "Report a Problem" links next to the items.

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

  • Filter table not screening all the name of customers

    Hello,
    Filter tabel not screening all the name of the customers.During filter of the Open Sales Order report.
    Please reply me ASAP
    Thanks & Regard's
    Amit Tyagi

    Hello Amit,
    I think this is the same scenario described in Note 1120578. It's an application error fixed in PL 38 (2005B) and PL43 (2005A, SP01).
    Regards,
    Lorna

Maybe you are looking for

  • How to limit the number of items that a list control can hold?

    Hi, I am using a Flex3 List control for one of my projects. I add drag & drop functionality to it, so that i can drag & drop elements from one control to another. How to limit the number of items that a list control can hold / can be dropped in a lis

  • IPhone 3G no longer appears in My Computer...can't get to my pictures!

    I've been searching everywhere for a solution to this problem. No one seems to be sure what to do. I've poured over the Apple Forums, Microsoft Fix It, etc. No good. Hopefully someone else has figured this out and can help me. My iPhone 3G no longer

  • Re: forte-users-digest V1 #89

    forte-users-digest Tuesday, 8 October 1996 Volume 01 : Number 089 From: Alexander Ananiev <[email protected]> Date: Tue, 08 Oct 1996 16:36:14 -0500 Subject: "Single DBSession" approach The standard Forte approach for the database access assumes that o

  • OBIEE access denied for some users only

    Hi All, we are using OBIEE 10.1.3.4 version on windows envorinment .The users can access the OBIEE reports using 'PORTALPATH' session varible in RPD.For some of the users are got "access denied" while they are accessing for thir particular dashboard.

  • Program guidelines

    Are there any documented guidelines or books like 1) how many lines a single java file shud be ? 2) what to declare first in variables ? 3) where in the code shall INNER class definitions comes ? 4) does all the code for a component be placed at one