Assign the different number to each different group of lines

Hello
I have a simple request, but I can't find any solution.

I would attribute the different sequence number to each different group of my results.

My goal is the following:

http://img10.imageshack.us/img10/51/obieeseqnumbertogroup.jpg

I tried RCOMPTE, C.V. etc... but without success...

Can you help me with this?

Hello

You can try the steps below to get what you are looking for:

-Assuming that your criteria has these columns date, the worker and the group. Create another column with fx as rcount (group) and apply the sort on the column group in the application type tab is necessary to generate counts of sequence based on the criteria group.
-Then apply different conditional formatting on this new column.
-Now in the pivot put this new column in the measure, the worker column into rows and columns date column. You should get an output according to the image displayed by you earlier.
-If you must also sort either worker or date column, do it in pivot view, not in the criteria tab.

I hope this helps!

Thank you

Tags: Business Intelligence

Similar Questions

  • Adding column which gives the serial number for each line in the Bulletin Board

    I use the update version 2 Jdev 11 g.
    I'm the filling of all employees from the emp table ADF table.
    My requirement is to add a column more as the first column and header line which displays the serial number for each serial number of row.the is not available in the table emp in database .i want to generate it dynamically when the data are filled in to ADF table.i don't want not to use the method to get the SQL query rownum. I want to get custom code (in the Managed Bean) or set all of the properties in the subject entity or any other object.

    Published by: sj0609 on September 8, 2009 09:43

    Hello

    Give an id to the table (say 'currRow') varStatus property. Add a column to the table (for example with a text output), then set it to the value of the output text #{currRow.index}.

    Arun-

  • How to assign the different VTEP subnet for each grid of a group pool?

    The design guide NSX to use L3 access design, it is recommended to use the same number VLAN per rack, but with the other subnet

    10.66. < id rack >.0

    10.77. < id rack >.0

    10.88 < id rack >.0

    10.99 < id rack >.0

    If the client compute cluster spread on grids, then we will have a different subnet for each rack VTEP, something like (assuming that vlan 77 is for VTEP0

    < rack 1 > 10.77.1.1, 10.77.1.2, 10.77.1.3...

    < rack 2 > 10.77.2.1, 10.77.2.2, 10.77.2.3...

    During the preparation of the host, GUI invites you to assign VTEP for Pool DHCP/IP, looks like most of the cases we use Pool of IP, then for the compute cluster, how can assign us VTEP IP in a different subnet in a single group?

    Thank you

    Clarisse

    You have two options:

    (1) DHCP using support on every TOR address suggest you. This is the recommended approach

    (2) DHCP then changing manually the VMkernel interface IP address on each ESXi host to match the required subnet - this is not recommended because it is not automatic, but is still supported

  • get the maximum number for each group

    Hi, I am a newbie and work on a project for school. I worked this problem for a few days and made a bit of progress.
    I have two tables, student and register for a database of the College. I need to show students that have the most entries into each large. So far, I have:

    WITH COUNT_Q AS
    (
    SELECT B.SSN, B.MAJOR, COUNT (A.CLASS_NO) AS COUNTCLASS
    TO REGISTER A, STUDENT B
    WHERE A.SSN = B.SSN
    B.SSN GROUP, B.MAJOR
    )

    SELECT MAX (COUNTCLASS), MAJOR
    OF COUNT_Q
    GROUP BY MAJOR
    ;

    I get the correct results, but need to introduce the SSN and the Major of the studens. When I add in the SSN and major, as below, I get too many files.
    WITH COUNT_Q AS
    (
    SELECT B.NAME, B.SSN, B.MAJOR, COUNT (A.SSN) AS COUNTCLASS
    TO REGISTER A, STUDENT B
    WHERE A.SSN = B.SSN
    B.NAME, B.SSN, B.MAJOR GROUP
    )

    SELECT *.
    OF COUNT_Q
    WHERE (COUNTCLASS) IN (SELECT MAX (COUNTCLASS)
    OF COUNT_Q
    GROUP BY MAJOR
    )
    ;

    Can someone point me in the right direction?
    SELECT  B.NAME,
            B.SSN,
            B.MAJOR
      FROM  (
             SELECT  B.NAME,
                     B.SSN,
                     B.MAJOR,
                     COUNT(A.CLASS_NO) SSN_MAJOR_COUNTCLASS
                     DENSE_RANK() OVER(PARTITION BY MAJOR ORDER BY COUNT(A.CLASS_NO) DESC) RNK
               FROM  ENROLL A,
                     STUDENT B
               WHERE A.SSN = B.SSN
               GROUP BY B.NAME,
                        B.SSN,
                        B.MAJOR
            )
      WHERE RNK = 1
    /
    

    SY.

    Published by: Solomon Yakobson, March 27, 2011 18:53

  • Show a total number of emails in Windows Live Mail, not only the total number in each file.

    Windows Live Mail on Windows 7-

    Is there a way to display the total number of emails you have? as opposed to simply show how many e-mail messages are in each file?

    In the section filters, it is customary to say: email unread (12).

    I did what you say.

    Now, in the views section fast, he added another line, so he said:

    Unread mail (12)

    All emails (12)

    But I know a have a few thousand emails into different folders, so, over 12 emails.

    I remember for a long time with a program called Eudora, I think, and he had a page that listed all of your files, with the number of emails in each file, and a total of all THE emails at the bottom.

    Of course, I can add them by hand, but just thought it might be something that, for me, added.

    cranberrymix,

    In my WLM 2011, category "All electronic" shows only not reading the mails for all accounts. Once the emails are read, the figure in brackets will be gone too.
    I think that it is applicable to your case.

    One last thing, if you left click all emails, you will see a long list of e-mails.

  • Assign the role of participant to a group

    have a Group Sales Department
    who does sales roles
    sale participant 3

    How can I assign the entities at all 3 people using Group.

    Please advice

    Hello

    I downloaded a project with three processes which may help you http://www.4shared.com/file/116789115/542a1afd/AssignWorkToSales.html

    All three use the "commercial Service" group and the role of 'Sales' (the role is in the Group).

    (1) the process of the project named 'Sales process One' shows the default behavior. When an instance is created in this process, it flows to the Interactive activity "1. All sales people see this"in the sales role. The instance is not assigned to any sales people and can be done by one of them. One for the task to complete it and the work item instance disappears from all queues popular sale.

    To do this, run
    (a) connect to the workspace as "mike" (the Manager)
    (b) click on the activity of world creation called "1. Create an order seen by all sales people.
    (c) connect to the workspace as all the people of sale ('sally', 'sam' or 'samantha')
    (d) Note that, in the participant column, the work item instance is not affected. This means that any participant in the Group of Department sales (or Sales role) can click on the link 'Send' next to the instance. Once this happens, the body disappears from the Inbox of all persons assigned to the Group of Department sales

    (2) the process of the project named "Sales process Two" shows a technique to assign work to each participant individual. When an instance is created in this process, it flows to the Multiple activity named "assign to specific sales people. Double-click on this activity to see how to assign copies of the Forum to all participants to the Group Sales Department. In this case there are 3 sales people so 3 copies are created and travel activity Interactive "2. Only assigned Sales Person sees this"in the sales role.

    To do this, run
    (a) connect to the workspace as "mike" (the Manager)
    (b) click on the activity of world creation called "2. Create an order seen by all sales people.
    (c) connect to the workspace as the people selling ("sally")
    (d) Note that, in the participant column, the work item instance is attributed to "Sally". This means that only Sally can click the link 'Send' next to the instance. Once this happens, even if the instance is removed from his Inbox, the inboxes of the other people in the Group of the Department sales still have instances of work item assigned specifically to each of them in their Inbox.
    (e) for this instance of work stations to reach successfully the activity at the end of the process, each participant Sales Department must complete this work item as well.

    (3) the process of the project named "sales process three" demonstrates a technique to distribute instances of work item to a player of alternating. When an instance is created in this process, it flows towards an automatic activity that gets the next participant to assign the work item instance using the method in the catalog Ulitliy.RoundRobin.getNextParticipant (). Open this method to see how to assign the instance to a participant group of Department of sales with round robin distribution-specific. In this case, there are 3 sales people if the trial goes to 'Sam '. When another instance is created the second instance goes to "Samantha". In the third instance is created, it is assigned to "Sally". When the 4th instance is created to loop starts over with 'Sam '.

    To do this, run
    (a) connect to the workspace as "mike" (the Manager)
    (b) click on the activity of Global creation called "3. Create order assigned to sellers (Round Robin)". Click this button twice
    (c) connect to the workspace as the people selling ("sally")
    (d) Note that, in the participant column, the item instance to work in activity "3. Assigned to Sales Person (Round Robin) of work"is attributed to"Sally ". This means that only Sally can click the link 'Send' next to the instance.
    (e) Sally from the instance, it goes to the end activity.

    Hope this helps,
    Dan

  • Is there a way to automatically assign the first fields of each page for each participant?

    I send you a document to three people to sign and each person needs to initial each page. Is it possible to automatically add an initial field on each page for each participant, or do I have to drag the initial field to each page for each participant?

    It is a unique document, BTW.

    Hello Joannaw75509803,

    You must manually add each original field at the location in the document and also, if you wish, you can use text tags that you add to the document before downloading in EchoSign and form fields would be created automatically. This is the same documentation:

    https://helpx.Adobe.com/document-cloud/help/adding-Esign-services-agreement-fields.html

    Kind regards

    -Usman

  • Read the serial number in LabVIEW of USB-8476 LIN Module

    Is it possible to read the serial number of a USB-8476 module in LabVIEW. I am building a system that will use 10 of these modules in a single system and I want to be able to verify this LINX = serial No.: ABC. I'm afraid that a 'user' will disconnect and the plug-in a USB module causing the FLAX number to change.

    Hi graveux,

    The ncGetHardwareInfo.vi with the attribute set to "Serial number" should do the trick (use the desired USB interface and port number 1 as inputs).

    -B2k

  • average of k: how to find the data clustred; : or how to assign number t0 each data group

    Hi Member

    I have download the LabVIEW Machine https://decibel.ni.com/content/docs/DOC-19328 learning package

    I want to run the K average algorithm to group the image in a group of two or three or more

    the problem is how to find the result I mean the image of clustred', the image that contain 2 or three threatened value only

    or how aasign a 1 value for all the intesity who

    belong to the cluster a and 255 for data that belongs to group 2

    for the look of the image as binary image?

    a my vi below

    Best regards

    my post before shows how to set the threshold manually using the slider of the graph.

    Here is the version k-means automated help .vi box tools

    Alex

  • Query to find the sum of the different groups in the same column

    Hello

    I have a table as follows:



    visitors
    ------------------------------------------------------------------------------------------
    months of amt credit CustID
    --------------------------------------------------------------------------------------------
    001 C 2000-Jan-2012

    001D 5000 Feb 2012

    001C 3000 Mar-2012

    001C 3000-Apr-2012

    001D 7000-may-2012



    I have to write a single query to calculate the sum of the credit and the sum of the flow values separately.


    Thank you and best regards,
    SB2011

    Hello

    Select decode (credit,' it, sum (amt), sum (amt)) in the Group of customers to credit;

    Published by: 937440 on 24 February 2013 07:06

  • all of the tabs displayed in each tab group

    For no reason, my tabs together (not sure which add-on I actually use to group my tabs) continued to show only the tabs I placed in groups when I clicked on a group. Instead, all my tabs appear in each group. It makes no sense, it defeats the purpose to group tabs in the first place. I don't know why it does this, and it's confusing and frustrating to use.

    For clarity, here's an example: I go to the overall tab that I've marked "personal". It contains two personal tabs that I placed there as well as all the tabs in the last tab group that I was right.

    I've spent the last hour as follows:
    -Read about groups of tabs by Googling the subject, taken repeatedly for the same basic description of the groups tab add-on.
    Googling - my question to repeatedly find the same general forum q & a which does not answer the question, I'll have.

    PLEASE DON'T ANSWER THAT AFTER READING MY WHOLE QUESTION AND IF YOU ARE ABLE TO ADDRESS THE SPECIFIC ISSUE I FEEL.

    Thank you!

    Try to delete the sessionstore.js file in the profile of Firefox, as well as the backups folder in the sessionstore-backups folder.

    Delete sessionstore.js will cause App Tabs and groups of tabs open and closed tabs (back) to get lost and you will have to re-create them (take note or bookmarks if possible).

    You can use this button to go to the Firefox profile folder currently in use:

    • Help > troubleshooting information > profile directory: see file (Linux: open the directory;) Mac: View in the Finder)
  • How to assign the original number of camera to the MAX for the replaced firewire camera

    I have 8 cameras 1394 a (cam0 to cam7) on a machine and cam3 went wrong.  I cut and pasted the cam3.id and cam3 configuration file into a temporary directory.  I plugged the replacement unit and MAX assigned cam8.  How can I change cam8 to cam3?   In the meantime, I opened cam3 configuration file and copied/pasted content in the cam8 config file.  I then changed references in my software VB6 cam3 to cam8 database.

    Hi Dan delphi,.

    You right-click on the camera of MAX and select "Rename." Then select cam3 or whatever ID want you.

  • How to print the page number on each page at RANDOM

    What is the syntax to print the page at RANDOM number

    Hello

    You can do this in two ways

    1. Add the following tags your desire to place on the page

    of

    2. use of the service of MS Work to add page # in the format of your desire

    Please check the issue as resolved, if that answers your question.

  • SQL query to search for the line that contains the identifier for each consecutive group

    Hello

    I'm on 11.2.0.3 Enterprise Edition.

    I have a strange request here - do not know if this is possible without going to procedure...

    Given these data of the sample:

    create table test_status (
      status varchar2(10),
      revision_id number,
      revision_timestamp timestamp);
    
    insert into test_status values ('PROPOSED', 1, systimestamp);
    insert into test_status values ('PROPOSED', 2, systimestamp);
    insert into test_status values ('PROPOSED', 3, systimestamp);
    insert into test_status values ('ACTIVE', 4, systimestamp);
    insert into test_status values ('ACTIVE', 5, systimestamp);
    insert into test_status values ('PROPOSED', 6, systimestamp);
    insert into test_status values ('PROPOSED', 7, systimestamp);
    insert into test_status values ('ACTIVE', 8, systimestamp);
    insert into test_status values ('ACTIVE', 9, systimestamp);
    insert into test_status values ('FINISHED', 10, systimestamp);
    insert into test_status values ('FINISHED', 11, systimestamp);
    insert into test_status values ('FINISHED', 12, systimestamp);
    

    Gives me:

    SQL> select *
      2  from test_status
      3  order by revision_id;
    
    
    STATUS     REVISION_ID REVISION_TIMESTAMP
    ---------- ----------- -----------------------------
    PROPOSED             1 25-SEP-14 04.49.47.954000 PM
    PROPOSED             2 25-SEP-14 04.49.47.962000 PM
    PROPOSED             3 25-SEP-14 04.49.47.966000 PM
    ACTIVE               4 25-SEP-14 04.49.47.969000 PM
    ACTIVE               5 25-SEP-14 04.49.47.972000 PM
    PROPOSED             6 25-SEP-14 04.49.47.976000 PM
    PROPOSED             7 25-SEP-14 04.49.47.979000 PM
    ACTIVE               8 25-SEP-14 04.49.47.982000 PM
    ACTIVE               9 25-SEP-14 04.49.47.987000 PM
    FINISHED            10 25-SEP-14 04.49.47.991000 PM
    FINISHED            11 25-SEP-14 04.49.47.996000 PM
    FINISHED            12 25-SEP-14 04.49.48.000000 PM
    
    
    12 rows selected.
    ws selected.
    

    I want to get this result:

    STATUS     REVISION_ID REVISION_TIMESTAMP
    ---------- ----------- ----------------------------
    PROPOSED             3 25-SEP-14 04.49.47.966000 PM
    ACTIVE               5 25-SEP-14 04.49.47.972000 PM
    PROPOSED             7 25-SEP-14 04.49.47.979000 PM
    ACTIVE               9 25-SEP-14 04.49.47.987000 PM
    FINISHED            12 25-SEP-14 04.49.48.000000 PM
    

    Then query the table ordered by Revision_Id, I would get the line containing the highest revision for each consecutive group of status values.  I am able to get the line containing the highest revision for each separate status, value, but I can't deal with the scenario where a state value reappears later.  In the case of the real world, it is a workflow and I need to take into account the fact that an element through the workflow may be redirected to the back front she proceeds forward again.

    Hope it makes sense.

    Thank you

    John

    Hi, John,.

    John OToole (Dublin) wrote:

    Hello

    I'm on 11.2.0.3 Enterprise Edition.

    I have a strange request here - do not know if this is possible without going to procedure...

    ...

    Do not no stinkin' procedure:

    WITH got_grp_id AS

    (

    SELECT the status, revision_id, revision_timestamp

    ROW_NUMBER () OVER (ORDER BY revision_id)

    -ROW_NUMBER () (PARTITION STATUS

    ORDER BY revision_id

    ) AS grp_id

    OF test_status

    )

    SELECT status

    MAX (revision_id) AS revision_id

    MAX (revision_timestamp) DUNGEON (DENSE_RANK LAST ORDER BY revision_id)

    AS revision_timestamp

    OF got_grp_id

    GROUP BY status, grp_id

    ORDER BY revision_id

    ;

    For an explanation of the technique of Difference sets used here, see

    Analytic Question lag and lead and/or

    Re: Ranking of queries

  • Hello, I'm moving Adobe Creative Suite CS5 to a new computer, but I'm stuck. I lost my case with the serial number...

    When I bought and installed, I is not my Suite.  How can I find my serial number CS5 Suite to install on my new computer? I don't have a box of origin or CD cases. I can find/see the serial number in each application CS5 on my old computer, in their 'system info '.

    The serial numbers of individual applications have 5 sets of 4 numbers, but I wonder the CS5 serial number and calls for 6 sets of 4 numbers. Can anyone help? Thank you

    The serial numbers will be not visible within the program, but you might be able to extract the old installation by using one of the tools below...

    If it's a Windows machine, and then try running Belarc Advisor

    http://www.Belarc.com/free_download.html

    For a Mac, you can try:

    https://Mac-product-key-Finder.com/

Maybe you are looking for