Help with Discoverer Desktop, how to choose duplicate records

I use Discoverer 11g Desktop and am well want to ask for help.

I've created a report in the office, but I need the report to display only the records of people with more than 1 invoice for rental in the year.
Years old as a parameter. One of the columns of the report is person-id and there is a column called transaction_type that is filled with different types of transactions
the value of the transaction_type that I use for the report is "RENT_INVOICE", so I want that report to choose only
people infected with more than 1 'RENT_INVOICE' transaction_type records, leaving out records with only 1 'RENT_INVOICE '.
How can I do this in Discoverer Desktop or more? Help, please.

Hello
Well after having created the condition for the kind that you mentioned.
You must create a new calculation using the analytic function

It should be:
Count (transaction_type) more (personid partition)

This will give you the result to the num of records, now just add a new condition during this new element

Tamir

Tags: Business Intelligence

Similar Questions

  • Help with the query to select only one record from the result set in double

    Hello

    Please help with the query. Version of Oracle database we use is 10g R2.

    I have a vision that is duplicated IDS, but they are used across the different functions. See below examples of data. Please help me with a query to select only one record (based on ID regardless of the area) from the bottom of the result set of duplicate records. For what is the point of view is there unique records, given the combination of the fields ID, Org, DF, dry, Sub-Sec

    ID
    Org
    DF
    Sec Sub-Sec

    (163)CQCPDMCPDMHD(163)PCENGENGENG(163)CQASICASICIS8888TSTACTACTAC(163)TSHEHESW6789CQINFOINFOFOS6789PCSECSYSSECSYSINFO16789TSSECSYSSECSYSINFO29009PCBMSBMSBMS1

    My result set must eliminate the duplicate identifiers regardless of whoever we choose of the result set. (I mean without distinction Org, DF, s, Sub-s). My expected result set should be.

    ID
    DSB

    DF
    SEC
    Sub-Sec
    (163)CQCPDMCPDMHD8888TSTACTACTAC6789CQINFOINFOFOS9009PCBMSBMSBMS1


    Thank you

    Orton

    Hello

    This sounds like a job for ROW_NUMBER:

    WITH got_r_num AS

    (

    SELECT id, DSB, df, s, sub_sec org

    ROW_NUMBER () OVER (PARTITION BY ID.

    ORDER BY org

    ) AS r_num

    OF view_x

    )

    SELECT id, DSB, df, sub_sec s,

    OF got_r_num

    WHERE r_num = 1

    ;

    He is a Top - N query example, where you choose the elements of N (N = 1 in this case) from the top of an ordered list.

    I hope that answers your question.
    If not, post a small example of data (CREATE TABLE and INSERT, only relevant columns instructions) to your sample data and the results desired from these data.  (I know that you said that you were a view selection.  Just for this thread, pretending it is a picture and post simple CREATE TABLE and INSERT statements to simulate your point of view).
    Point where the above query is to produce erroneous results, and explain, using specific examples, how you get the right results from data provided in these places.  (I didn't quite understand the explanation above.  I don't know why you want to

    ID ORG DF DRY SUB_SEC

    --      ---     --      ---     -------

    1234 CQ DPRK DPRK HD

    and is not

    1234 IS CQ ASIC, ASIC

    or

    TS 1234 IT IT SW

    or

    1234 CQ ASIC ASIC HD

    )
    If you change the query at all, post your modified version.
    Always say what version of Oracle you are using (for example, 11.2.0.2.0).

    See the FAQ forum: https://forums.oracle.com/message/9362002

  • How to delete duplicate records

    Suppose I have a table with N columns and K TAB (K < N) for which I should not have duplicated (in other words, the K column can be a key primary candidated)
    Can you give me a SQL query to delete duplicate records of TAB for columns K?
    Thank you very much!

    remove the tab where rowid not in (select min (rowid) of the TAB group by k)

  • BlackBerry smartphones could use some help with the desktop software

    I'm sure this has been asked before, and I hate to be the guy who never had a blackberry and a question that has been asked a million times, but I can't figure it out and my ISP (virgin mobile), is not being very the problem. All I want to do is to download the software to my PC, so I can transfer songs from my hard drive to my Blackberry and similar functions. I followed the steps one blackberry software page and then come to a point where it asks me to choose what software I want. Now, I'm not very computer any help at all would be greatly appreciated. And as I have previosly stated my provider virgin mobile and my phone is a blackberry pearl

    (8130) thank you in advance.

    see you soon

    I must say yes 'I want Mass Storage'.

    from the home screen:
    Options > media card

    don't like me:
    Media card support: WE
    Encryption mode: NONE
    Mass storage support: WE
    Auto enable mass storage: YES

    then, when you plug in the usb cable, your Blackberry will be just a simple Player cards with a card 8 GB inside.

  • Help with blackberry Desktop Manager blackBerry Smartphones!

    I tried to transfer my music from iTunes to my blackberry "BOLD", but every time I try to do it I get this message "the Blackberry Media Sync Setup failed to initialize. Please run the Blackberry Desktop software with administrator privileges and try again. Help, please!

    I still have the same problem. When I open the Desktop Manager it won't let me not sync my iTunes music and gives me this message "the Blackberry Media Sync Setup failed to Initialize. Please run the Blackberry Desktop software with administrator privileges and try again.

  • I need help with something simple [How do I Center my webpage?]

    Hello

    I followed the lessons to make my own site. I managed (with the help of you all) but I have a stupid thing that I can't understand. How do I Center the page 1000px. I have now with each thing on the left.

    small page.png

    The 1000px width setting (any id, class or element that has put on in your css), where to add in the next "BOLD" song...

    {#whatever_id}

    Width: 1000px;
    others: attributes;
         Auto margin: 0;

    }

  • Dumping Windows 8 installation of Windows 7 need help with drivers desktop HP ENVY

    During the holidays, we bought a HP ENVY with Windows 8 is installed, model H8 - 1417C.  This machine has a processor intel I7 3rd generation processor a graphics card from nvidia Geforce GT 630 with 2 GB of memory preinstalled audio beats and 12 GB of RAM as well as a 2 TB HDD.  Sounds like a great machine however several programs I use are not windows 8 compatible over all work via citrx will not load windows 8 anytime in the forseable future.  I therefore decided to remove the original hard disk and replace it with another 2 TB drive and install Windows 7, already purchased.  Today was the day of the change more however when I started hunting for the drivers I came across problems.  HP web site uses drivers for download only in Windows 8.  Its been a while since I've worked inside a machine and Windows 8 only adds to the problems.  But I am sure that if I can find the drivers that I can do the job, that is why I bought the Tablet instead of custom build in order to avoid all this. THANKS in advance for any help.

    You are the very welcome.

    Is there a recommended order generally agreed to install some of the hardware drivers.

    1 chip set.  Install and reboot.

    2 chart. Install and reboot.

    3. audio. Installation and reboot

    4. network cable.

    All others as you wish.

  • need help with the code for update of a record (conditional release)

    all together

    Published by: 871431 on July 9, 2011 18:30

    871431 wrote:
    Hello

    I am looking to update a table that contains documents approved & not homologous, for this combination date & funds it should allow the only recording not approved.

    what I did is check if the recording is U if the incoming value is not approved for this error of combination stimulus funds & date, but if I need to update this unlicensed recording error... so I need to update record, and trigger the error if try to insert another disc not approved.
    Hope I am clear...

    Not clear for me

    Help pls

    Please realize and understand that everyone here talks about SQL

    Please post DDL for table
    Please provide the sample/test data & then explain with the help of data from the trial itself said it that results should be & why

  • How to remove duplicate records...

    Hello

    I have a strange scenario below is the structure of the table

    of km
    Bangalore, Mumbai 100
    Mumbai, Bangalore 100
    Bangalore, Chennai 50

    I want the output as given that the distance is even bangalore to Bombay and mumbai to bangalore I want only one instance...

    of km
    Bangalore, Mumbai 100
    Bangalore, Chennai 50

    I was able to find duplicate using following query records but put not able to come to the final...

    Select a.frm, b.frm, a.km
    distance a distance b
    where a.frm = b.too
    and b.frm = a.too

    Thanks in advance...


    Sree
    WITH t AS (
                SELECT 'Bangalore' col1, 'Mumbai' col2, 100 col3 FROM DUAL
               UNION ALL
                SELECT 'Mumbai', 'Bangalore', 100 FROM DUAL
               UNION ALL
                SELECT 'Bangalore', 'Chennai', 50 FROM DUAL
              )
    SELECT  DISTINCT LEAST(col1,col2) col1,
                     GREATEST(col1,col2) col1,
                     col3
      FROM  t
    /
    
    COL1      COL1            COL3
    --------- --------- ----------
    Bangalore Mumbai           100
    Bangalore Chennai           50
    
    SQL> 
    

    SY.

  • Need help with the update server behaviors and deleting records

    I am 'trying' to use the update and delete record server behaviors and I can't get the redirection page to set up correctly. What I'm trying to do, is to have the redirection came up with the right records depending on the CompId page. It seems that it is taking the CompId and agreementId (which are my unique ID) and use them in the url of the redirection page. Also, it updates the table. Here is the url that appears after I have send the update:

    http://localhost:8888/dotweb/maintenance/agreement_home.php?CompId= & agreementId = 7

    Here is the code for the update page:

    Name of the document
    Signed?
    First name
    Family name
    Date of signature

    Pending patent, trade mark, Tradesecret and straightened to copy recorded
    Copyright KML designs 2009

    Can someone tell me why it would show the CompId and agreementId when everything I asked the CompId? Thanks for your help. Just in case, I enclose you an html version of this file. It must be a php file, but is not one of the allowed file types.

    CompId is not filled in the URL because you try to use the result of the rsAgree recordset object until the result of the recordset is created. However, you pass the CompId value via array $_POST as a hidden field.

    Change this line (52):

    $updateGoTo = "agreement_home.php?CompId=" . $row_rsAgree['CompId'] . "";
    

    to do this:

    $updateGoTo = "agreement_home.php?CompId=" . $_POST['CompId'];
    
  • How to choose the record scontains 3 or more vowels/consonants?

    Hello

    I want to select records that contains 3, vowel or consonant letters and more. For example: AEI, SSTV, FGHATHER, EEEAR etc...

    I think I should use a regular expression, but I don't ' know how. I will be appreciated if you can send the right SQL.

    I also use 10g.

    Thank you

    Try this:

    WITH abc AS
         (SELECT 'aei' a
            FROM DUAL
          UNION ALL
          SELECT 'fgherwer' a
            FROM DUAL
          UNION ALL
          SELECT 'fgaafg' a
            FROM DUAL)
    SELECT a
      FROM abc
      WHERE REGEXP_INSTR(a, '[a|e|i|o|u]{3}') > 0 OR  REGEXP_INSTR(a, '[^a|e|i|o|u]{3}') > 0 
    

    Search string are case-senstive make sure your value in the column is lowercase if you use the expression as it is.

    concerning
    AJ

    Published by: AJ99 on June 25, 2009 12:08

  • Need help with Tempo on U-series of satellites

    I installed tempo and try to download the last updae of bios it says that I need. but I get the following error message...

    + Unfortunately, your personalized list of drivers has expired. Please click on a link below for more information.

    Can anyone help with this? How to complete the download. (I am connected to ok)

    see you soon

    If you want to download a driver, update the BIOS or other Toshiba stuff you can do it directly. Visit http://eu.computers.toshiba-europe.com > download & support. Select your laptop model and you will find everything you need.

  • I need help with a problem of file softdub.dll any answers or how to replace it?

    I need help with a problem of file softdub.dll all the answers, or how to replace it?  Yes, it's a problem of Vista vs itunes and apparently I lost? This file somehow.  I have no idea how blessed remedy.  I tried all the normal fixes / easy I know, but I am a novice at best.  so please, be gentle and try to guide me through a response.  Please, I beg you!

    Hello

    Did you download and save iTunes on the desktop > then right-click > select run as administrator to install?

    If you don't have anything done, see if this information helps you.

    "Not to install iTunes or QuickTime for Windows"

    http://support.Apple.com/kb/HT1926

    «Remove and reinstall iTunes, QuickTime, and other software components for Windows Vista or Windows 7»

    http://support.Apple.com/kb/HT1923

    If the advice already given does not, please contact Apple for assistance.

    "iTunes support-how to use iTunes.

    http://www.Apple.com/support/iTunes/

    "Contact iTunes Support.

    http://www.Apple.com/support/iTunes/contact/

    Or ask in the community Apple iTunes:

    https://discussions.Apple.com/community/iTunes

    See you soon.

  • How to access Windows 8 PC on the Internet with remote desktop connection?

    Hello

    Can someone tell me how to access Windows 8 PC on the Internet with remote desktop connection?

    I'm good with the software and I have used many Microsoft software since the 1980s. So I like Microsoft products, but since they have outsourced their tech support, you can't support quality even if you pay for it. I followed all the instructions in the Windows 8 will help about DRC setting screens, but I can't connect unless I'm on the same home network. Here are the details:

    I have a desktop PC with Windows 8 Pro and I have authorized the DRC. I tried two settings in system properties:

    1. Allow connections to this computer remotely.
    2. That allow the connection of computers running Office remotely with authentication NLA.

    I also turned on both private and Public Windows Firewall settings > allow an App or feature through Windows Firewall.

    I have installation then DRC to my laptop with Windows 8 (standard edition, not the Pro version). I have a DRC using the full name of the computer and other DRC using the static IP address for my ISP Desktop connection.

    I use the user account administrator Windows for connections of DRC of the laptop.

    I cannot get this to work on the Internet from a location outside my house with another ISP connection. The only way it works if I'm uncomfortable with the laptop using the same network home.

    I called Dell tech support and it is always useless and just a more aggravating waste of an hour to talk to their support of technique outsourced in India (who barely even understand English) and then they hang up the phone as it was supposed to be disconnected. I also called Microsoft support and lost more than an hour to speak to their outsourced tech support in the Philippines (and as support of the India, they hang up or 'disconnect' when they cannot answer your question and they go account learn you more about Windows while they do). U.S. tech companies use AMERICANS more for their technical support so their customers can get people who actually care about doing a good job and can actually understand English?

    So if someone who knows using Windows 8 for DRC on the Internet has some tips, then it would be greatly appreciated.

    Thank you!!

    P.S. If anyone is offended by my comments about the ugly, incompetent, stupid providing "technical support" in India or the Philippines - Nevermind! You go ahead and waste hours of your time talking to some Morón in these countries, who barely understands English and then 'disconnects' the call when they know that you realize that they are clueless and have all the answers.

    Take a look at no - IP.com or dyndns.com, and then use your host.domain:3389 of no.-ip/dynDNS or run RelaVNc SErver that is running on port 5900 by default.  Server options allow you to change the port as well if necessary.

  • Help! For an assignment, I need to use InDesign 2014 to make a digital item. I have the CC with 2015. How can I get the version of 2014 for my Mac

    Help! For an assignment, I need to use InDesign 2014 to make a digital item. I have the CC with 2015. How can I get the version of 2014 for my Mac

    Sorry, I can not explain this. It is not sensible.

    Try going to your cloud creative desktop App. Click on the "gear" icon > Preferences > General. Sign out and then sign in using your Adobe ID and see if it looks different.

Maybe you are looking for