Crystal XI - SubTotal incorrect due to duplicate entries in report

First note that I am not a programmer.  Is someone I can ask a question also using Frontrange Heat applications?  I am trying to select all tickets closed by certain individuals.  I've tried some stuff from forums, but i'm batting my head on this one as well.  Anyone out there that can help.
Example of what my spreadhseet looks like:
Group #1 Name:  CallLog.Closed by
Closed by:    John Smith        Sub-Total Tickets:  4
     00123456     closed         2012-01-03
     00123456     closed         2012-01-03
     00234567     closed         2012-01-02
     01255555     closed         2012-02-03
I want the total to come up with 3 instead of 4. 
Closed by:    Jane Smith       Sub-Total Tickets:  4
     00345345     closed        2012-01-16
     00256767     closed        2012-01-24
     00256767     closed        2012-01-24
     00256767     closed        2012-01-24
I want the total to come up with 2 instead of 4.
Total:    Should come up as 5 and not 8.

Hi,
Here's what you need to do:
Solution 1
1) Create a Running Total. In the Field to Summarize area insert the 'Number_Field'. The Type of Summary should be 'Distinct Count'. Evaluate for Each record and Reset to 'On Change of Group' and insert the Group Name field in here.
2) Place this Running Total in the Group Footer
3) Create a formula @add_RT and place this on the Group Footer
whileprintingrecords;
numbervar fin_tot := fin_tot + {#RTotal0};
4) Create this formula @disp_tot and place it on the Report Footer:
WhilePrintingRecords;
numbervar fin_tot;
Solution 2
1) Create this formula @array_accum and place it on the details section:
WhilePrintingRecords;
numbervar array arr;
numbervar j;
if not({Sheet1_.Number} in arr) then
    j := j + 1;
    redim preserve arr[j];
    arr[j] := {Sheet1_.Number};
2) Create this formula @reset and place it on the Group Header:
WhilePrintingRecords;
numbervar j :=0;
numbervar array arr := 0;
3) Create this formula @disp_group_total and place it on the Group Footer:
WhilePrintingRecords;
numbervar array arr;
numbervar fin_count;
fin_count := fin_count + ubound(arr);
ubound(arr);
4) Create this formula @disp_grand_total and place it on the Report Footer:
WhilePrintingRecords;
numbervar fin_count;
Please let me know how this goes!
-Abhilash

Similar Messages

  • Incorrect Dates and Duplicate Entries in Calendar

    Hello,
    I have had some duplication and incorrect date problems with calendar entries on my iPhone, but not iCal on the Mac that I synch it with. Maybe someone has a clue which troubleshooting path I can follow.
    Duplicate entries:
    I originally had "all calendars" synching and only a few of these calendars were duplicationg all of their entires. Upon further inspection in the iTunes synch menus, I found that I had a duplicate of each calendar; one with [email protected] and [email protected] I marked only the [email protected] calendars and that has taken care of the duplicates that I can see so far.
    Incorrect dates:
    I have a few repeating entries in one calendar that was duplicating above, but they are listed with incorrect dates on the iPhone only. These entries are marked all day events, but the pattern is for all the entries to be one day early vs. what is indicated on iCal. Forcing a reload of iCal data from my Mac doesn't change anything.
    There are a few things that I could do in my troubleshooting, but are labor intensive. I just thought that I would see if my issue ring a bell with anyone and/or there is a bug that has already been identified.
    “Technological change is like an axe in the hands of a pathological criminal.” (Albert Einstein, 1941),
    Dr. Z.

    Ok you can try one thing first, less invasive to see if it clears one set of contacts.
    Open your contacts
    Swipe down from the top edge > Settings.
    Scroll down and turn off each of the various contact accounts.
    tap BACK at lower left and now view your contacts.
    All that should be left are the "local" contacts. Do you see any, and are they the contacts duplicated?
    If so, then close all that and return to your main homescreen.
    To clear the local calendar or contact database on the BlackBerry 10 smartphone, complete the following steps:
    Swipe down from the top bezel on the home screen, and select Settings.
    Select Accounts.
    Tap the action menu button (3 vertical dots) on the bottom-right. 
    Select Clear Local Contacts or Clear Local Calendar.
    Now, view your contacts app again. Make sure the ALL TAB is displayed at lower left.
    Scroll through and check for duplicates.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Duplicate entries in reporting

    Hello gentlemen,
    SELECT
    CompName.Name0 as 'Computer Name',
    BIOS.SerialNumber0 as 'SN',
    CompSys.Manufacturer0 as 'Manufacturer',
    CompSys.model0 as 'Model',
    OU.System_OU_Name0 as 'OU'
    FROM V_R_System as Sys
    inner JOIN v_GS_PC_BIOS as BIOS on Sys.resourceid = BIOS.resourceid
    inner JOIN v_RA_System_SystemOUName OU on Sys.resourceid = OU.resourceid
    inner JOIN v_GS_COMPUTER_SYSTEM as CompSys on Sys.resourceid = CompSys.resourceid
    inner JOIN v_GS_SYSTEM as CompName on Sys.resourceid = CompName.resourceid
    GROUP BY CompName.Name0, SerialNumber0, CompSys.Manufacturer0, CompSys.model0, OU.System_OU_Name0
    ORDER BY OU.System_OU_Name0
    I have my query here combined from other queries found on the web.
    My requirement is just to have machine hostname, serial, maker & model, alongside with where the machine was placed in OU.
    But I found that the results returned will have duplicate machine hostname under different OU:
    WIN7455N DXX7R1 Dell Inc. Latitude E6420 DOMAIN.COMPANY.NET/COUNTRY
    WIN7455N DXX7R1 Dell Inc. Latitude E6420 DOMAIN.COMPANY.NET/COUNTRY/MY
    WIN7455N DXX7R1 Dell Inc. Latitude E6420 DOMAIN.COMPANY.NET/COUNTRY/MY/DEP
    WIN7455N DXX7R1 Dell Inc. Latitude E6420 DOMAIN.COMPANY.NET/COUNTRY/MY/DEP/UNIT
    WIN7455N DXX7R1 Dell Inc. Latitude E6420 DOMAIN.COMPANY.NET/COUNTRY/MY/DEP/UNIT/GROUP
    Any insight on what could cause this duplicate entries?
    2. From the query, I found on the web that some are using 'inner join' while another is using 'left join'.
    What are the differences between these two?
    Thank you!
    ---Pat

    Yes that is one of mine. and yes I create reports / queries just about every day so it is easy for me. Most of the time.  ;-)
    You seem to be doing fine, your first posted attempt works and you just need to fine tune it.
    Here are two better examples of the max command.
    http://smsug.ca/blogs/garth_jones/archive/2012/04/05/query-to-report-ou-information-for-machines.aspx
    http://smsug.ca/blogs/garth_jones/archive/2012/03/12/link-v-metereduser-fullname-to-a-full-name-from-ad-v2.aspx
    Don’t forget about the Group By section in your query.
    This really old blog post might be useful too.
    http://smsug.ca/blogs/garth_jones/archive/2008/08/12/learning-tsql.aspx
    http://www.enhansoft.com/

  • Filter duplicate entries in report

    Oracle Version 11g indows Windows Server 2008 x64
    I currently have an application that used nationally for managing our recruiting system, we're a contract engineering staffing firm.
    Now, we have a pretty decently sized database of candidates we've previously worked with and I used Oracle Text to make the attached resumes searchable, which works out great, the only issue is that we often send the same candidate to multiple jobs in order to put them to work faster, which means I may get the same candidate's resume turning up 6 or 7 times in the search results, I'm looking to have it filter out duplicates based on candidate's name and recruiter name since I don't want to only filter out candidate names since some people have the same name, but usually 1 recruiter works with 1 candidate, I know it's not perfect, but could help to narrow things down.
    I've tried a few things to remove the dupes, but I can't get it to work, here's the current query that we use to generate the search results.
    select score(1) relevance,
    +"PKEY",+
    +"DATE_SUB",+
    +"CLIENT",+
    +"CANDIDATE",+
    +"RECRUITER",+
    +"SALES",+
    dbms_lob.getlength("RESUME") "RESUME",
    +"MIMETYPE",
    +"FILENAME",+
    +"POSITION",+
    +"AVAILABILITY",+
    +"RATE",+
    +"ISSUES",+
    +"WHEN_INT",+
    +"FEEDBACK",+
    +"NOTES"+
    from "SUBMITTALS"
    where CONTAINS (resume, :P11_SEARCH, 1) > 0 order by 1 desc
    Any ideas?
    Thanks again.
    Edited by: gjones77 on Sep 25, 2012 12:55 PM
    Added oracle version

    I don't have anything to work with to test, but here's an idea:
    Take your current query
    Remove the ORDER BY
    Add a column row_number() over(partition by candidate, recruiter order by score(1) desc) rn
    Put all that within parentheses
    select from all that WHERE RN = 1 order by relevance desc;

  • Java.util.zip.ZipException: duplicate entry  ??? think not

    Ok I have jar file 3rd party, they have 2 entrys in their jar
    inetsoft/report/images/printer.gif and
    inetsoft/report/images/printer2.gif
    Those files are identical best i can tell, and they cause the error. Is there a way to the JWS in version based mode to look up files on full name alones... and don't warry about diffing files with diffrent names ???
    java.util.zip.ZipException: duplicate entry: inetsoft/report/images/printer2.gif
         at java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:165)
         at java.util.jar.JarOutputStream.putNextEntry(JarOutputStream.java:93)
         at com.sun.javaws.jardiff.JarDiffPatcher.writeEntry(Unknown Source)
         at com.sun.javaws.jardiff.JarDiffPatcher.applyPatch(Unknown Source)
         at com.sun.javaws.cache.DownloadProtocol.applyPatch(Unknown Source)
         at com.sun.javaws.cache.DownloadProtocol.access$1(Unknown Source)
         at com.sun.javaws.cache.DownloadProtocol$RetrieveAction.actionDownload(Unknown Source)
         at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
         at com.sun.javaws.cache.DownloadProtocol.getResource(Unknown Source)
         at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
         at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
         at com.sun.javaws.Launcher.downloadResources(Unknown Source)
         at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
         at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:484)

    This sounds like an instance of bug: 4474211 (see http://developer.java.sun.com/developer/bugParade/bugs/4474211.html)
    you can try out the fix for this by loading the 1.2 beta from the j2se 1.4.1 beta release, and using the new version of the JNLPDownloadServlet that can be found in the 1.2-beta developers pack at: http://java.sun.com/products/javawebstart/download-jnlp.html

  • How to remove duplicate entries in OID due to an AD-OID bootstrap

    Don't worry about the "why" but there were changes made to the mapping file for an AD-OID synch and dipassistant commands mp and bootstrap run and now there are some duplicate entries for users in OID. The only difference between the duplicates for each of those user (besides the creation/modify timestamps) is their ORCLGUID. Their orclobjectsid, orclobjectguid, dn, uid, etc. are the same. Also, our OID is used for SSO to an oracle portal. So ... is there any way to programmtically get rid of the duplicates or do I have to manually go through and delete. And if manually, which one of the two should be removed? The one created first or last?
    You'll have to excuse myself and my co-workers 'cause we're still newbies when it comes to OID. :-)

    Found an easier way to delete my unwanted users ... Softerra LDAP Administrator 3.5. :-)
    After I did the deletes, we implemented a new mapping file (see my post at Changing Domain Rules in mapping file for Active Directory-OID synch ) and ran bootstrap. Now I just have to update the GUID and DN in portal.wwsec_person$ with the new orclguid and dn from OID for each affected user.

  • Duplicate entry in AS2 EDIINT MIC table

    Hi,
    While sending a AS2 message to a partner, got an error saying  -
    Unable to create the entry in the AS2 EDIINT MIC table. This could be caused by duplicate AS2-From, AS2-To and MessageID combinations being written to the table.
    MSDN says that I need to delete the duplicate entry. As this happened in Test environment, I did the same and everything fine.
    But, in Production, I don't want to delete anything.
    So, can somebody help me on understanding the importance of MIC table i.e how it works and when/how duplicate transactions can happen in this table?
    Thanks and Regards,
    Sugata

    Hi,
    As the error message reads the problem is due to a deadlock situation.
    http://stackoverflow.com/questions/5389261/sql-transaction-was-deadlocked
    http://www.toadworld.com/platforms/sql-server/b/weblog/archive/2012/05/16/transaction-process-id-was-deadlocked-on-resources-with-another-process-and-has-been-chosen-as-the-deadlock-victim-rerun-the-transaction.aspx
    Check with the above articles in which deadlock can be identifed and removed.
    Regards, Vivin.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Duplicate entries getting posted using FB01

    Hi All,
    I am facing a very strange problem which I have never heard of before.
    There is a report program which picks up an input file from the application server and posts the entries. This input file will contain all the details about header record, vendor line items and G/L line items.
    The report checks for duplicate entries comparing the reference number and the vendor. It discards the duplicate entries. It does not post duplicate entries.
    Now, the input file contains the reference number only once. It also has multiple line items for that refernce. But has posted two identical documents having same reference, company code, etc. The only thing that is different is the document number and the time of entry. There is just a few seconds gap between the posting of the two entries.
    Ideally FB01 should also not allow to post such identical entries.
    Please suggest possible reasons for such postings.
    Thanks & Regards,
    Namrata

    Hi,
    Manually everything is working fine. Also through this report everything works fine always except for this case which happened.
    The input file had a lot of references for posting. But just one got duplicated. So, I was just wondering what could have gone wrong.
    Could it be because of some database commit or due to some memory buffer refresh which did not happen by mistake.
    I'm just trying to figure out some possible causes for such a thing.
    Your inputs and thoughts are welcome.
    Thanks & Regards,
    Namrata

  • Duplicate Entries For Cost Elements

    Hi All,
    We have a situation in which in a particular inventory org duplicate entries of a cost elements have got created. eg: Material Cost Element has appeared twice or thrice for an item, similarly material overhead, resource etc. due to which the item cost has shoot up.
    Can someone please suggest what could be the possible reason for the same? Its lil urgent.
    Thanks!!!

    Dear
    Can please confirm  wether this depdends are for any MTO order ? I mean you have Sales Order for FERT with MTO item categoery and running MRP  in MD02 .In that case whether , it is generating multiple similar MRP  elements.
    Basically , this is happen based on the Planning Horizon as well as Re-schedule horizon kept into OPPQ /MRP relevent paramentrs/OPPR in case of MRP group  .If your firm reciept like Production Order are boyond the planning horizon during your MRP run , demnad will be re-considerde to create Planned order .So chek the PH/Rescheduling horizon .So keep bit larger Re-scheduling Horzon .
    Refer our earlier posting :  new planned orders on next  MRP run
    Other possibilites can  be explored in the SAP notes  from sales stand point : SAP Note : 744305/744484/80891
    Regards
    JH
    Edited by: Jiaul Haque on Nov 22, 2010 1:13 PM

  • Duplicate entry removal

    Currently the omcpany I work for runs corporate time 6. Now don't laugh, we still use netscape 4.8 and the included palm sync (Netscape Calendar Link for Palm Pilot, NCSetup v2). I have a OS 5 palm device. Once a week it seems my conduit craps out and I uninstall and reinstall on the desktop and sometimes the NCSetup on my palm. I then end up with duplicate entries. Is there an automated way to remove duplicates in Corporate Time? My wokr around it to take the palm home sync it using the palm desktop and use the duplicate removal tool. Then bring the Palm to work resync and hope most of the duplicates get removed. We are getting ready to move to Thunderbird. And there is little I can do to influence the IT decisions.

    Hi 52779,
    I'm not sure if this configuration is still supported, but if duplicates are being created, it could be due to a myriad of possibilities, many of which are Palm limitations.
    The oldest supported client is CorporateTime 5.4 (until december), and Oracle Calendar sync for Palm, 3.0.
    There is no automated way to accomplish this, as these meetings are not considered duplicates in the database, but were somehow created as new, replicas of the original, with a distinct UID.
    The method you describe is as good as any...best regards.
    [email protected]
    Product Management

  • Duplicate entries in the Fields array

    I came across a (strange) pdf and after an analysis it turned out that some of the fields occur multiple times in the Fields array.
    Now when looking up the spec it states:
    "An array of references to the document’s root fields (those with no ancestors in the field hierarchy)."
    Is that a violation of the spec (although it doesn't state that explicitly)?
    So how to deal with this kind of PDFs?

    A follow up to the discussion: I opened the document in the Life Cycle Designer and it showed me an error (as I would have expected it from acrobat).
    The explanaination was that a (checked) radiobutton was referenced several times (due to the above problem). And that is definetly a violation of the spec - you can't have several checked radiobuttons in a group - and that is the reason why it should be illegal to have duplicate entries in the /Field or /Annots array (in my opinion).
    Interesting to know that Lifecycle Designer seems "better" in this way than acrobat - since acrobat didn't complain and LifeCycle Designer showed the correct warning in the first place.

  • Duplicate Entries in Application List ..?? 8230 OS4.6 DTM 6.2 Win XP SP3

    Hi ...
    I just noticed that the Application list in DTM shows duplicate entries of 3 of my apps on my 8230 ...
    I was curious about what was listed, because I was investigating the phenomenon of MyWorld incorrectly showing the "trial" verions of 2 apps even though I have the purchased version of those apps ... plus ... I seem to have gone down from have 49M free to only 47M, and I wanted to see what was using up those add'l 2M ...
    I'd like to be able to tell DTM to UNINSTALL those duplicate apps, but I want to check here first to make sure that actgion won't cause problems with those apps ....
    Alternatively, is there anything like a DEFRAG'ing app available for the BB..? (I'm already using MemoryUp Pro v 3.5)
    Does anyone have any similar experience(s) with a phenomenon like this ..?
    Thanks in advance!!

    ... have some add'l info to add:
    I just attempted to remove 1 of the dup apps (fet safe in attempting this, because it was listed as a back-level version of the running app...); and the process never got to the REBOOT portion of the procedure ... so the app is still there ... 
    I've tried disconnecting / reconnecting the device (Win XP had it connected as offline storage, even though I selected NO on both the device and on the pc); but this didn't seem to help to remove the app either ...
    So, I'm still curious about ways to address this ....
    TIA

  • ZipException -  Duplicate entry

    Hi all,
    I am trying to zip a number of files(reside in different folder) into the same zip file. However, i encountered duplicate entry exception due to i try to add two same zip entry into the zip file.
    The way i try to avoid such exception is as followed (I will simply ignored the duplicate exception due to the nature of my program.):
    public void addToZipFile()
        try
            //some code here
        catch(ZipEntry ex)
            String msg = ex.getMessage();
            if(msg.indexOf("duplicate") > 0)
                  //ignored such error
            else
                 throw ex;
    }Is the above method a right implementation to deal with the duplicate entry exception ? Any suggestion ?
    Thanks

    Thanks for your reply.
    As i said the files i try to zip are resided in different folder , so they can have the same filename.... And due to the nature of my program ..... i add only one of those repeated files.....and it satisfy my requirement .... it is too troublesome to explain why i only add one of those repeated file.
    I just try to find out is the way i handle the exception is correct ?
    thanks

  • Cisco Unified Presence IM compliance database - duplicate entries

    I recently setup PostgreSQL for the IM compliance feature.  I noticed in the "JM" table, where all IM messages are stored, there are some duplicate/double entries.  Is this normal or am I missing some settings/configuration?

    JM table is the one that will have all the IM message (compliance) and Persistent Chat Room messages (if configured). If that table is not populated, there are configuration issue in PostGre.
    Duplicate entries are due to one message going out from IM&P Server and another one coming in. This is ok and normal. You can try un-checking the checkbox for "Enable Outbound Message Logging" IM&P Server compliance settings - if it makes any difference

  • Problem with duplicate entries in a structure.

    Hi,
    I am creating a custom structure by including 2 structures in it as DRSEG and COBL_MRM_D.
    Now both the structures have many common fields and hence it gives an error on check.
    Is there any workaround to create the structure in DDIC by including both the above structures.
    Pls help with your ideas.
    Thanks,
    stock.

    Hi
    Create a DDIC structure which has all the common fields. Include this structure only once .
    Then include the fields which are not common from both the structure into the created structure . so that no duplicates entries are present
    OR
    Include the first structure then dont include the second structure include only the fields which are not common to both . this also eliminates the duplicates

Maybe you are looking for

  • Acrobat X Pro hangs

    Hello, I am trying to use Acrobat X Pro (10.1.4) on an Apple MacBook Pro running Mountain Lion (10.8).  When I launch Acrobat and select "Combine Files into PDF", I am shown the add file screen.  When I click the "Add Files" button, I am offered to s

  • Address book in OSX 10.7.2: how to create a new contacts group?

    Hi. I have upgraded to OSX 10.7.2 on my MacBook Pro. How can I create a new contacts group  using addresses in my Address Book? The idea is to use the group to send emails to a bunch of people without having to write them in individually. (Before, on

  • Help! Macbook Wont Turn On

    I went to turn on my white 2009 macbook unibody and nothing... It's like it's dead to the world. It will charge when I plug the charger in but I can't get it to do anything when I hold the power button down. This computer is my lifeline to friends an

  • My wallpaper won't change on Mac Book Pro Retina

    I change my wallpaper in system preferences and when I reboot it comes back with the same photo every time....a high resolution one.

  • Texts from 6250

    I get a blank text from 6250 every time I get an inbound mail from yahoo, so I get two notification chimes with each email about 45 seconds apart. I've blacklisted on handcent and the native text app but would like to stop the texts altogether or at