How to delete the duplicated records, not just surpress the records?

I am new to CR. Right now I am doing a project which needs CR get query from Oracle. I got the query from Oracle. There are records with duplicated fields. For example (the following only show part of fields):
ID    body_code  
1            10            
2             10            
3             15            
4              15           
5              15           
6              16           
I need to only select records (not surpress, because I will do some caluculate later) like following:
ID         body_code        
1             10         
2              15
3               16   
I tried to creat selection fomula in fomula workshop, shown as follows:
onlastrecord;
<>next
but CR said next can be evaluated. I think it must have something to do with the print-time. So what show I do to delete the duplicated records.Thank you very much.

Ting,
Try this:
Insert a group on body_code.  Then create a running total called Distinct Count.  Field to summarize -> ID, Evaluate on change of group Group # 1 Body Code, and Never Reset.
Then insert a chart in the report header:
In the advanced layout, select body_code on change of and select Distinct Count running total in the Show values.
I hope I understood what you're looking to accomplish.
Z

Similar Messages

  • How to delete a delivery number/note

    Hi All
    How to delete a delivery number/note
    Thanks for the help
    Rajendra Prasad

    Hello,
    Start with checking the document flow. If the invoice has already been generated to that specific delivery you need to cancel the invoice before you delete the outbound delivery.
    Step 1: T Code VF11 helps you to cancel billing document.
    Step 2: Then use T Code VL09 and reverse the goods movement by entering the values in the fields. Once you reverse the documents then you can delete the outbound delivery in VL02N under menu bar Outbound Delivery u2013 Delete.
    Step 3: If PGI has not done you can cancel the outbound delivery by editing the picking quantity to zero. If Warehouse Management installed then you can cancel all the transfer orders before you delete the outbound delivery.
    If invoice has not created and PGI done then proceed with
    step 2.
    If  PGI has not done and Picking completed then proceed with step 3.
    Regards,
    Vamsi

  • Yours sincerely! I just bought a Sony DCR-SD1000 camera only when installing the cd drivers not supported by the operating system Machintosh. I've contacted the seller said the store did not provide for the apple os. How can I move all the files on the ca

    Yours sincerely! I just bought a Sony DCR-SD1000 camera only when installing the cd drivers not supported by the operating system Machintosh. I've contacted the seller said the store did not provide for the apple os. How can I move all the files on the camera the port out is to use a USB data cable to a laptop for my macbookpro can not read the contents of the file and the camera. I also want to use the lens on the camera as a substitute for the embedded camera on my macbookpro, what should I do to replace the embedded camera on macbookpro with sony camera so that the camera could be more variety and can I record when I turned macbookpro . Please help for this so that I can quickly capture the results from sony camera to my macbookpro. Thank you.

    See this page http://macosx.com/forums/networking-compatibility/296947-sony-camcorder-my-mac.h tml - might be some helpful tips there.
    Clinton

  • When i burn videos to a dvd-r disc it works on my macbook but not on a windows/pc or my dvd player. How can i make it work on all the above and not just a mac product?

    when i burn videos to a dvd-r disc it works on my macbook but not on a windows/pc or my dvd player. How can i make it work on all the above and not just a mac product?

    Unfortunately, the recording & movie industry does not respect the rights of the people who make them money, and thus you can only use the paid-for content in ways they see fit. Even if I lived in a bunker where no one else could possibly see the movie I paid for, therefor I'm not 'sharing it illegally', I would still not be allowed in a blue moon to copy that movie to DVD for TV viewing. Someone will tell you to get an AppleTV. How about Apple give us one for free? Until this changes, people wanting to use their content in multiple locations will continue to download music & movies via torrents, legally or illegally.

  • How can i print all the tab pages not just the first page (tab)

    how can i print all the tab pages not just the first page (tab)

    You would need to do this programmatically. Here's one way:
    Attachments:
    Example_VI_BD6.png ‏3 KB

  • I just purchased Export PDF, and when I use it, it opens them in WordPad (which I never use) instead of Word. Thus, the pictures are not there, and the fonts are changed. How do I get into Word?

    I just purchased Export PDF, and when I use it, it opens them in WordPad (which I never use) instead of Word. Thus, the pictures are not there, and the fonts are changed. How do I get them imported into Word?

    Hi,
    I checked your account,your Export PDF subscription is in 'Pending' status.
    Once it gets confirmed you will be able to use it.
    Please let us know if you require further assistance.
    Regards,
    Florence

  • How can i keep the music pushed to all of families devices but the calendar and notes just between my phone and my mac using icloud?

    Ok, so my whole family has the same apple ID so that we can all get the same music, and we want to be able to use icloud so that when one person buys a song it will push to all of our devices. But the problem is when I want my calendar on my mac to also be pushed to my phone it pushes to all of my familys devices. How can i keep the music pushed to everyones but the calendar and notes just between my phone and my mac using icloud?

    Oops my bad...I see that during my troubleshooting I inadvertently left Ringtones unchecked in iTunes.

  • Just purchased Nikon D610. tried to import 3 images and got this message: The files are not recognized by the raw format support in Lightroom. How do I fix this frustrating problem. Have been using Lightroom for years also Nikon products without any prior

    How do I import images. Have a message that says: The files are not recognized by the raw format suppot in Lightroom. Am using a Mac version 10.9.4. the import is from a new Nikon D610. Am using LR 4.4 Please help Adobe is useless as a support.

    Each camera must be supported explicity and your LR version is years older than your camera.
    According to Adobe's Camera-support page, you need at least LR 5.3 to work with your D610 NEFs in LR:
    Camera Raw plug-in | Supported cameras
    If you don't want to upgrade to LR 5, or can't due to your OS being too old, then it might work to use the latest DNG Converter and create DNGs from your NEFs, which should open in LR 4.x.  You can find the DNG Converter here:  http://www.adobe.com/downloads/updates

  • Does iTunes match need to locate the actual files or just see its record in your library database? I am currently traveling in US and I have US and Australian iTunes accounts. But all my music files are on a hard drive in Australia.

    Does iTunes match need to locate the actual files or just see its record in your library database? I am currently traveling in US and I have US and Australian iTunes accounts. But all my music files are on a hard drive in Australia. Can I start using itunes music match while I am travelling without the actual music files attached to my itunes?

    In your situation I strongly recommend you read over that KB article. The international iTunes Stores are not cross-compatible.
    My understanding of how it would work is that when activating iTunes Match on your US Store account, any songs you have in your iTunes Library that were purchased from the AUS Store account will NOT be matched. As I understand it, those files will be uploaded (which means you need the files on a local HDD). I also do not think it is possible to have iTunes Match active on more than one store ID on the same computer. But since iTunes Match is not available internationally yet, that point is moot for the moment.
    To be honest you might want to wait until the service is available internationally so you can guage how will it will serve you.

  • HT201272 How do I download previously purchased albums from iTunes when the album has either disappeared from my computer or the tunes are not playable?  The album shows as purchased on the iTunes store, but not available to download to my authorized devi

    How do I download previously purchased albums from iTunes when the album has either disappeared from my computer or the tunes are not playable?  The albums show as purchased on the iTunes store, but not available to download to my authorized device.  I also have albums that appear in my library, but are not able to be added to my iPod from my computer

    When you download something from the iCloud, it is a brand new licensed copy. Your iCloud account just contains a notation that you have this app. It isn't storing an actual copy of the app from your Mac.

  • Using 10.6 iweb 3.04 . I make a small change on a page  , then choose publish changes , but seems to take hours and seems to want to publish the whole site , not just a small change?

    Using 10.6 iweb 3.04 . I make a small change on a page  , then choose publish changes , but seems to take hours and seems to want to publish the whole site , not just a small change?

    Doing the following wouldn't hurt either:
    delete the iWeb preference files, com.apple.iWeb.plist and com.apple.iWeb.plist.lockfile, that resides in your Home() /Library/Preferences folder.
    go to your Home()/Library/Caches/com.apple.iWeb folder and delete its contents.
    Click to view full size
    launch iWeb and try again.

  • Apps that were deleted and now DO NOT appear on the iPad when you install them

    I am posting this because I didn't find it on a search and here is how I fixed it.  Also people shouldn't have to pay APPLE SUPPORT if Apple CAN'T fix the problem.
    Device: iPad 1
    Version: Current
    Scenerio:  Some apps were deleted as well as some magazine subscriptions in iBooks.  I went to the App Store and installed the apps again and what would happen is they appear on the screen with the loading/install bar, but then would disappear. When I would tried to sync the iPad I would see the apps on the iTunes screen, but they still don't appear on the iPad screen.  I tried restoring a back up and nothing happened.  No Restrictions were set.  I called Apple support and they couldn't fix it, on top of that they charged me $20 for tech support event though the problem was never fixed (thats ridiculous APPLE, especially the fact that you didn't fix my problem).
    ****prior to doing the RESET, figure out a way to MANUALLY back up all your Notes, Reminders, Contacts etc.  All music and photos are on the computer so thats saved.
    Fix:  I went to General Settings and select "Erased All Content and Settings".  This reset the iPad as if it were brand new.  I did the basic setup and was able to go to the App Store and see the "Purchased Apps".  I was able to RE-install them again without any problems.  I DID NOT RESTORE FROM A BACK UP.  I had emailed all my Notes and Reminders prior to doing this and manually keyed them all back in.

    If the apps will not sync to the iPad go to Settings>General>Restrictions and make sure that you did not restrict installing of apps.
    Go to your home screen on the iPad. Swipe to the right. Type in the name of one of the apps in the search field at the top and see if it appears in the search.

  • Deletion without archiving is not allowed in the production client

    Hi Gurus!
    I have a new problem with regards deleting products in the Production system in CRM. I can't seem to delete the product in Production Box using this report(COM_PRODUCT_DELETE_SINGLE). It gives me this error: 'Deletion without archiving is not allowed in the production client' I'm doing this to solve my issue with regards some of the products not having any Sales and Distribution Data. The steps i did below worked in QA box.
    These are the steps i did in the QA box to delete the product:
    1) I've deleted the products that has no sales data using the report COM_PRODUCT_DELETE_SINGLE. I went to COMMPR01 to tag the said products with a status 'To Archive' then saved it before I triggered this report.
    2) I've registered it first in the table COMC_PR_TOOL_REG and filling up the necessary parameters
    3) After Deleting the said products in CRM, I logged into R/3 to access the material (MM02). I just changed the sales text and saved it to trigger the replication in CRM.
    When I checked the product in CRM, it worked. The Sales and Distribution Data is already shown.
    Now I have a new problem with regards this procedure. I can't seem to delete the product in Production Box using this report. It gives me this error: 'Deletion without archiving is not allowed in the production client'
    I have already followed the same procedure as to what I did in the QA box but for some reason it didn't work in the Production Box.
    Could anyone please help me with this. Thanks!
    Thanks & Regards
    Nathan

    I was able to solve the problem.
    In Report COM_PRODUCT_DELETE_SINGLE,there is a special check in order for the productive system detection.
    The logic in this program has a perform check_authority which will automatically produce the error and prevents you from deleting a product in the production system.
    Solution:
    I copied the program COM_PRODUCT_DELETE_SINGLE to new one ZCOM_PRODUCT_DELETE_SINGLE then I placed a comment on the PERFORM check_authority.

  • HT6012 In this new version Ability than original version of Export., In a lot of older Eprot several types of Vdo. But the new can not just mp4.

    In this new version Ability than original version of Export., In a lot of older Eprot several types of Vdo. But the new can not just mp4.

    Yes, the old album art view is gone, bu you can see the album art for a song that's playing by clicking on the art image and it will open a bigger view.
    Everything else in your post is a waste. I'm not going to spend time reading it. If - and I repeat if, you have a question on how to get the best out of the new look iTunes, post it. But don't spend your time in long rambling negative rants.

  • I purchased a song a few days ago and downloaded the whole song and the song will not play all the way through it only plays 23 seconds. How do I fix this problem?

    I purchased a song a few days ago and downloaded the whole song and the song will not play all the way through it only plays 23 seconds. How do I fix this problem?

    Thanks for this post. It corrected my similar issue. Note that you need to exit from/re-enter iTunes after deleting the song from your Purchased list.

Maybe you are looking for