"Transform each". How each group in a shape layer automatically adapts?

I have a file HAVE a fish composed solely of points. Hundreds. When I transform a shape layer I want then to each point on the scale of 0%, of the center of each point, NO Center of the whole fish. Basically, what "transform each" made in artificial intelligence. Is there anyway to do that without having to ask a transformation for each group to the inside of the shape layer itself, perhaps expressions or a plug-in or a another method? I made a map of the Australia last week manually and it drove me almost crazy *. And it's only 50 groups.

The only other way I can think is to do at the start of each point a layer separated in illustrator, which would be a headache, but would be even better than the manual method.

* the reason of insanity is when you copy / paste the attributes of each group in a form, there's a chance, it will replace the path in this group with one of you copy and paste attributes. I do not have 100% understood the rhyme or reason to this

If there is transparency between the points and you want to make small just apply effect > Matte > Simple Choker. If there is no transparency, and you can create a cache of luma and, before to compose, then apply Simple Choker.

Tags: After Effects

Similar Questions

  • How to make a vector shape / layer in a mask without pixelation it?

    Watching Nigel French on Lynda.com transform a form (using the custom shape tool) in a mask, but following the same exact procedure he does not work for me:

    Select a new layer, press U, select Custom Shapes, has chosen to target record, size and release.

    Voila! In the video, he gets a layer mask on this new layer. I just get a new layer - and it's driving me crazy. He goes on to pen the layer to soften the edges, which, if it is possible, can be useful.

    I tried half a dozen variations such as drag and drop, creating a new layer from a solid fill color and me cannot work out how to make the shape in a mask. Can someone tell me what I am doing wrong? I'm guessing that there is a setting I'm missing somewhere, maybe?

    just to be clear, I know that I can put a mask on my vector form by clicking on the icon of the mask or of the layer > vector mask > current path, but this is not what I'm asking. I want to know how to make the shape I paint in a mask on a layer, we layer (as in the right of it).

    If you can see, the video is here at the minute mark 7: create a logo with some shape layers in the Photoshop course for designers: shape layers

    The transcript over this article reads

    I want to fill the shape with white. So I'll do my foreground color white and press the Option or Alt + Delete as follows, and I also want to then adjust the opacity. I'll take the opacity down and here's something I want to do. I would like to pen, so that make us it sweet. Now, you may be thinking, wait a minute, all these layers of shape are vectors, how can they be feathered? Surely, they cannot be softened. Well, actually, they can.

    If we go to the masks Panel, I can simply increase the amount of feathering and you can see as I do he soft all edges in this path. Now another problem I have is that the inside of this shape of the target is displayed in the center of the bagel and we do not want that to happen. So I could spend time trying to position it just so, so that we don't see. But easier than that I'll just double-click my masks to make it smaller.

    Without having read what you have written here, I just Ctrl + click on the content icon in the palette shape layer layers to select the transparency of the layer.  This selection allows you to hide a layer in the layer to hide targetint then click on the Add layer mask in the layers palette.  The current selection will be used to create the layer mask.

  • How to get all the records for each group - double

    Hi all

    I have developed customized reports, I have a three for each group, the first group is for PO number and the second is for line number Po and the third is for activity ID.


    Today the third group is based on the activity ID.

    Some time the activity id is unique and other data are different. If at this time its settlement only one record.

    For example

    Date of activity Id

    1 25 - Jan

    1 26 - Jan



    Its single record display.

    Can someone tell me how to avoid this separate for each group.

    Thanks and greetings
    Srikkanth.M

    As another user said, delete syntax regroup.
    Why do you bring here?

  • How to give rownumber for each group

    Hai All

    I use the function group to separate and in this group, I need to give rownumber to each departure of members of Group 1 and when a group is on the needs in number to start new 1


    For example

    There are 3 Department and it is separated by the function of group by Department and here I need to give the line number. And the line number must be separated for each group

    Thanks and greetings

    Srikkanth.M

    How about using...

    ROW_NUMBER() OVER (partition by GROUP order by X)
    

    If this is not the case, how about post you some sample data and the output you want from these data.

    In addition, your version of Oracle

    select * from v$version;
    
  • How to assign the ID of group for each group in the SQL query.

    Hi all

    I want to assign the ID of group for each group (group ID of series). I tried with the row_number function but did not work for my requiredment. Here is my sample data and my requirement.

    Col1
    A
    A
    A
    A
    A
    B
    C
    D
    D
    D
    D
    E
    E
    E
    F
    G
    G
    G

    I want to get number of each column with ID group assign to it value. Here is my example output

    Col1 County Group ID
    A 5 1
    A 5 1
    A 5 1
    A 5 1
    A 5 1
    B 1 2
    C 1 3
    D 4 4
    D 4 4
    D 4 4
    D 4 4
    E 3 5
    E 3 5
    E 3 5
    F 1 6
    G 3 7
    G 3 7
    G 3 7

    Select col1, count (1) NTC (col1 partition).

    ROW_NUMBER() over (partition by col1 by col1 order) tbl_test grp_id.

    Please help me solve this problem.

    SELECT

    COL1,

    COUNT (*) ON MYCOUNT (COL1 PARTITION).

    DENSE_RANK () OVER (ORDER BY COL1) GROUPID

    Of

    T1;

  • Transform a shape layer with several groups/paths in another?

    Hello

    I'm trying to turn the form A B-shaped into aftereffects.

    shapes copy.jpg

    Both are drawn in illustrator, and I imported into aftereffects and diverted path to forms.

    At the moment I do a key framing color and the path in the sticky on the form A and form B. From there I will meet with two questions.

    (1) for now I have to manually open each group, every path, every feature of color until I'm able to keyframe them. After that I have to paste the keyframe of the track and keyframe colors individually to the corresponding group. It's doable, but I have to turn the form in 10 more other variants. Just want to check is there a shorter way to the key all the way to access and color properties frame. And then copy all of the keyframes from one form to the other.

    Screen Shot 2016-04-21 at 2.33.34 PM.png

    (2) I noticed that not all the points on the path are created equal. I think that the "starting point" is noted with an extra box compared to other points.

    Screen Shot 2016-04-21 at 2.47.02 PM.pngScreen Shot 2016-04-21 at 2.47.14 PM.png

    As the "starting point" of a path is different from the rest, the transition has become weirdshape.gif.
    Can I check if someone knows how to change the "starting point" to another point on the same path? Or y at - it another way of fixing?

    Finally, if there is more easy morphing shapes to another, I'll be happy to listen. Thanks a lot ~

    I would do this kind of thing differently and 90% of the work in Illustrator.

    I would like to begin by drawing a path in Illustrator, to duplicate the path and to change the size and position and change the color of the outline of the color I wanted for the inside of the first form at the beginning of the animation.

    I use then the gradient tool to create a blend between the two forms specifying the number of steps, so my first form duly filled out for one frame looked like this:

    I would then do the same for my second form by using different colors, so I got this:

    With the two mixtures on you will see this:

    The upper mixing layer is where your animation will start and the bottom is where your animation should end.

    The next step is to select Merge layers and spread the mixture, if you find yourself with two groups:

    Here comes the fun part. Select groups, and then specify the number of steps you want as long as the number of images that you want in your animation. In this case, I want a second 1 transition and my comp is 29.97 FPS, so I selected 30.

    Now spread the mixture:

    We should end up with a group at layer 1 with 30 subgroups:

    Ungroup the higher group only then deselect all layers and select a single layer, then choose release to layers (sequence).

    now select all sub layers in the layer panel and drag it above layer 1. Layer 1 is now empty, so you can delete:

    Save the file HAVE and import into AE as a model with the size of the layer keeps selected:

    [Open the model, select all layers, move the a CTI frame to the right by pressing Ctrl/Cmnd + arrow to the right, then press Alt/Option +] to set the out point of all layers and then the wizard from keyframe to the layers in sequence without overlapping:

    I usually go to the point of exit of the background layer and press N to set the work area exit point, then cut the comp to work area.

    This model is then nested in your main comp and you can activate the time-remapping, so you can change the speed and use CC force motion blur to smooth animation.

    You will find it much easier to create the morph to a shape layer in Illustrator those in AE, you don't need to convert anything to forms and most of the work is done for you before you start. Total time to create this project with about 1/4 of the time it took to create this post.

  • How to scale objects in one layer with each object in the same position

    I have a card with symbols on it, placed exactly where they should be. Is it possible to scale all the objects in a layer or group to be bigger, but not treat them as a layer that is stretched to scale proportionally? Basically, how could I do each larger symbol as if each is to be climbed from their centres?

    I tried to select a layer so that each object is selected, and then transforming them (specifying a percentage of the scale). As a result, the objects are enlarged, but it produces the same results as a normal click and drag the corner alignment point. Any ideas?

    Object--> transform each. Each object / group object must be properly structured and selected individually.

    Mylenium

  • Added option inlines for each group

    Hello

    < A1 >

    < B1 >

    ABC < C1 > < / C1 >

    def < C2 > < / C2 >

    < C3 > 123 < / C3 >

    < / B1 >

    < B1 >

    ABC < C1 > < / C1 >

    def < C2 > < / C2 >

    < C3 > 456 < / C3 >

    < / B1 >

    < / A1 >

    From the example I show o/p as above: 123 456 and here I have to add a condition to check also the empty spaces. So I tried two solutions below.

    = PlanA:

    <? for-each@inlines:C3? > <? ? >

    <? xdoxslt:IfElse ((position () = last (), ",",")? >

    <? end foreach? >

    (1) with above approach I'm not able to check the empty spaces!  output can be shown as: 123 456

    OR

    = Plan B:

    <? for-each-group: B1; / C3 >

    <? C3? >

    <? If @:(C3='') rank? > <? xdoxslt:IfElse ((position () = last (), ",",")? >

    <? end if? >

    <? end for each group -? >

    With above approach am able to check the empty spaces, but the output is coming up as below.

    123

    ,

    456

    (2) then how can I show this in a single line. ?

    Thank you

    Rajesh

    Can be?

  • Export the configuration information for each group

    How to export the configuration information for each group? (I want to see the information that this group has read or write access to the cube XXXXX)

    By LCM, I was able to export information on groups and users. But no information about its commissioning. can any body tell me how can I get the configuration of shared services information

    We have a utility to do this, or can we get this information using LCM?

    Any information about him will be useful

    Thank you

    The commissioning is under Application groups > Foundation > Shared Services > native Directory > assigned roles > then choose the product / app

    There is a utility command line available if you want to automate the process of execution of export - Oracle Hyperion Enterprise Performance Management System Lifecycle Management Guide, you create the definition of migration file but which can be done by running an export.

    See you soon

    John

    http://John-Goodwin.blogspot.com/

  • Error using nested for each group - in Oracle XSLT

    Hello everyone. Thank you for taking the time to post this thread.
    I created a XSLT transformation that runs on oxygen, but does not work in Oracle.

    Given this XML-

    < country >
    < info enum = "CTRY" name = 'United States' States-total = "50" / >
    < enum = 'ST' index info = '0' sname = "New York" population = "8 244 910" / >
    < enum = 'ST' index info = '0' sname = "Chicago" population = "2 707 120" / >
    < info enum = "CTRY" name = 'Germany' States-total = "16" / >
    < enum = 'ST' index info = '1' sname = population "Berlin" = "3 469 910" / >
    < enum = 'ST' index info = '1' sname = population "Brandenburg" = "2 500 000" / >
    < / country >

    Work of XSLT in the oxygen-

    < xsl: template match = "/" >
    < country >
    [< xsl: for each group-select = "" countries / * ' group-starting-with="info[@enum='CTRY"] ">"
    < CountryInfo >
    < xsl: Call-template name = "ctry" / >
    < / CountryInfo >
    < / xsl: for each group->
    < / country >
    < / xsl: template >

    < xsl: template name = "ctry" >
    < name > country: < xsl: value-of select="@name"/ > < / name >
    districts of <>< xsl: value-of select="@total-states"/ > < / districts >
    < xsl: for each group-select = "current - group ()" group-by="@index" >
    < xsl: Call-template name = "States" / >
    < / xsl: for each group->
    < / xsl: template >

    < xsl: template name = "States" >
    < name of xsl: variable = "index" select="@index"/ >
    States <>
    < xsl: for each select = "current - group ()" >
    < name >
    < xsl: value-of select="@sname"/ >
    < / name >
    < / xsl: foreach >
    < / states >
    < / xsl: template >

    I get the desired oxygen - result

    < country >
    < CountryInfo >
    < name > country: United States of America < / name >
    < > 50 districts < / districts >
    States <>
    < name > New York < / name >
    < name > Chicago < / name >
    < / states >
    < / CountryInfo >
    < CountryInfo >
    < name > country: Germany < / name >
    < > 16 districts < / districts >
    States <>
    < name > Berlin < / name >
    Brandenburg < name > < / name >
    < / states >
    < / CountryInfo >
    < / country >

    In a transformation of Oracle, I get an error "cannot perform XPath expression. I have narrowed down the cause of the error. The error is caused by
    the nested for each group - using 'current - group ().'

    < xsl: for each group-select = "current - group ()" group-by="@index" >
    < xsl: Call-template name = "States" / >
    < / xsl: for each group->

    Oracle does not throw an error if I use ' Country/info' instead of 'current - group ()', but this does not produce the desired result
    because he needs to be grouped by "@index."

    Does anyone know why my XSLT does not work in a transformation from Oracle?

    oracleistheway wrote:
    Does anyone know why my XSLT does not work in a transformation from Oracle?

    What do you mean by "transform Oracle?

    If you are referring to the integrated database XSLT processor available through XMLTransform or DBMS_XSLProcessor API, it does not support XSLT 2.0, 1.0 only.

    If you use the XDK Java (oracle.xml.parser.v2) Please give the exact version.

  • detect pageitems groups and iterate through the items in each group

    Hello

    I can use some help with a script that I'm trying. The script creates a new layer based on a fill color of objects and then move the item to the new layer.

    What I can't understand is how to check if a pageItem is a group, and if so, scroll through all the objects within the group. What I have so far (snippit) is:

    var doc = app.activeDocument;
    var LayerName = "0";
    var MyArray = new Array;
    
    for ( j=0; j < Counter; j++ ) 
        {
        CurrentItem = doc.pageItems[j];
        if (CurrentItem.typename != "GroupItem" && CurrentItem.typename != "CompoundPathItem" && CurrentItem.parent.typename != "GroupItem" && CurrentItem.parent.typename != "CompoundPathItem") 
           {  
            LayerName = ConstructLayerNameBasedOnFillColor( CurrentItem );
            CurrentItem.move( app.activeDocument.layers.getByName( LayerName ), ElementPlacement.PLACEATBEGINNING );
           }
          else 
           {  
            if (CurrentItem.typename == "GroupItem") //  seems to be wrong as it also returns true for an item within the group
            { 
             myArray = [];
                for ................ // cycle through each item within the group
                 {
                  LayerName = ConstructLayerNameBasedOnFillColor( CurrentGroupItem );
                  MyArray.push(LayerName);
                 }
             LayerName = GetMostCommonColor(MyArray);
             ................. // move the group (including all items within the group) to layer LayerName
              }
           } 
        }
    

    Is the part that I need help:

    1:  if (CurrentItem.typename == "GroupItem") //  seems to be wrong as it also returns true for an item within the group
    2:     { 
    3:     myArray = [];
    4:      for ................ // cycle through each item within the group
    5:         {
    6:          LayerName = ConstructLayerNameBasedOnFillColor( CurrentGroupItem );
    7:          MyArray.push(LayerName);
    8:         }
    9:     LayerName = GetMostCommonColor(MyArray);
    10:     ................. // move the group (including all items within the group) to layer LayerName
    11:    }
    

    line 1: how to check if the pageItem is a group

    line 4: scroll all the items in the Group

    line 10: move the group to a new layer

    Any help is appreciated.

    Have you tried running the loop backwards in the case where the index is messed up.

     m=0; m < CurrentItem.pageItems.length-1; m-- 
    
  • using for each group to combine the 2 data lines

    My xml file has the following in it:

    -< AC_DEDUCTIONS >
    voluntary deductions < ELEMENT_CLASSIFICATION > < / ELEMENT_CLASSIFICATION >
    < ELEMENT_TYPE_ID > 3475 < / ELEMENT_TYPE_ID >
    < PRIMARY_BALANCE > 498500 < / PRIMARY_BALANCE >
    < PROCESSING_PRIORITY > 5750 < / PROCESSING_PRIORITY >
    < CURRENT_AMOUNT > 26.22 < / CURRENT_AMOUNT >
    < YTD_AMOUNT > 26.22 < / YTD_AMOUNT >
    < REPORTING_NAME > Opt life Emp < / REPORTING_NAME >
    < ATTRIBUTE_NAME / >
    < RATE_MUL / >
    < DISPLAY_NAME > Opt life Emp < / DISPLAY_NAME >
    < / AC_DEDUCTIONS >
    -< AC_DEDUCTIONS >
    voluntary deductions < ELEMENT_CLASSIFICATION > < / ELEMENT_CLASSIFICATION >
    < ELEMENT_TYPE_ID > 1181 < / ELEMENT_TYPE_ID >
    < PRIMARY_BALANCE > 3511 < / PRIMARY_BALANCE >
    < PROCESSING_PRIORITY > 5750 < / PROCESSING_PRIORITY >
    < CURRENT_AMOUNT > 0 < / CURRENT_AMOUNT >
    < YTD_AMOUNT > 474.95 < / YTD_AMOUNT >
    < REPORTING_NAME > Opt life Emp < / REPORTING_NAME >
    < ATTRIBUTE_NAME / >
    < RATE_MUL / >
    < DISPLAY_NAME > Opt life Emp < / DISPLAY_NAME >
    < / AC_DEDUCTIONS >

    Rather than having my exit needle 2 rows of data:

    current name amount CDA amount

    Opt life Emp 26.22 26.22
    Opt life Emp 0 474.95


    I'd like to see 1 row with the total amount:

    Opt life Emp 26.22 501.17


    How can I use for each group - in my rtf to achieve? Any help is greatly appreciated.

    Thank you.

    Susie

    I know what model you have copied :), I was there, when they created that

    It's yours:

    1 text form field-<><=19]?>
    2 text form field-
    3 text form field-
    4 text form field-
    5 text form field-

    change to:

    Text Form Field 1 -  
    Text Form Field 2 - 
    Text Form Field 3 - 
    Text Form Field 4 -  
    Text Form Field 5 - 
    
  • SQL to group records and apply logic to pick up a record of each group

    Hi friends,

    I am looking for a query group records on some columns in a table and then each group I want to take just a single folder according to certain rules.

    Could have given arranged at will to make my point more clear for you. Here you go:
    CREATE TABLE AD_LIST
    (
      FILE_NAME             VARCHAR2(50 BYTE),
      ACTIVITY_START        DATE,
      ACTIVITY_END          DATE,
      DIVISION              VARCHAR2(50 BYTE),
      ITEM_CODE             VARCHAR2(50 BYTE),
      MULT                  NUMBER,
      RETAIL                NUMBER,
      AD_PAGE               VARCHAR2(1 BYTE),
      FORECAST              NUMBER,
      MEMO                  VARCHAR2(50 BYTE)
      );
    
    INSERT INTO AD_LIST VALUES ('FILE_1','01-APR-2010','15-APR-2010','B',1111,5,10,'A',10,'This must be in my result');
    INSERT INTO AD_LIST VALUES ('FILE_1','01-APR-2010','15-APR-2010','B',1111,1,1,'B',15,'Must not be in my result');
    INSERT INTO AD_LIST VALUES ('FILE_1','01-APR-2010','15-APR-2010','B',1111,6,15,'C',11,'Must not be in my result');
    
    INSERT INTO AD_LIST VALUES ('FILE_1','16-APR-2010','30-APR-2010','N',1111,4,20,'D',40,'Must not be in my result');
    INSERT INTO AD_LIST VALUES ('FILE_1','16-APR-2010','30-APR-2010','N',1111,5,15,'E',30,'Must not be in my result');
    INSERT INTO AD_LIST VALUES ('FILE_1','16-APR-2010','30-APR-2010','N',1111,1,2,'F',20,'This must be in my result');
    
    CREATE TABLE PAGE_RANK
    (
      AD_PAGE VARCHAR2(1 BYTE),
      RANK NUMBER
    );
    
    INSERT INTO PAGE_RANK VALUES ('A',1);
    INSERT INTO PAGE_RANK VALUES ('B',2);
    INSERT INTO PAGE_RANK VALUES ('C',3);
    INSERT INTO PAGE_RANK VALUES ('D',4);
    INSERT INTO PAGE_RANK VALUES ('E',5);
    INSERT INTO PAGE_RANK VALUES ('F',6);
    COMMIT;
    
    SELECT * FROM AD_LIST
    
    FILE     ACTIVITY     ACTIVITY          ITEM               AD
    NAME     START          END          DIV     CODE     MULT     RETAIL     PAGE     FORECAST     MEMO
    -----     --------     ---------     ---     ----     ----     -----     ----     ------     -----------------------     
    FILE_1     4/1/2010     4/15/2010     B     1111     5     10     A     10     This must be in my result
    FILE_1     4/1/2010     4/15/2010     B     1111     1     1     B     15     Must not be in my result
    FILE_1     4/1/2010     4/15/2010     B     1111     6     15     C     11     Must not be in my result
    FILE_1     4/16/2010     4/30/2010     N     1111     4     20     D     40     Must not be in my result
    FILE_1     4/16/2010     4/30/2010     N     1111     5     15     E     30     Must not be in my result
    FILE_1     4/16/2010     4/30/2010     N     1111     1     2     F     20     This must be in my result
    Now, the AD_LIST table I want to group records based on FILE_NAME, ACTIVITY_START, ACTIVITY_END, DIVISION, ITEM_CODE.
    So, in my example here, we have 2 grouped recordset based on the specified columns.

    Also, we have a table, PAGE_RANK, who has a rank corresponding to each issue of ad_page. 1. This is a rank higher than 2. This is why page ad 'A' takes precedence over 'B '. The same for all the other pages of ads.

    Now, we need to choose an announcement of each ad group in determining page ad rank higher within the Group and the value of mult and retail should be replaced by the value that has min(retail/mult). So, using the above data we will have with the full-page ad = 'A' and ad = page had ' as final results since they have the highest grade of advertising page in their group.
    The value of values mult and details of ad_page 'A' = min (10/5, 1/1, 15/6) = 1,1(mult,retail).
    The value of values mult and detail of ad_page would be ' = min (20/4, 15/5, 2/1) = 1,2(mult,retail).

    Finally I have this query below
    SELECT a.file_name,
           a.activity_start,
           a.activity_end,
           a.division,
           a.item_code,
           FIRST_VALUE (a.mult) OVER (PARTITION BY a.file_name, a.activity_start, a.activity_end, a.division, a.item_code ORDER BY (a.retail /
                                                                                                                                    a.mult))
                                                                                                        mult,
           FIRST_VALUE (a.retail) OVER (PARTITION BY a.file_name, a.activity_start, a.activity_end, a.division, a.item_code ORDER BY (a.retail /
                                                                                                                                      a.mult))
                                                                                                      retail,
           FIRST_VALUE (a.ad_page) OVER (PARTITION BY a.file_name, a.activity_start, a.activity_end, a.division, a.item_code ORDER BY (b.RANK))
                                                                                                     ad_page,
           a.forecast,
           a.memo                                                                                                 
      FROM ad_list a, page_rank b
     WHERE a.ad_page = b.ad_page
    This query is giving me all the records, but with the values of what I wanted in the columns Ad_Page, Mult, and retail.
    How can I take only one of each group.

    I get this
    FILE     ACTIVITY     ACTIVITY          ITEM               AD
    NAME     START          END          DIV     CODE     MULT     RETAIL     PAGE     FORECAST     MEMO
    -----     --------     ---------     ---     ----     ----     -----     ----     ------     -----------------------     
    FILE_1     4/1/2010     4/15/2010     B     1111     1     1     A     15     Must not be in my result
    FILE_1     4/1/2010     4/15/2010     B     1111     1     1     A     10     This must be in my result
    FILE_1     4/1/2010     4/15/2010     B     1111     1     1     A     11     Must not be in my result
    FILE_1     4/16/2010     4/30/2010     N     1111     1     2     D     20     This must be in my result
    FILE_1     4/16/2010     4/30/2010     N     1111     1     2     D     30     Must not be in my result
    FILE_1     4/16/2010     4/30/2010     N     1111     1     2     D     40     Must not be in my result
    But I want this
    FILE     ACTIVITY     ACTIVITY          ITEM               AD
    NAME     START          END          DIV     CODE     MULT     RETAIL     PAGE     FORECAST     MEMO
    -----     --------     ---------     ---     ----     ----     -----     ----     ------     -----------------------     
    
    FILE_1     4/1/2010     4/15/2010     B     1111     1     1     A     10     This must be in my result
    FILE_1     4/16/2010     4/30/2010     N     1111     1     2     D     20     This must be in my result
    I have to run this query for thousands of such combination of group.
    Hope someone can shed some light on this query.

    Thanks in advance,
    Raj.

    Hello

    This is called a Query Top - N .

    How do you determine which line of each group you want to display?
    If this is the line with forecasts as low, then:

    WITH   got_r_num     AS
    (
    SELECT a.file_name,
           a.activity_start,
           a.activity_end,
           a.division,
           a.item_code,
           FIRST_VALUE (a.mult) OVER (PARTITION BY a.file_name, a.activity_start, a.activity_end, a.division, a.item_code ORDER BY (a.retail /
                                                                                                                                    a.mult))
                                                                                                        mult,
           FIRST_VALUE (a.retail) OVER (PARTITION BY a.file_name, a.activity_start, a.activity_end, a.division, a.item_code ORDER BY (a.retail /
                                                                                                                                      a.mult))
                                                                                                      retail,
           FIRST_VALUE (a.ad_page) OVER (PARTITION BY a.file_name, a.activity_start, a.activity_end, a.division, a.item_code ORDER BY (b.RNK))
                                                                                                     ad_page,
           a.forecast,
           a.memo,
           ROW_NUMBER () OVER ( PARTITION BY  a.file_name
                                   ,                  a.activity_start
                       ,            a.activity_end
                       ,            a.division
                       ,            a.item_code
                       ORDER BY       a.forecast
                     )      AS r_num
      FROM ad_list a, page_rank b
     WHERE a.ad_page = b.ad_page
    )
    SELECT file_name,
           activity_start,
           activity_end,
           division,
           item_code,
           forecast,
           mult,
           retail,
           ad_page,
           memo
    FROM   got_r_num
    WHERE  r_num     = 1
    ;
    

    If it is something else, then change the ORDER BY clause in the ROW_NUMBER function.

  • Xdofx element within each group

    Hello

    I am trying to accomplish the following:

    <? for-each-group: opportunity [ChangeDate > (xdofx:to_date('01/01/2007','MM/DD/YYYY'))]; / Department? >

    In other words, ChangeDate must be greater than 01/01/2007 (eventually this will be a setting specified by the user, but for now just trying to get the date conversion and comparison of work).

    The use of xdofx within this element for each group - causes the following error, however:

    Caused by: oracle.xdo.parser.v2.XPathException: Namespace prefix "xdofx" used but not declared.

    I get a table error when I try to put the xdofx at the beginning (xdofx: for each group-...).

    How can this be accomplished?

    Option 1:
    Add this kind of logic in the application itself, if possible.

    option 2:
    in model, convert the field date YYYYMMDD and make the comparison.

     displays in YYYYMMDD
     displays changedate in YYYYMMDD
    
    so use.
    
    concat(substring('01/01/2009',7,4), substring('01/01/2009',4,2),substring('01/01/2009',1,2))];./Department?>
    

    Option3:
    XML must have the canonical date format

    This link also has how to convert the date.
    Re: Sysdate - Date Variable

  • Adding namespace in the tag for each group

    I want to use the substring method in tag for each group.
    Like this: <? for-each - group: current - group (); xdofx:substr(xmlTag,3)? >, but it does not work. How to make it work?
    Thank you.

    Just use the native method of substring XSL - http://www.zvon.org/xxl/XSLTreference/Output/function_substring.html

    BEEP is sensitive when you mix native and OPE methods

    Tim

Maybe you are looking for

  • All my contacts and calendar events have disappeared

    All my contacts and calendar events have disappeared on the night of Sunday 10/04/2016 to Monday 11/04/2016. I have an iphone 4. I tried the following: -Settings -Mail, Contacts, calendars -Event calendars/Sync/All It changed nothing. Thank you in ad

  • Problems of camcorder Camileo H20

    Hello Some time ago I bought the camcorder Camileo H20. It works well with one exception - update does not work with reliability. I will describe it more precisely. The camera has two modes of zoom: optical / mechanical that has a priority, and digit

  • Why can't I start a homegroup on my pc? The hacking possible?

    I'm trying to share files between my 2 pc and I am unable to set up a homegroup, he said: I'm part of an already... In my view, that a 'friend' is my first pc piracy! He knows my passwords.

  • During the installation of SP2 (KB2656369) get 0x800706BE error message

    During the installation of SP2 (KB2656369) error 0x800706BE get tried restoring the system without success is - that someone has a fix for this problem?

  • SAN HQ 3.0

    We have SAN HQ 2.6.0.6787 running Windows 2003 R2. We want to move to SAN HQ 3.0 but Windows 2003R2 is no longer supported. Is it possible to make some kind of version 2.6 backup and restore it in a version 3.0 on another machine?