ODI - separate use within the eye field

Hello world
in my project, I have an interface with the table 1 source and 1 list of choice, what type is "expression in the select clause sql".
Here's the problem:
How can I set the ONLY distinct in the subquery? If I write "distinct" before the mapped field, put it outside the subquery, ODI so that the code is not valid
I.E.
I would like something like this:

SELECT a1,
A2,
A3,
(SELECT DISTINCT a4
SEARCH where lookup.field1 = source.field1)
SOURCE

but to do this, ODI:

SELECT a1,
A2,
A3,
SEPARATE (SELECT a4
SEARCH where lookup.field1 = source.field1)
SOURCE


How can I reach my goal without using the distinct clause in the workflow?

Thanks in advance

Hello

I would create a first temporary interface (yellow) with your research as source data store and exactly the same columns in the target. Tab flow, thick 'distinct lines' check box.
Then in your other interface, where you can choose the table of your choice, click the Interfaces tab instead of data store. Find your first interface and thick 'use Interface as derivative temporary Table '.

It should do what you want.

Kind regards
JeromeFr

Tags: Business Intelligence

Similar Questions

  • Model of ADF for use within the declarative component project

    Hello

    JDev 11.1.2.4

    I created a project for my declarative components. I want to create an element with an attribute of type oracle.jbo.Row, but this class is not recognized. What are the libraries I need to include if I want to use the object Row.

    Some basic information: my declarative component is bound to a managed bean.

    Import oracle.jbo.Row;

    @ManagedBean (name = "audit")

    @RequestScoped

    public class AuditBean {}

    Online Privacy;

    public AuditBean() {}

    Var UIXDeclarativeComponent = (UIXDeclarativeComponent) JSFUtils.resolveExpression("#{comp}");

    If (vars == null) {}

    again, throw PropertyNotFoundException ("could not find the name of the attribute [comp] component declarative Vars.");

    }

    line = vars.getAttributes () .get ("row");

    }

    }

    Most of our table have the same fields of audit, and we want to create a component that displays audit information. The component would take the line and check if the attributes are present, if so, display them.

    Thank you

    Hello

    Line belongs to the ADF runtime library. However, your declarative component seems to have another flaw, that is, it uses a bean managed within the scope of the request. She should better use backingBean range (a range of task flow) so it can be used multiple times on a page without the substitution of a previous rendering information. Maybe this isn't a problem if the component cannot forget his condition after rendering

    Frank

  • What RHEL drivers for use within the ESX 3.5 console?

    Hi all.

    I need to update the drivers, firmware, etc. on my Dell Power Edge server.

    At the time until we implemented ESX, I just downloaded the Windows thing and does the job, but now, it's not quite that simple.

    Which version of Red Hat Enterprise Linux (assuming that it is not SuSE) should I download drivers, etc on my Dell my system ESX Server?

    Dell server: PE2900 (I'm OK here; I know where to find the downloads)

    ESX version: 3.5 with no post - 3.5 updated again (after that I updated the server to come)

    Options: RHEL 3, RHEL 4, RHEL 4.5 and RHEL 5

    Thank you.

    Steven

    :,`:`.:,`:`.:,`:`.:,`:`.:,`:`.:,`:`.:,~`:

    Thank you for your kindness and patience that I continue this adventure in the world of virtualization.

    The bullies don't need not answer

    Hello

    Thank you, but I heard the case of VMware in the past.

    For drivers? I am very surprised and doubtful that it is what they meant. However, Dell OpenManage can be, if it of good and done as directed by Dell for VMware ESX.

    I would check that whether in VMware said that to ensure that they spoke drivers/RPM and not just the BIOS/Firmware.

    They recommended that I have specifically install all updates (drivers, firmware, etc.) for my Dell server.

    Firmware and BIOS absolutely. No drivers or RPM... Drivers or RPM will overwrite files of GNU/Linux management appliance and put you in an unknown state.

    I'm looking for the best way to do it, and I landed on the installation stuff planned for RHEL3.

    I would not, you install a new driver within the environment GNU/Linux things might stop working. Remember that the driver in the vmkernel is one that counts.

    Unless someone can show me the 'official' documents of VMware to the contrary, this is my line of conduct at that time.

    Update BIOS and Firmware using a bootable CD/DVD-ROM for this purpose.

    If you install Dell drivers (PMP), then you can end up voiding your warranty, as well as possibly to put your system in an unusable state during the next reboot.

    Warned is worth two.

    Best regards

    Edward L. Haletky

    VMware communities user moderator

    ====

    Author of the book "VMWare ESX Server in the enterprise: planning and securing virtualization servers, Copyright 2008 Pearson Education.»

    Blue gears and other Blogs: http://www.astroarch.com/wiki/index.php/Blog_Roll

  • How to read a variable main.swf (this content.swf of load) and use within the loaded movie?

    Hello

    How to read a variable main.swf (this content.swf of load) and use it within the content.swf?

    I have a variable called TextColor = 'Green' handmade film and I want to read this variable from inside the content movie?

    anyone can help!

    Thank you very much.

    MyGiantBrain thanks for your reply but kglad method worked very well.

    Thanks kglad but there is some changes to your code so that it works, and it is:

    trace (MovieClip (parent.parent) ["TextColor"]);

    Thank you

  • Repetition within the eye behind GREP

    I can't understand why my GREP will not work.

    ( ? < = ^ \s*\d+) [\l\u]

    I want to find a paragraph that begins with zero, one or more spaces, followed one or more numbers that is followed by a letter. But I want to only select the letter (to check that it is formatted and apply paragraph styles accordingly) and not the spaces/numbers. However, it seems that I can't use the + and * operators inside a function of postanalyse since these searches reveal nothing.

    The following expression works, but it includes spaces and numbers:

    [(? < = ^) \s*\d+[\l\u]

    And it works, but only works for the two places of first and a number:

    (? < = ^ \s\s\d) [\l\u]

    I could manually change the expression to match the four different ways that are needed in my document, but I'd rather it can be solved with just an expression.


    Lookbehinds must be of a fixed length, you can't use all the operators +, *, or?. In addition, the behavior with ropes of different lengths gold is, well, "undefined" (memory: I think that only the longer string is considered as?)

    For a simple query, one or two digits for example, you can use the OR operator, like this:

    ((?<><>

    but you're talking about * any * followed by a number of spaces * any * number of digits. It is a large number of combinations of GOLD.

    SimonLinden wrote:

    ..  This works but only works for the two places of first and a number:

    (?<>

    I could manually change the expression to match the four different ways that are needed in my document...

    If it is only four, are those one or two spaces, one or two digits? That should be possible.

  • DECODE() using Insert the DATE field

    I am trying to use the DECODE function to test for NULL before you insert a DATE field. However, it seems only to insert the DATE, with a time of 'default' from 12:00 - it is not inserted properly the time.

    Basically, I need to test if Date1 is NULL. If not I need to concatenate the Date1 DATENT with TIME of Date2 to get a complete date/time... and then insert this new value.

    Generic example:

    -----

    CREATE TABLE DATETEST (TestID NUMBER (1), DATE TestDate);

    -----


    DECLARE
    DATE of v_Date1;
    DATE of v_Date2;


    BEGIN

    v_Date1: = TO_DATE (1 Jan 11 05:53:12 ',' DD-MON-YY hh);
    v_Date2: = TO_DATE (8 February 11 02:18:31 ',' DD-MON-YY hh);

    INSERT IN DATETEST (TestID, TestDate) VALUES ('1', DECODE (v_Date1, NULL, NULL, TO_DATE (To_Char (v_Date1, 'DD-MON-YY') |))) ' ' || To_char(v_Date2, 'HH:mi:SS'), 'DD-MON-YY HH')));

    INSERT IN DATETEST (TestID, TestDate) VALUES ('2', TO_DATE (To_Char (v_Date1, 'DD-MON-YY') |)) ' ' || To_char(v_Date2, 'HH:mi:SS'), 'DD-MON-YY HH'));

    END;

    -----

    SELECT TestID, TO_CHAR (TestDate, ' DD-MON-YY hh) from DATETEST;

    -----


    The following example performs two inserts. With the DECODE function and the other without. One without inserts the time correctly. Can someone tell me why with the DECODE function do? I know I can use a simple if/then to check if the date is null above and put the time in a variable, but since my real scenario is in a lot of other things, I'm trying to keep it as simple as possible.

    Published by: BoredBillJ on July 14, 2011 06:39
    INSERT
      INTO DATETEST(
                    TestID,
                    TestDate
                   )
      VALUES(
             1,
             TRUNC(v_Date1) + (v_Date2 - TRUNC(v_Date2))
            )
    /
    

    SY.

  • Is the uiscrollbar component for use with the text fields only

    Is the uiscrollbar component for text only fields?

    Yes, this isn't in the library, you must call using code.  It is documented in the help files, even if, which should help to get you into use.

  • Generic without using % in the search field

    Hello

    I have a small database + app .asp, containing addresses to about 500 firms.
    Users are able to search for any company name address, street, etc.
    And using %, it is possible to wildcard search the DB. But I don't want the user to have to use the % character.
    Lets assume that the company is called "Big apples Inc.". Apples using %% the company would appear.
    But is it possible to search by wildcard characters automatically, which means that the company would show if fair "apples" are typed without the % sign. I searched the forum, but I can't really find anything on it.

    Best regards / / Pat!


    Try to use % as your default.

  • How to make a gif with a transparent background which is ready to use within the Prime Minister cc pro?

    Hello

    Guy

    could you please explain the process of creating gif with transparent background?

    Just create the document with transparency and save a gif file (' Save as 'or' safe for the Web "according to your needs).

    Are you talking about an animated gif?

  • How to reset the Status field and delete ToDo list outside the user interface?

    All, morning

    HR 802 generating WebHelp.

    I made use of the status field and ToDo List in the past. For my next release aid, I would like to reset these fields for all the subjects, so I can still have accurate reports as subjects of creation/revision of the final course.

    Is it possible to do without opening each topic in the user interface and compensation/change manual fields? (I thought to delete all fields of ToDo and recreate them, but thought that there is an easier way.) This information appears in each section or in a separate file?

    Thank you

    Patrick

    Hi Patrick

    1. Close all topics that can be opened in the editor.
    2. Open the pod of the list of topics.
    3. Select all subjects.
    4. Right-click and choose Properties from the subject.
    5. Click the status tab.
    6. Modify if needed.

    All subjects should change to reflect the new status and the task list settings.

    See you soon... Rick

    Useful and practical links

    Wish to RoboHelp form/Bug report form

    Begin to learn RoboHelp HTML 7 or 8 days - $24.95!

    Adobe Certified RoboHelp HTML Training

    SorcerStone blog

    RoboHelp EBooks

  • Insert the path to the file in the text field

    I'm creating a text tabled at the bottom of a form document that will automatically enter the path of the file (for example. C\:Folder\File) in the document after the document is saved.  I looked at a few Scripts, but nothing seems to work.  I guess it will look something like this on the option "postSave":

    this.rawValue = event.target.path.replace (event.target.documentFileName, "");

    I am a very novice programmer so I don't know if it's even close to right.

    Apparently, some of my search parameters have been extinguished.  This question has already been answered before.  If someone comes looking here, this is a link to the page with the answer.

    http://forums.Adobe.com/message/4007317#4007317

    Enjoy.

    FYI: Here is the code I used for the text field.

    Inspection.TextPage.Bottom.End.Directions.File::preSave - (JavaScript, client)

    this.rawValue = event.target.path

  • Display 'ERROR' in calculated field so dependent on the invalid fields

    With the help of oracle forms 10 g 2.

    I have a field on a form that calculates its values from the other 3 fields/values provided to it. Is currently is a numeric field. The form acts as a case of mistaken for why a presentation could not operate, and so the fields could have given "bad" in them. If one of the three fields that are used for the calculated field is invalid, is there a way to display 'ERROR' in the calculated field or should I simply display an error message instead?

    IE:
    If a is 1, b 2 and c 3 calculated field would display "6".
    If a is 1, b 2 and c f the calculated field would display "ERROR".

    If you make a char data type, the calculated field, you can put whatever you want in it, numbers or the Word error.

    You can even create a calculation function that returns the text - either digital or alpha.

  • HELP - lost the button "calculate" in the "text field properties"! I try to summarize the total for separate text fields in a summary box.

    Help, please!  I try to summarize the total for separate text fields in a summary box, but have lost the tab 'calculate' in the 'text field properties area.  Any help would be greatly appreciated!

    When in forms editing mode (Tools > prepare form), select: more > return to the Acrobat form

    In the future, check the box 'this document requires signatures' when you choose at the beginning: Tools > form prepare

    unless you plan to use the form with eSign Document Adobe cloud service.

  • How far is the eye of the plan z = 0, when you use the PerspectiveCamera?

    I use the PerspectiveCamera in a 3D scene. I need to calculate the angle between the position of the eye and an object when the object has been translated. Simple trigonometry would indicate that I need to know the distance from the position of the eye of the plan z = 0, in addition to the fieldOfView parameter.

    Does anyone know this distance (unpublished)?
    If not, how I can work on the corner?
    Thank you.
    d = -1 * 1 / tan(fov / 2) * sh / 2
    c = 0.8 * d
    

    Where d represents the coordinate z from the eye, fov is the field of vision of the camera from the point of view and sh is up to the scene.
    Look at a volume is a right truncated pyramid, where anything with a coordinate z< 0.8="" *="" d="" will="" be="" truncated="" to="" give="" the="" clip="" distance="">

    Distance of the eye is not published, but can be determined in mathematics. Point of truncation of the pyramid for the cutoff distance is not documented, but can be determined by trial and error, taking into account two different fovs for verification.

    For example, for the field of view of 45 degrees and a height of stage of 200.

    d = -1 * 1 / tan(45 degrees /2) * 200 / 2 = -241.42
    c = 0.8 * -241.42 = -193.13
    

    So anything with a translateZ< -193.13="" will="" not="" be="" seen.="" you="" can="" try="" this="" out="" by="" setting="" translatez="" to="" -194="" in="" the="" following="" program="" and="" the="" rectangle="" will="" no="" longer="" be="">

    If you set the field of view to 30s, the same formula will give a value of d =-373.20 and c = 298.5, so anything with a translateZ<= -299="" will="" be="">

    import javafx.application.Application;
    import javafx.scene.Group;
    import javafx.scene.PerspectiveCamera;
    import javafx.scene.Scene;
    import javafx.scene.paint.Color;
    import javafx.scene.shape.Rectangle;
    import javafx.stage.Stage;
    
    public class PerspectiveFov extends Application {
      public static void main(String[] args) { launch(args); }
      @Override public void start(Stage stage) throws Exception {
        Rectangle rectangle = new Rectangle(95, 95, 10, 10); rectangle.setFill(Color.FORESTGREEN);
    
        rectangle.setTranslateZ(-193);
    
        // define the scene.
        final Scene scene = new Scene(new Group(rectangle), 200, 200, true);
        final PerspectiveCamera perspectiveCamera = new PerspectiveCamera();
        System.out.println(perspectiveCamera.getFieldOfView());
    //    perspectiveCamera.setFieldOfView(30); // max translateZ => 298
        perspectiveCamera.setFieldOfView(45); // max translateZ => 193
        scene.setCamera(perspectiveCamera);
    
        stage.setScene(scene);
        stage.show();
      }
    }
    
  • How to use multiple profiles within the same instance of Thunderbird

    A month ago, I got Thunderbird set up with three profiles,
    and all three could be used in a start only one of
    Thunderbird. That the PC is now gone. I've reconfigured the three
    profiles on a new PC, but can't do all three
    can be used in the same instance of Thunderbird. Can you help me?
    Both computers are / were only Windows7 64 bit.

    Thunderbird opens on the default if a profile
    or
    The Profile Manager is responsible to ask at startup it will allow you to choose which profile to open if it opens the last used profile...

    Thus, it shows a profile at a time within a single instance of Thunderbird.

    However, only one profile can have multiple e-mail accounts.
    for example: I run 4 e-mail accounts in a profile.

Maybe you are looking for

  • HP Pavilion t3720 desktop PC: CPU upgrade

    Hello. I'm looking to upgrade the processor in my HP t3720.The motherboard is an A8M2N-(NodusM3) and the CPU processor is AMD Athlon 64 X 2 4200 +.What are the processors are compatible with this motherboard? I'm a bit confused because I read that so

  • Graphic display problem

    Hello I have problems with a chart correctly displaying a waveform I generation. As you can see in the attached picture, the graph on the right shows only the waveform for the first 200ms. I want that it displays the any 1 second of a data value, the

  • How to MOVE the default location of Windows Fax and Scan?

    We have recently added a second server (Windows Server 2008) to a domain AD., because the new server has more resources, we moved all the DOCUMENTS folder to users from the server (Server 2003) network share to address liked to a share on the new Ser

  • brightness settings problems

    Hello, the problem I encounter is that I can't change my brightness settings. I use a pc windows 7 and have a HP monitor. any help would be appreciated.

  • Cannot find essbase/hyperion 12 c ODI knowledge modules?

    I am trying to import the LKM, IKM and CKM for Hyperion essbase, but I can't able to find in this location for ODI 12 c? Is there another procedure or I've done all this trouble?