Relation to the total column and row grand totals

Hello world

I have requirement I need to create a statement of expenses with BI Publisher in Siebel. I need to group the items of expense by date and have a show total amount for the row and column. The report should look like this when done:

FEES
Date of... Meals... Entertainment... Total
06/19/09.........75......................175............................250
06/20/09.........50 ..................... 50..............................100
------------------------------------------------------------------------
Total... 125....................225............................350


I do not know how to address the issue since the amounts for the "meal" and "Entertainment" is not stored in separate columns, but instead of this, there is a 'Category' column and a column 'amount '. The XML should look like this:


< EXPENSE_REPORT >
< ID > 232 / < ID >
< NAME > fresh June < / NAME >

< EXPENSE_ITEMS >
< DATE > 19/06/09 < / DATE >
MEAL < CATEGORY > < / CATEGORY >
< > 25 < / AMOUNT >
< / EXPENSE_ITEM >

< EXPENSE_ITEMS >
< DATE > 19/06/09 < / DATE >
ENTERTAINMENT < CATEGORY > < / CATEGORY >
< AMOUNT > 50 < / AMOUNT >
< / EXPENSE_ITEM >

< EXPENSE_ITEMS >
< DATE > 20/06/09 < / DATE >
MEAL < CATEGORY > < / CATEGORY >
< AMOUNT > 50 < / AMOUNT >
< / EXPENSE_ITEM >

< / EXPENSE_REPORT >


Any suggestions on how I should approach this? Thanks in advance.
Fred

Published by: Fred_1 on September 21, 2009 22:30

Fred/Kumar,

1. it should be simple enough to BEEP model too.
2. a glance the link thread above, I answered how do in Datatemplate.
3 Db rollup is also good option

Look at this

http://winrichman.blogspot.com/2009/09/cross-tab-summation-in-RTF.html

Take a look at these too, it will help you for sure.

http://winrichman.blogspot.com/search/label/cross%20tab
http://winrichman.blogspot.com/search/label/BIP%20Vertical%20sum
http://winrichman.blogspot.com/search/label/cross-tab
http://winrichman.blogspot.com/search/label/summation%20In%20BIP

Tags: Business Intelligence

Similar Questions

  • How to save the table column and row headings

    I have a table where I activated the column and row headings.  Once the table is loaded with data, I would like to save the contents of the table, including the column and row headings in a text file.  The crux of "value" property returns only the content of the table, not the row and column headers.  I could use "header line chains []" and '[] column header chains' property nodes as well, but I'm in the island there is an easier way.  Looks like adding the headers of lines would be difficult.  Any ideas?

    Thanks in advance.

    Here is a way. The construction with the empty constant is to provide to the left corner of the table where there is no data.

  • I tried to download a pdf and convert them into excel, but the data in excellent is always to the image format.  How can I get the pdf data into the columns and rows?

    I tried to download a pdf and convert them into excel, but the data in excellent is always to the image format.  How can I get the pdf data into the columns and rows so that I can do the calculations?

    If you start the https://forums.adobe.com/welcome Forums Index

    You will be able to select a forum for the specific Adobe products you use

    Click on the symbol "arrow down" on the right (where it is said to see all our products and Services) to open the drop-down list and scroll

  • Remove the separator of columns and rows in spark DataGrid

    Capture.PNG

    Hello

    try searching a bit on the web with no success - how can I remove / handful of visibility of the separators of columns and rows in the DataGrid to spark flex 4.5

    See photo with separators:

    Two ways:

    (1) write a simple custom following appearance (the empty rectangles will cause the separators to disappear):

    
    
    
        
    
            
                
            
    
            
                
            
    
        
    
    
    

    (2) make a copy of the default Datagridskin and remove parts of skin 'columnSeparator' and 'rowSeparator.

    -Kevin

  • an alphabet by typing in a cell gives drop down suggestions from previous hits on the same column. But how the drop down to choose the suggestions of the other columns and other sheets.

    an alphabet by typing in a cell gives drop down suggestions from previous hits on the same column. But how the drop down to choose the suggestions of the other columns and other sheets.

    Hi mdsavol,

    Your observations are accurate. The 'suggestions' are previous entries in the same column that correspond to what has been entered so far in the active cell. The only direct user control is to activate the function turn on or off in numbers preferences > general.

    There are other ways to include or exclude items of suggestions:

    • To remove typos in the suggestions list, the user must correct the typos in the cell above the active cell. If they are more in the list, they won't be presented as suggestions.
    • To include selections added to the list, the user must enter these suggestions in the individual cells above the active cell and column where they are wanted as suggestions.

    There was a request here a while there is a list of suggestion 'live' similar to those of some websites, which offers a descending list of possible entries as a type in an input box.

    The only way I see to reach a solution similar to what you have asked is to use as many lines at the top of the non-en-tete of the table section to list the items likely to repeat in your table, and then hide the lines. You'll need a list for each column where you want to use this feature with a list previously planted. Existing items will then require a likely hit up to three, then a click to choose from a list small enough to enter a value into a cell. News he will need to enter in full the first time, but after that it will be put on the list and answer the same thing as the terms preseeded.

    While your setting upward (or decide not to do), consider going on the menu of number (in numbers), choosing to provide feedback from numbers and writing a feature in Apple request. Describe what you want. Explain how he could help the average user numbers, and then hope for the best.

    Kind regards

    Barry

  • can I write in a clay column and row in excel?

    Hello!!!

    Well, is - can anyone help me and tell me, if I can write something of labview in a clay column and row in excel?

    excellent couerse in a clay column and row to an existing file...

    CAN SOMEONE HELP ME OR SAY SOMETHING PLEASE?

    Ago, as Sophia said, you can do this using ActiveX, but that requires a lot of programming

    but you can learn a lot

  • Columns and rows created are not the same in a browser as in DW

    I tried to create 5 column using CSS.  I was very happy when it worked, and it worked on mine!  So before you start to copy my code for created about 19 lines of the same columns that I created, I looked in a browser to see that it is in every sense.

    I did put the direct page because I don't want my potential customers, seeing this, but if I have to for someone to help me I'll do it. My images will jump to the right of the screen in a browser, but as in DW said everything looks good.  Hope someone can help me please.

    < div id = 'column-container-full hunting' >

    < div id = "column-container-left" > * of HERE IS MY HTML

    < /P > < p > DESIGN

    < / div >

    < div id = "column-container-Center" > < DETAILS P > < /P >

    < / div >

    < div id = 'column-container-right' > < BUDGET P > < /P >

    < / div >

    < div id = "column-container-rightA" > < STANDARD P > < /P >

    < / div >

    < div id = "column-container-rightB" > < PREMIUM P > < /P >

    < / div >

    < / div > <! - column-cotainer-full hunting end - >

    < div id = 'column-container-full hunting' >

    < div id = "column-container-left" >

    "< img src="images/photos/21.jpg "width ="297"height ="234"alt ="field of 12 x 24 shelter"/ > < / div >

    < div id = "column-container-Center" >

    SHELTER 12 x 12 < P > < /P >

    < P > skates in wood 12 X 12 < /P >

    < P > kick panels OSB 11 MM < /P >

    < P > Kick Boards PLY 12MM < /P >

    < /P > < P > wooden DOOR

    < /P > < P > SKIP TRACK

    < / div >

    < div id = "column-container-right" >

    < P >£ 750 < /P >

    < P > < /P > 150

    < P >£ 90 < /P >

    < P > < /P > 120 pounds

    < P > < /P > £150

    < P >£ 40 < /P >

    < / div >

    < div id = "column-container-rightA" >

    < P >£ 1000 < /P >

    < P > < /P > £150

    < P >£ 90 < /P >

    < P > < /P > 120 pounds

    < P > < /P > £150

    < P >£ 40 < /P >

    < / div >

    < div id = "column-container-rightB" >

    < P >£ 1300 < /P >

    < P > < /P > £150

    NA < P > < /P >

    INCLUDED in the < P > < /P >

    < P > < /P > £150

    < P >£ 40 < /P >

    < / div >

    < / div > <! - column-cotainer-full hunting end - >

    < div id = "footer" >

    < ul >

    < li > < a href = "index.html" > home < /a > < /li >

    < li > < a href = "stables.html" > stables < /a > < /li > ""

    < li > < a href = "shelters.html" > shelters < /a > < /li > ""

    < li > < a href = "gallery.html" > Gallery < /a > < /li > ""

    < li > < a href = "pricelist.html" > price list < /a > < /li > "

    < li > < a href = "usefulinks.html" > < /a > < /li > useful links "

    < li > < a href = "contactus.php" > contact us < /a > < /li >

    < /ul >

    < class p 'foot of page-text' = > Copyright 2014 Bristol equestrian Services < /p >

    < / div > <! - end of footer - >

    < / div > <! - end wrapper - >

    < / div > <! - end outerWrapper - >

    < / body >

    < / html >

    CSS

    #column - container - full-width{width: 100% ;}}

    }

    {#column - container - left

    Width: 300px;
    float: left;

    }

    {#column-container-Center}

    Width: 300px;
    float: left;

    }

    {#column - container - right

    Width: 100px;
    float: left;

    }

    {#column-container-rightA}

    Width: 100px;
    float: left;

    }

    {#column-container-rightB}

    Width: 100px;
    float: left;

    }

    Try adding overflow: hidden; and see if that solves the problem:

    {#column - container - full-width

    Width: 100%;

    overflow: hidden;

    }

  • Please explain the guidelines related to the Platform.invokeLater and reuse of cell in tableview

    Hello

    1.

    Whenever I see tableview in JavaFX 2 + I see

    1. @Override   
    2. public Sub updateItem (last element of the string, Boolean void) { }
    3. Super .updateItem (element, empty);   
    4. if (item != null) {   
    5. button.setText (item);
    6. setGraphic (button);
    7. else
    8. (setGraphic)); /
    9. }
    10. }


    11. So basically, this method is called for each item in my list. Now my questions:

      + where element can be null? I have a list < String > so I don't see the point of what's going on

      + Why does the (null) setGraphic else? Or more if the item is null then null graphics also.


      I understand that this code is related to the loading of data that you highlight and reuse the cells, but it is not clear to me how it works. Please explain a little bit what happens and what makes the super.update done too if possible.


      2.


      1. Platform.runLater (new Runnable() { })
      2. public void run() { 
      3. final Node scrollBar = comboBox.lookup (".scroll-bar: vertical '); 
      4. scrollBar.setOpacity (0,); 
      5. }
      6. });

      In the present code why can't then I just directly called search & 'SetOpacity?

      I suppose that if I call it directly then it will run right in this moment. But if I wrap in this executable, then it is added to a queue of javafx, which will process my application when it can then perhaps do not stress the UI? But I don't know, can you tell if it is correct or not I think?

      I think it's very important for all developers who start with FX to understand the purpose of the present code.

      Thank you

      Desmond

      (When you have two questions, please post two separate interviews. It makes it easier for people to seek and find the answer in the future).

      So basically, this method is called for each item in my list.

      No, actually.

      The cells are just for rendering in your list items. If you have a lot of articles (or even a lot), so some scrolls off the screen, TableCells will not be created for them. In addition, the user scrolls around, the cells that represent the items that scroll off the screen can be used for items that are now visible. The updateItem (...) method will be called to update the cell to display the new item in this case.

      If relatively few cells is created. On the other hand, the updateItem (...) method can be called in quite frequently in certain circumstances as the cells are re-used.

      + where element can be null? I have a list of , so I don't see the point of what's going on

      There are two possibilities:

      1. The cell is empty. Note that in a table with very few objects, the table is filled with empty lines. Those are always represented by cells, which have the empty flag set to true and the item the null value property.
      2. NULL is a valid value perfectly put in (some implementations of) list. Therefore, it is possible that you really have null values in your list. In addition, in a TableView property to the value of the column for a given row can be set to null.

      + Why does the (null) setGraphic else?

      If the cell contained a non-null value before and is updated to represent a null value, then you will need to remove the graphic. (Otherwise you may find yourself with buttons in the empty lines, which is probably not what you want.) This can happen if the lines are removed, or possibly during scrolling like cells are reused (the latter is possible, but it is difficult to see what happens to implementation). In trees, the cells can become empty as nodes in the tree are reduced.

      What makes the super.update makes

      The default TableCell performs a lot of work. He calls the behavior by default until your custom implementation is called. This default behavior includes up-to-date of the item and empty properties to new values, saving listeners of the mouse to the selection behavior and editing behavior if the cell is editable, etc..

      It is not clear to me how it works

      It's not really supposed to be. It is object oriented programming: you're supposed to only rely on the feature (which it does) rather than implementing (how it does). This frees up developers to JavaFX to vary the implementation (to improve performance, for example) from one version to the other, as they did quite significantly from 2.2 JavaFX JavaFX 8. All you know is that some cells are created, they can be reused, and the updateItem (...) method will be called whenever the modification of the element in a particular cell. Which may be because the property that the cell is the changed view, either because the cell was re-used for another element. The cells can become empty due to reuse. No guarantees are made as to how and when reuse will occur. (Make these guarantees would greatly limit the ability of the JavaFX team to change things in the future)

      In the present code why can't then I just directly called search & 'SetOpacity?

      It's not easy without a context, but I guess that this code is in a (...) Platform.runLater to ensure that the nodes were posted on the screen.

      The problem is that research based on css will not succeed usually until a render pass is filed, which is always after the step was established, but can not be immediately after. The Platform.runLater (...) here forces the code to execute after all what is currently pending on the Thread of the FX Application.

    12. When I imported e-mail addresses into TB, they landed in the nickname column and I can't manually change the addresses of 1000!

      Is there a way I can change the nickname column to e-mail addresses? If I try to import the address book again (I on a different flash drive), I'm afraid I'll have 2 copies and it's going to go even more complicated.

      Remove any address book and do the import again, but this time align the data with the correct address book fields.

    13. How to perform an addition of column values in an insert query that would insert in the 3rd column, and the values how to insert into another table.

      I have two tables (2) RESULT TAB (1)

      CREATE TABLE TAB

      (

      NUMBER OF SNO

      A NUMBER,

      B THE NUMBER.

      NUMBER OF THE SUM

      );

      CREATE AN ARRAY OF RESULT

      (

      NUMBER OF SNO

      NUMBER OF THE SUM

      )

      my doubt is:

      (1) I want to insert a table TAB, my question is how to insert a column to the SUM using the column A AND B... Here im adding two values of the column and store result in the AMOUNT column.

      SNO   A  SUM           

      1 100 150 250

      2 300 100 400

      I want to like this, it is possible with single insert query?


      (2) at the time of the insertion TAB of values that SNO, and the values of table TAB $ insert in the table of RESULTS... is it possible these two inserts at the same time?

      in fact, im using another this table.fro TAB and easy to understand I write like that, please solve this problem

      First, you post in the wrong forum as this one is only for Oracle's SQL developer tool. So you might ask your question in the general forum of SQL.

      Second, you might solve your problems with bind variable:

      Insert tab

      (sno, a, b, sum)

      values

      (: SNO,: A: B: A + B :))

      You should not use sum as column name because it is a reserved word.

      More you cannot insert into two different tables with a single SQL, but you can use PL/SQL to do this:

      Start

      insert into tab values (: SNO,: A: B: A + B :);)

      insert into result values (: SNO,: A + B :);)

      end;

      If you meet sno from a sequence, you could do something like this:

      Start

      insert into values tab (seq_sno.nextval,:,: B,: A +: B) return sno in: SNO.

      insert into result values (: SNO,: A + B :);)

      end;

      Hope that helps,

      dhalek

    14. How to make a form that includes the column display the product in the previous column and 50.

      Example of column 1 has the value entered 3, the next column will show 150. The column that shows 150 should also not be editable

      Ok... Use this code in the custom calculation of the total field script, then:

      Event.Value = number (this.getField("of_Empty_Ballot_PadsRow1").value) * 50;

    15. a list of all the tables, columns and their consntraints in the database

      Hello

      I need to write sql code which considers a list of all tables in the database, their columns and the primary or foreign key for each column (if any) and the refrence for each foreign key column.

      Any ideas how ro?

      DROP TABLE table_b;
      DROP TABLE table_a;
      --
      CREATE TABLE table_a (
       CONSTRAINT pk_table_a PRIMARY KEY (column_b)
      ,column_a INTEGER
      ,column_b INTEGER
      );
      --
      CREATE TABLE table_b (
       column_c INTEGER
      ,column_d INTEGER CONSTRAINT fk_table_a REFERENCES table_a(column_b)
      );
      --
      
      SELECT  utc.table_name
             ,utc.column_name
             ,CASE WHEN uc.constraint_type = 'P' AND position IS NOT NULL THEN uc.constraint_name END primary_key
             ,CASE WHEN uc.constraint_type = 'R' AND position IS NOT NULL THEN uc.constraint_name END foreign_key
             ,CASE WHEN uc.constraint_type = 'R' AND position IS NOT NULL THEN uc.r_constraint_name END referenced_key
      FROM    user_tab_cols utc
              LEFT JOIN user_constraints uc
                ON  (utc.table_name = uc.table_name)
              LEFT JOIN user_cons_columns ucc
                ON(ucc.table_name = utc.table_name
                     AND utc.column_name = ucc.column_name
                     AND uc.constraint_name = ucc.constraint_name)
      WHERE   utc.table_name IN ('TABLE_A','TABLE_B');
      

      TABLE_NAME COLUMN_NAME PRIMARY_KEY FOREIGN_KEY REFERENCED_KEY

      TABLE_A COLUMN_B PK_TABLE_A

      TABLE_A COLUMN_A

      TABLE_B COLUMN_D FK_TABLE_A PK_TABLE_A

      TABLE_B COLUMN_C

      If you want to 'improve' the referenced_key column for the column referenced actually, you need to join user_cons_colums once again and use the column position.

      Concerning

      Marcus

    16. Tabular: how dynamically toggle columns and rows

      Hello

      I am very new to ApEx sorry if this has been addressed before, but I can't find a solution in forums or with Google, so here I am.

      I have an table based on a view, with two elements as the primary key and instead - of trigger for update (only the updates made, not of insertions/deletions) and the form works fine (I can update and refresh, etc.) The form was created with the wizard, not manually.

      My problem is, I need to turn off (disable - not hide) of columns in the report to prevent changes according to the value of one of its own columns - for example, a value of + 'q' + in the column period is going to turn some columns, while value of + 'h' + will toggle other columns. (The 'q' / 'h' value is the same for all the lines in the form.)

      Similarly, I also need to toggle all lines according to the value of the column one another .

      To sum up, displaying the form of tables and according to the value of a column, I need to turn some of the columns. Thenfor each line that I sail and, according to the value of another of the column, I need to enable/disable one or more items on this line.

      Any detailed help on how to proceed would be greatly appreciated (and if you need more information please ask.)

      It was very easily in forms with the triggers when-new-record and the elements of parameters as enabled. I am really so confused as to how to do this with ApEx - not to mention that I am helpless with JavaScript... Given that the page works well with the wizard-generated form, I want to keep it this way, but I'm ready to learn new tricks if the solution is building manually (as explained here: http://www.oracle.com/technology/products/database/application_express/howtos/tabular_form.html) or do it with a dynamic query (as explained here: http://www.oracle.com/technology/products/database/application_express/howtos/dynamic_report.html) although I'm not sure to understand things , explained here (and if she needs clean MRU treat...?)

      Thanks in advance,

      Ludovic

      You are the very welcome. I had a lot of help at the beginning of this forum so I try my best to give back. :)

      Good luck for the demo!

    17. Is there an app to remove the size limit of the miniplayer column and/or work of iTunes?

      I want to do as much as possible work, y at - it an application that removes the limit of size on the work, so you can make it as big as you want (as it used to be)? Even if I could use smart zoom in iTunes that would be enough I don't know who's idea it was to limit the work to 500 x 500 when the iTunes store usually provides a far greater than.

      I found this feature of iTunes 'secret', a few months ago.  Play a song.  Find the tiny album art in the 'now playing' box at the top of the iTunes window.  Hold down the command key and click on it.  Sometimes a resizable window with album art (and the playback controls).  You can make it as big as your screen!  I called him 'MaxiPlayer '.

    18. How can we define the styles TableHeading and row in the Table

      We have created a style of Product_Table. When a user inserts a new table using this style, we would like that the table header and the text of the table to use our TableHeading and TableText models, not the default styles. We have two writers who are very fluent HTML and RoboHelp and could not find a way to achieve this goal. The end result is that users must manually apply styles TableHeader and TableText after insertion of the table.

      Thanks in advance for any help.

      Carol

      HR will not work with HTML table headers. You must create a table Style

      using the pod of Style. It is not intuitive for the first time and I think I put

      something on my site about this.

      Then you insert a table using the icon and apply the table registered to that style.

Maybe you are looking for

  • Of linked text boxes in Pages?

    I have several old templates for address labels Avery who have 21 areas of text (3 columns/7 ranks) linked together on one A4 page. Text will flow through these boxes so that I can add or remove addresses to maintain alphabetical order. Unfortunately

  • List of devices

    Hello Can I get a list of devices using DAQmx and ANSI C? How can I do? What function can I use? I was looking for a solution in the internet, but I couldn't find that for c#: http://zone.ni.com/devzone/cda/epd/p/id/5818 . Is it possible in ANSI C to

  • Restore IOS

    I tried to update the IOS on a router 2501. At the beginning of the upgrade, I got a warning that the file should be deleted. After the upgrade has been in effect for a period of time, the error message appeared: «...» "Error: required memory exceeds

  • Unrecognized PCIe

    I tried an update of the BIOS on my motherboard. Since then, even if the return to the original version of BIOS, my video PCIE card is not recognized by Windows. It appears in Device Manager, but does not appear in the display properties. I tried * e

  • Select all the script maps

    Hi allHoping someone out there can help, I need my script to end with one of the following 3 options:Select all: as in "cmd one"Select all the objects on the layer "Tabs".Select all the objects with the Script title boxes"tabs".Reason being, when the