Showing Duplicate records in a report with the count of their occurrence

Hi Members,
I am novice to BI. i need your suggestion to achiever one of the functionality. A report is required to be built with columns Incident ID, Task ID, Task Name. The Original report is below:-
In the above report I have to display only duplicated records once. Distincat records are not required to be shown. That is, if the same no. of Task Name is associated with the same Incident ID then it should be displayed once with the count of their occurrences in a separate column say , Count. For example, the Task 'TASK_MANUAL_KCI'  got 4 times associated with the same Incident ID INC000000001434. Then the report should display this task one time in a report with count 4. Similarly, for INC000000000943 where task 'IPCG Diagnostic Template' got associated 2 times. The Count is 2 for this task.
Other records should not be displayed in a report.
Would highly appreciate quick response. Please suggest.
Thanks,
Neha Pateria

I tried this Gill, but result is bit different :-
Seems some little modifications are needed. Report should be displayed like the below one where it says how many times the same Task is associated with the same incident. Eg. Task 'TASK_CIRCUIT_RESOLVER' is associated with the incident 'INC000000001434' 4 times. 'IPCG Diagnostic Template' is associated with  'INC000000000943' 2 times. Similarly for other records.
But I really thankful to you for giving me the logic proceed further. I tried  '=RunningCount([Task Name]; Row; ([Task Name]; [Incident ID]))'. It gave me desired results. :-
But the only thing that needs to be done is to bring the single Task associated with the Incident..
Thanks,
Neha Pateria

Similar Messages

  • New to Crystal, seeing duplicate records in my report of the same field

    Post Author: trillium
    CA Forum: General
    I am new to Crystal Reports 10.   I am having to use it with Rational ClearQuest and I am seeing the same problem over and over again and I am hoping someone can help!
    Some reports I have created the records in clearquest are displaying only once.   I have started a new report in crystal and for some reason when I perform the report query in rational one record is displaying 2 to three and sometimes four times even though in the database there is only one record.  I have seen this in other reports I have created but I attributed it to multiple values in one field.
    Any help on fixing this would be greatly appreciated, I have tried the Suppress Duplicates but it doesn't seem to help except hiding something I need.

    Post Author: GraemeG
    CA Forum: General
    I agree with SKodidine - check your joins and selections to make sure that all variations are taken care of. Here's a simplified version of one that I messed around with for ages when I started on CR:
    Table 1 - TRANSACTIONS, Item, date, warehouse, qtyITEMA   AUCKLAND          01/01/07    15ITEMA   AUCKLAND          20/01/07    10ITEMA   CHRISTCHURCH  31/01/07    25ITEMA   OTAGO                15/01/07     5
    Table 2 - ITEM MASTER, Item, descriptionITEMA   WINDOW FRAME
    Table 3 - ITEM/WAREHOUSE MASTER, Item, warehouse, ABC Class, unit costITEMA   AUCKLAND         MEDIUM USAGE  $5.00ITEMA   CHRISTCHURCH  HIGH USAGE       $5.05ITEMA   OTAGO  LOW      USAGE                $5.00
    The report was to show:Item, description, date, qty, movement cost
    My joins were:Table 1 - Table 2 on itemTable 1 - Table 3 on item
    What I got out was:ITEMA   WINDOW FRAME   01/01/07   15   $75.00ITEMA   WINDOW FRAME   01/01/07   15   $75.75ITEMA   WINDOW FRAME   01/01/07   15   $75.00ITEMA   WINDOW FRAME   20/01/07   10   $50.00ITEMA   WINDOW FRAME   20/01/07   10   $50.50ITEMA   WINDOW FRAME   20/01/07   10   $50.00ITEMA   WINDOW FRAME   31/01/07   25   $125.00ITEMA   WINDOW FRAME   31/01/07   25   $126.50ITEMA   WINDOW FRAME   31/01/07   25   $125.00ITEMA   WINDOW FRAME   15/01/07    5    $25.00ITEMA   WINDOW FRAME   15/01/07    5    $25.25ITEMA   WINDOW FRAME   15/01/07    5    $25.00
    Because I didn't make the warehouse part of my Table 1 - Table 3 join, I got a report line for every warehouse in the Table 3 file.
    So I changed my joins to:Table 1 - Table 2 on itemTable 1 - Table 3 on item and warehouse
    What I got out was:ITEMA   WINDOW FRAME   01/01/07   AUCKLAND          15    $75.00ITEMA   WINDOW FRAME   20/01/07   AUCKLAND          10    $50.00ITEMA   WINDOW FRAME   31/01/07   CHRISTCHURCH   25   $126.50ITEMA   WINDOW FRAME   15/01/07   OTAGO                  5   $25.00
    Hope the example helps.

  • J1INQEFILE - efile generation - Exported file shows Duplicate records.

    Dear Team,
    When I execute J1INQEFILE, I am facing problem with the e-file generation i.e. exported Excel file. When I execute and export the file in excel to the desktop, I can see duplicate records.
    For eg. On execution of J1INQEFILE, I can see 4 records on the SAP screen, whereas the exported file to the desktop shows me 2 more identical records i.e 6 records. As a result, in the SAP system i can see Base Amount as 40000 ie. 10000 for each. on the contrary the excel sheet shows me 60000 i.e. 6 records of 10000 each (bcse of 2 more duplicated records) and also shows the TDS amount wrong. How are the records getting duplicated? Is there any SAP note to fix this? We are debugging on this but no clue....
    Please assist on this issue....
    Thanks in Advance !!!!

    Dear Sagar,
    I  am an abaper,
    Even I came across the same kind of situation for one of our  client ,When we  execute J1INQEFILE, after exporting the same to  Excel file we use to get duplicate records.
    For this I have Debug the program and checked at  point of efile generation, there duplicate records were getting appended for the internal table that is downloaded for Excel, so I have pulled the Document number in to Internal table and  used  Delete Adjacent duplicates by comparing all fields and hence able to resolve the issue.
    Hope the same logic helps or guide you to proceed with the help of an abaper.
    <<Text removed>>
    Regards,
    Kalyan
    Edited by: Matt on Sep 8, 2011 9:14 PM

  • How to inlcude all records in a report, with a formula result of 0 or 0?

    I'm reporting on classes scheduled for a certain location, and calculating the number of available seats per class. A formula will give me the net seats available (Max seats-count of students). BUT if there are no students enrolled, class does not appear on the report. Formula is {SCHEDULES.qy_sch_max} - Count ({WAITING_LISTS.no_emp}, {SCHEDULES.cd_crs)
    What am I missing? Currently using Crystal 8.5 and reporting against a SQL database.
    Appreciate your help.
    christi

A: How to inlcude all records in a report, with a formula result of 0 or >0?

thanks, Sanjay - been there done that.
basically, I need to show the net result for the open seats available,which will be the same as the max seats offered.
I tried the following:
If Isnull{WAITING_LISTS.no_emp}
then {@Open}={SCHEDULES.qy_sch_max}
else
{SCHEDULES.qy_sch_max} - Count ({WAITING_LISTS.no_emp}, {SCHEDULES.cd_crs})
and got a message "Missing the then".  (@Open is the formula title)

thanks, Sanjay - been there done that.
basically, I need to show the net result for the open seats available,which will be the same as the max seats offered.
I tried the following:
If Isnull{WAITING_LISTS.no_emp}
then {@Open}={SCHEDULES.qy_sch_max}
else
{SCHEDULES.qy_sch_max} - Count ({WAITING_LISTS.no_emp}, {SCHEDULES.cd_crs})
and got a message "Missing the then".  (@Open is the formula title)

  • Access Web Database - Select record and make report with all associated records

    Hey everyone,
    Right now I'm in the middle of trying to convert an Access client database to be web compatible and I'm running into some problems. For this question, I think I may need to explain a little bit about the database:
    The database I'm making is designed to store information about music rights for different songs. The users can input information about writers, producers, organizations, properties, businesses - which is stored all in different related tables. Then, when a
    user inputs a song, they choose which writers, produces, organizations, etc. are affiliated with that song. 
    What I'm trying to do is make a report where you can choose a writer from the list of all the writers and then produce a report with all of the songs by that writer. 
    I was able to do this in the Access client by making a report that, when opened would trigger (using the On Open event) a form to open where you would choose a writer from a combo box and then click a button. When the button was clicked, it would use the value
    in the combo box in a query, which would find all of the songs by that writer and then open up the report which would have the writer and all of their songs on it. 
    Because web reports don't have many event options and web queries are very limited, I have not found a way to make this report.
    Any help at all would be greatly appreciated!

    Hi,
    I found that you've cross post the quesion on our Answer forum, are you satisfiled the reply from there?
    http://answers.microsoft.com/en-us/office/forum/office_2010-access/web-database-select-record-and-make-report-with/04ce4e25-a964-4146-9a34-f9cb26bb0496
    Regards,
    George Zhao
    TechNet Community Support

  • Creation of report with the help of report painter

    Dear Experts,
                         I need report painter material, if any body have  pls  farward to me.
    my intension to create controlling report with the help of report painter.
    I am ready to award full points.
    Thanks in advance
    Regards
    avudaiappan
    Moderator - Please read this:
    /thread/931177 [original link is broken]
    Thread locked

    Hello Chinasammy,
    Report Painter allows you to create reports using data from SAP application components, which you can adapt to meet your individual requirements.
    Many of your reporting requirements can already be met by using the standard reports provided by various SAP application components. If these SAP standard reports do not meet your reporting needs, Report Painter enables you to define your specific reports quickly and easily.
    When executing a Report Painter report, it is displayed by the system in Report Writer format. You thus have access to the same functions as for Report Writer reports defined in the same way, and can combine Report Painter and Report Writer reports together in a report group.
    Report Painter uses a graphical report structure, which forms the basis for your report definition and displays the rows and columns as they appear in the final report output.
    To facilitate report definition, you can use many of the standard reporting objects provided by SAP (such as libraries, row/column models, and standard layouts) in your own specific reports. When you define a Report Painter report you can use groups (sets). You can also enter characteristic values directly.
    Advantages of Report Painter include:
    Flexible and simple report definition
    Report definition without using sets
    Direct layout control: The rows and columns are displayed in the report definition as they appear in the final report output, making test runs unnecessary.
    =============================================
    Below mentioned is the process for creating reports using Report Painter as a tool.
    Selecting and maintaining a library for your report: As the transfer structure to Report Painter you use a report table, which is defaulted by SAP and can not be maintained. This table contains characteristics, key figures and predefined columns. In a library, you collect the characteristics, key figures, and predefined columns from the report table, which you need for your Report Painter reports.
    When you define a Report Painter report, you assign it to a library. Reports assigned to one library can only use the characteristics, key figures, and predefined columns selected for that library.
    When you create or maintain a library, the Position field determines the sequence in which the characteristics, key figures or (predefined) key figures appear in the Report Painter selection lists when you define a report. This allows you to position the objects that you use regularly in your reports at the beginning of the selection lists. If you do not make an entry in the Position field, you will not be able to use this object in Report Painter reports.
    You can use either the standard SAP libraries for your reports or define your own.
    (ii) Selecting or maintaining a standard layout for your report: Standard layouts determine report layout features and the format of your report data.If the SAP standard layouts do not meet your reporting requirements, you can create a new  standard layout or change an existing one.
    (iii) Defining row and column models: A model is a one-dimensional, predefined reporting structure that you can insert in either the rows or columns of your report.If you often use the same or similar row or column definitions in your reports, it is recommended that you create row or column models.
    You must define the row and/or column models that you want to include in your report definition before you define the report.
    You can also use the standard column models supplied by SAP.
    (iv) Defining the report: Defining a Report Painter report involves the following steps.
    (a) Define the report columns: You define the report columns using the characteristics, key figures, and predefined columns selected for the library that the report uses. Alternatively, you can use a column model for column definition. Column models are predefined column structures which you insert into your entire column definition, instead of defining each individual column.
    (b) Define the report rows: You define the report rows using the characteristics selected for the library selected for the report.
    Alternatively, you can use a row model for your row definition. Row models serve the same purpose as column models, but are used to define a report row.
    Edit and format the report rows and columns in line with your requirements. (For example, you can hide rows or columns, define the column width or define colors for your report rows).
    (iii)Define general data selection criteria for the selection of your report data: Selection criteria are the characteristics used to select data for the entire report. You cannot enter characteristics as data selection criteria if they are already being used in the report rows or columns.
    (iv) Assigning the report to a report group: Once you have defined a report, you must assign it to a report group. A report group can contain one or more reports from the same library. However, reports that share the same data will select data more quickly and improve processing time.
    Hopw this helps you. Please let me know if you need anything more and assign points.
    Rgds
    Manish

  • I need a report with the following fields

    Hi All,
    I need a report with the following fields & G/L "Expenses" only.
    1)G/L Code.
    2) G/L Name.
    3) G/L Balance
    & Selection Criteria From Date, To Date , & Location(for me locations is PROFITCENTRE).
    Please some body suggest me an SQL Querry to fetch this result.
    Thanks in Advance,
    S. Mobin

    Hi!
    Individual G/L means i didn't understand
    check this for only Expence Acc
    Declare @FromDate Datetime
    Declare @ToDate Datetime
    Declare @Location nvarchar(20)
    set @FromDate = (Select min(S0.RefDate) from jdt1 s0 where s0.Refdate >='[%0]')
    set @ToDate = (Select max(S1.RefDate) from jdt1 s1 where s1.Refdate >='[%1]')
    set @Location = (Select max(s2.ProfitCode) from jdt1 s2 where s2.ProfitCode  = '[%2]')
    select
    J1.Account,
    max(A0.AcctName) as Name,
    j1.ProfitCode as Location,
    sum(J1.debit-j1.credit) as Balance
    From
    JDT1 J1,OACT A0
    Where
    J1.Account=A0.AcctCode and
    J1.RefDate >=@FromDate and
    J1.RefDate<= @ToDate and
    j1.ProfitCode=@Location and
    A0.GroupMask = 5
    Group By
    J1.Account,j1.ProfitCode

  • Stock report with the field... last stock changed at certain date?

    Is there any standard report with the date of the last change of the stock value and quantity?
    Points granted
    BR
    Saso

    Hi people,
    I want to know why MBEWH have not any material stock information for period when doesn´t exist any inventory movement for some materials, for example I have a case in 12.2006 period the material A have stock quantity 100 and value 1000 and the next period 01.2007  no stock movements were done for this reason the MBEWH had to had the same values stock 100 and value 1000 in 01.2007 period, but in MBEWH is missing, there is not any information for material A in this period.
    Anybody knows about this problem?
    Thanks.
    Lili.

  • Report with the exemption of all obsolete concepts.

    Hi
    can any any one gimme some example of report with the exemption of all the obsolete concepts.
    Plz dont send send any external link except sdn links.
    Thanks and Regards,
    Arun

    does your client use MM-PUR?
    you must select all freight-items from bseg and use BELNR of found items to search in table BSIK/BSAK to find vendor-items
    A.

  • Schedule a report with the system date imbeded in the file name

    Hello,
    Could anyone tell me how I can schedule a crystal report with the system date imbedded in the file name (FileNameYYYYMMDD) through BOE?  When I scheduled the report through BOE, I gave a file name and selected Attach Date Time, but the file name is coming out slightly differently and with the time imbedded as well (FileNameYYYY-MM-DD-HH-MN I think). Is there a way to change the default system date time format in BOE so that the date stamp comes out the way we want it?
    Thanks!

    %SI_STARTTIME% will add the time the report ran too.
    Adding onlt the date will necessarily have to be done via the appropriate SDK.

  • To do a report with the format of MB5B

    Hi,
    I have one requirement is below, not able to get the complete logic:
    We have a Tcode MB5B,it has the selection screen criteria, Matnr, Comp Code, Sales Org and Date Range.
    if we execute, it will give the material quntity as per the above selection criteria.
    If i give low date with 15-06-2011 and high date is 05-07-2011. It will display the material qunatiry available is on the date 15-06-2011 and on the date high date 05-07-2011.(It will give only for 2 dates)
    But here what they are requesting is: they need a report with the availability material quantity on each date. means (Here low date 15-06-2011, high date is 05-07-2011),
    on 15-06-2011,16-06-2011,17-06-2011,..........05-07-2011. like this.
    Output file has should have no of columns is equal to diff between dates.
    Here the version is 4.7,
    I started to bebug it, they are using MARA, MKPF, MARD,MBEW and so on.
    Any table has the date range option to get the material quantity.any idea please.
    could please anyone give suggestions on this.
    Regards,
    Sri

    Hi
    Their is no such table available in sap
    tell me one thing is data available for every day .
    if no then try below mention.
    do one thing print report according to date wise
    display all date from date-low to date-high first
    in that pick all data available for every day and display it
    foreg: 15/06/2011 data is available then print the qty else print as 0.00
    if it is not getting send me ur code i will do changes
    T Bharat Bhushan

  • How do i delete duplicates from my music library. After updating my iTunes the "Show Duplicates" option does not appear in the menu

    How do i delete duplicates from my music library. After updating my iTunes the "Show Duplicates" option does not appear in the menu

    If you are on Version 11.0.1 rather than 11 Apple put it back in
    View > Show Duplicates
    Option + View > Show Exact Duplicates
    so if you are on 11 upgrade to 11.0.1 and you will have it

  • I am trying to delete duplicate content in my iTunes library. I have stopped the download and I can see them on VIEW Displaying Duplicates, but cannot delete them with the Delete button. Can anyone assist?

    I am trying to delete duplicate content in my iTunes library. I have stopped the download and I can see them on VIEW>Displaying Duplicates, but cannot delete them with the Delete button. Can anyone assist?

    If you've paused the download (they are partially greyed out on the duplicates screen ?) then you will need to delete them from download window, you can't (as far as I know) delete partially downloaded items from that screen. When you have items downloading, or downloads that are paused, you should have a downward pointing arrow at the top right of the iTunes screen
    If you click that arrow you should get a popup window with the items that are downloading/paused - and you should be able to select and delete them (or resume their download) from there.

  • My sister downloaded an album she bought on itunes on her ipad and it somehow synced to my iphone when I try to delete it it still shows up in my music library with the icloud symbol how do I delete the album???

    my sister downloaded an album she bought on itunes on her ipad and it somehow synced to my iphone when I try to delete it it still shows up in my music library with the icloud symbol how do I delete the album???

    As long as you both share an iTunes account you cannot delete the album.  It is in your account and will show as available to download.  The cloud symbol simply is showing that the album is in your iTunes account and is available for you to download.  The album itself isn't on your phone though.

  • I need to learn how to build reports with the latest technologies

    Hi everybody
    I hope you can help me out in enlighten me by giving me the keys about how to start building the report with the latest technologies and using them in java applications either web apps or desktop apps
    I really do hope you assist me to go learn it .....
    Thanks folks

    All you ever wanted to know about Oracle Reports:
    http://www.oracle.com/technetwork/middleware/reports/documentation/index.html

  • Maybe you are looking for

    • Complaints Lack of Customer Service and No respons...

      Hi there I have had very similar experiences. Misold BT Business Line with Braodband speeds. Engineer called and connected to an old second line at the property which would only give me 2 MB. Complained - Nothing Happened BT engineer said that my hom

    • How to display value in waveform chart

      dear sir i am using labview 7.0 with dsc module for scada.  now i want to display the difference between two tags value in waveform chart. Also i want to display that difference value on y axis and system date and time on x axis continously. Also if

    • Adobe Interactive Form Display

      hii experts                   I have developed a simple application of displaying a PDF but when i deply i get the error log as below: com.sap.tc.webdynpro.services.sal.core.DispatcherException: Wrong Web Dynpro URL: "../WebDynpro/Servlet/<deployable

    • Thread Aborted Exception

      Hi, I'm using LDAP with Active Directory. When I run a query, the very first time, results are correctly populated. Every successive query then fails, with a thread aborted exception: Message: Thread was being aborted. Stack Trace: at System.Net.Unsa

    • Wrong profit center capture in the billing document of intercompany sales

      Hi Experts,      I am facing a problem on the incorrect profit center capture in the billing document while billing to external customer. I did try to search SAP notes found that it can be use substitution user exit to correct it. So I try to find ou