Question rtf - summary of each group to the list of folders

Hello

I got a list of records and he SUM and group these elements have shown as output.  Need help.

XML

AgendaValue
one1
one2
one2
b3
b3

Output

RTF

AgendaValue
one1
one2
one2
Total5
b3
b7
Total10

Thank you

Here's how I implemented the data

1

one

1

2

one

2

3

one

2

4

one

1

5

b

2

6

b

3

7

b

1

Here is a screenshot of the rtf mentioned above using as Mathieu Sundarasamy-Oracle

Here is the result

Tags: Business Intelligence

Similar Questions

  • How can I print a copy of the files in a folder - not each file - just the list

    original title: list of print files

    How can I print a copy of the files in a folder - not each file - just the list? List of cases of printing

    How can I print a copy of the files in a folder - not each file - just the list?

    Karen's directory printer (free)

  • How to create a group in the list of contacts in BB

    Hello..

    I need to create a group in the list of contacts in bb...

    help me by providing code samples...

    Thanks in advance...

    ~ Sam

    It is not possible to create the BlackBerry groups programmatically in the Contacts application.  Only read access is provided.

  • Songs disappearing; error message: "unable to listen to a number of files queued. To get information about the problem, click on the icon next to each file in the list pane. »

    I get this error message: "unable to listen to a number of files queued. To get information about the problem, click on the icon next to each file in the list pane. "The thing is that he played the songs darned two days ago, what has happened since then!

    Never mind. I totally forgot that I had renamed a folder that hosts my music. Duh.

  • updated to 38.2.0 and now I can't see the messages. I don't see the list of folders in the left pane.

    I only see the list of folders in the left pane, but the messages are not displayed. It receives without problem, I can't see the emails.

    pscolnik,

    You were usng the lightning/calendar addon in time. Are you still using it?

  • BookmarkList springs on automaticall junk when you go upwards or downwards in the list of folders. How to prevent?

    BookmarkList springs on unwanted automatically when going upwards or downwards in the list of folders. How to prevent?

    Which may be caused by the presence of a few bookmarks with a long title in the main menu of bookmarks.

    The width of a column in the list of bookmarks is in the current versions of Firefox automatically adjusted the bookmark with the longest name.

    You can check the names of the bookmarks and the longer more short.

  • 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;

  • Line does not come after each row of the list

    Hello

    I show a list in my current application. In the list, I paint a line after each line. Just a line of string, I add in each line. Now when I'm checking the list, on some devices, lines are coming. As in Bold 9790, after each line, a line is added. But in the Torch 9810 and curved 9320, line is not there. I don't get why this different behavior for different devices.

    Can someone please help.

    Here is my code:

    public class ListCallBack implements ListFieldCallback{
    
            public void drawListRow(ListField listField, Graphics graphics, int index,
                    int y, int width) {
    
                String text = "xxxxxxx";
                graphics.setFont(FONT_FAMILY_1_SF_AS_08);
                graphics.drawText(text, 10, y, DrawStyle.ELLIPSIS, width);
    
                if (index != 0) {
                    graphics.setColor(Color.BLACK);
                    graphics.drawLine(0, y-12, width, y-12);
                }
            }
    
            public Object get(ListField listField, int index) {
                // TODO Auto-generated method stub
                return mAccounts[index];
            }
    
            public int getPreferredWidth(ListField listField) {
                // TODO Auto-generated method stub
                return screenWidth;
            }
    
            public int getPreferredHeight() {
                return getContentHeight();
            }
    
            public int indexOfList(ListField listField, String prefix, int start) {
                // TODO Auto-generated method stub
                return listField.getSelectedIndex();
            }
    
            }
    }
    

    Thank you...

    The best result I wanted to say, variable height from station to station. So currently I use the line height and made changes accordingly.

    Here is my Code:

     Font f = FONT_FAMILY_1_SF_AS_08;
                graphics.setFont(f);
                int h = f.getHeight();
                int height = (listField.getRowHeight() - h)/2 ;
                y += height;
                graphics.drawText(text, 10, y, DrawStyle.ELLIPSIS, width);
                if (index != 0) {
                    graphics.setColor(Color.BLACK);
                    graphics.drawLine(0, y - height + 1 , width, y - height + 1);
                }
    

    It worked properly. Thanks a lot Peter and Simon.

  • the list widget with different colors for each item in the list?

    I'll add a widget list to my interactive color wheel:

    * http://r0k.us/graphics/SIHwheel.html

    It is an old applet, first published in 1998 and older than Swing.

    The list contains the names of color 1 567 which he knows the color values. I want the background color to each element to be one of the named color. The forefront color name text will be white or black, chosen for readability to her background. Basically, I'm hoping to accomplish what the name of this color page did with its list widget HTML-form:

    * http://chir.ag/projects/name-that-color/

    I studied the java.awt.list document:

    * http://download.oracle.com/javase/1.4.2/docs/api/java/awt/List.html

    SetBackground() and setForeground() methods are implemented, but they seem to apply only to the list as a whole. As far as I know, it seems there is no access to list items themselves as components. I hope that I am just missing what is obvious.

    -Rich

    What you want to do can be easily implemented on a JList swing, with the help of a custom converter. I would advise therefore to rewrite your applet in the swing, then use a JList. That way you can skip JUnit is studying just to force your applet awt to do something of awt was neither designed for and focus on swing of things GUI. Below is an example of how you can implement your JList:

    import java.awt.*;
    import java.math.BigInteger;
    import java.util.Arrays;
    import java.util.Comparator;
    
    import javax.swing.*;
    import javax.swing.event.ListSelectionEvent;
    import javax.swing.event.ListSelectionListener;
    
    public class ColorList {
    
        public static void main(String[] args) {
         SwingUtilities.invokeLater(new Runnable() {
    
             @Override
             public void run() {
              new ColorList().createGUI();
             }
         });
        }
    
        private void createGUI() {
         String[][] array = getArray();
         // sort the array as you wish
         Arrays.sort(array, new Comparator() {
    
             @Override
             public int compare(String[] o1, String[] o2) {
              return o1[1].compareTo(o2[1]);
             }
    
         });
         // create the JList
         final JList list = new JList(array);
         // set some adequate renderer
         list.setCellRenderer(new DefaultListCellRenderer() {
             private static final long serialVersionUID = 1L;
    
             @Override
             public Component getListCellRendererComponent(JList list,
                  Object value, int index, boolean isSelected,
                  boolean cellHasFocus) {
              DefaultListCellRenderer renderer = (DefaultListCellRenderer) super
                   .getListCellRendererComponent(list, value, index,
                        isSelected, cellHasFocus);
              renderer.setText(((String[]) value)[1]);
              int color = new BigInteger(((String[]) value)[0], 16)
                   .intValue();
              renderer.setBackground(new Color(color));
              renderer.setForeground(new Color(0xFFFFFFFF ^ color));
              return renderer;
             }
         });
         final JLabel demoLabel = new JLabel(
              "Display this text in the selected color", JLabel.CENTER);
         list.addListSelectionListener(new ListSelectionListener() {
    
             @Override
             public void valueChanged(ListSelectionEvent e) {
              String[] selected = (String[]) list.getSelectedValue();
              demoLabel.setForeground(new Color(new BigInteger(selected[0],
                   16).intValue()));
             }
         });
    
         JFrame frame = new JFrame("ColorList");
         frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         frame.add(new JScrollPane(list), BorderLayout.LINE_START);
         frame.add(demoLabel, BorderLayout.CENTER);
         frame.pack();
         frame.setLocationRelativeTo(null);
         frame.setVisible(true);
        }
    
        private String[][] getArray() {
         return new String[][] {
    
         { "000000", "Black" },
    
         { "000080", "Navy Blue" },
    
         { "0000C8", "Dark Blue" },
    
         { "0000FF", "Blue" },
    
         { "000741", "Stratos" },
    
         { "00FF00", "Green" },
    
         { "FF0000", "Red" },
    
         { "FFFFF0", "Ivory" },
    
         { "FFFFFF", "White" }
    
         };
    
        }
    
    }
    

    Piet

  • How to find the list of folders of files owned by a specific user in a shared and its drive path

    Hello people,

    I'm stuck in a situation where I need a list of files & folders belonging to specific user (user is shane and shared path is------Qpmzeul\lis\IM( ) in a shared drive as well as its path.

    I created a file with the command "dir/s/Q \\Qpmzeul\lis\IM>fileslist.csv" .bat and he ran, I got the result but I got the result that includes the same information about other users also that I need, and it is very difficult to filter.

    and then I created the .bat file and used the command DIR/s/Q \\Qpmzeul\lis\IM/S/Q| FIND/i 'shane' > C:\test.csv

    Here, I got the list files and folders owned by user Shane but without path

    Please help me so that I get the path and the results for shane

    Thank you

    Hi Purudharth,

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums:

    http://social.technet.Microsoft.com/forums/en-us/category/w7itpro

  • Some emails do not appear in the list of folders, I can only find them using search Messages

    As of yesterday, the new emails from a regular correspondent do not appear in the list of messages when I click on the Inbox. The only way I can access it is to use "Edition/search/search of Messages. They are still in the Inbox, they have not moved to another folder.
    Thunderbird version is 31.6.0.

    You view the files 'all '? This page could help.
    http://KB.mozillazine.org/Disappearing_mail

  • How can I get the number of emails in my Inbox (not just read but total) to view the list of folders?

    I use to have a count of the total number of mails in my Inbox. This was listed next to "inbox" in my list of folders. With the latest version, it is gone and I can't find anything in the settings which may bring back this feature. I see the number of emails by right clicking on the folder, but I would love to just see it again a glance.

    You have this add-on?

    https://addons.Mozilla.org/en-us/Thunderbird/addon/extra-folder-columns/

    http://chrisramsden.vfast.co.UK/3_How_to_install_Add-ons_in_Thunderbird.html

  • Different color for each item in the list

    Hi all

    I am currently working with a List component and I am looking to change the color of the font for each item individually. Flex allows you to do this? If so, can someone post a solution. Thank you in advance.






    override the private function data (value: Object): void
    {
    Super.Data = value; EXTREMELY IMPORTANT THAT YOU DO THIS FIRST
    If {(value)
    Examine the value and determine the color
    setStyle ("color", somecolor);
    }
    }
    ]]>




  • How can I find my saved e-mail folder? It has disappeared from the list of folders.

    The only detail is the question

    Hello

     
    What mail client do you use to send and receive e-mails?
     
    This is something that is specific to the e-mail provider; answer with the details above for you further help.
  • Thunderbird says it can't find the records that my message filters use and are present in the list of folders.

    The error message reads:

    The record [which] is not found, then the filters associated with this file will be disabled. Verify that the folder exists, and that the filters to point to a valid destination folder.

    If I manually edit the disabled message rules and try a mail run, the same error messages come up.
    

    I have the problem solved. The database of the service provider Internet Mozilla for some reason any returns the name of the server 'imap.gmail.com' when the account is set up in Thunderbird.

    Manually configure as "photoscape", and filters work very well.

Maybe you are looking for

  • Verizon email does not allow me to "respond" to any email.

    of course the Verizon tech support said that the problem is with Firefox (using 31.0)Same problem as another 30 on "verizon email... can't answer the null status said e-mails: 404" thread. I use Verizon email by logging in with Internet explore 8-((m

  • Chromebook 14-q015sa mouse pointer jitters when charging

    Hello CAN ANYONE HELP? I HAVE A NEW HP CHROMEBOOK BOUGHT 14 AT HP SIX WEEKS AGO. I ONLY GOT TO LOAD SEVERAL TIMES BUT EVERY TIME I PLUG IN THE CHARGER AND PUT THE FINGER ON THE TOUCH PAD THE ARROW/POINTER JITTERS AROUND THE SCREEN RANDOMLY. I RESORTE

  • How can I monitor util programmatically

    Hello. How can I monitor util programmatically? in the Windows taskbar, in the Performance section Manager, I can read the util and the use of the CPU, but I want to read directly in Labview, it is posible? is it exists any vi that does this? Thank y

  • Banking applications

    The list of banking applications, you've seen problems. What I experienced and heard the two questions are: 1. bank of America 2 Chase

  • Help! my book has gone from lightroom.

    I'm using Lightroom CC and I've updated the program, and now the book has disappeared. What can I do? I exported it before I've updated, thankfully, but they are PDF files and does not help me with the book of finishing. How can I recover it?Thanks i