Just the total table in a narrative view

I have a table view... I would like to see in a narrative view... just the totals for col1, col2, etc... Whenever I build using @1, @2... all rows with values are displayed... I want just the totals...

Pls any help?

Antonio

You can add another more than 2 columns in the analysis by the sum (c1), (c2) of the sum and the sum of application of narrative view of the @3,@4 values to display these 3 and 4! also if you do not want that 3 and 4 columns to display! You can access the properties of the column and hide!

Tags: Business Intelligence

Similar Questions

  • change the source tables in the materialized view

    If I change the name of the source table in a materialized view, I have to delete and recreate the MV? For example, My MV uses a table from a DBlink. Instead I want to physically copy the table in the schema, and then create the MV using the local table, then change MV to use the remote table and I expect to start refreshing the MV for incremental data. Can I do it?

    No, you can't.  Oracle has no way of knowing that the modified table (name) is identical to the original table.

    Hemant K Collette

  • Problem with the af:table links and views

    I want to display a table with data from a database table called PERSON, so I use af:table tag.

    The PERSON table has the following fields:

    • PERSON_CODE
    • PERSON_NAME
    • PERSON_COD_STATE

    The PERSON_STATE field is a foreign key to another table called PERSON_STATE:

    • PERSON_COD_STATE
    • DESCRIPTION

    I created a view for the data of the PERSON (personView) table. Because I want to show the person status description in the af: table, I created another view for the data in table PERSON_STATE (personStateView). And I've also created a link between personView and personStateView.

    In the column of the af: table that represents the State of no one, I drop the field 'description' of the State view linked to the view of anyone.

    When I run the JSP, the State is not displayed correctly. All persons are displayed with the same State.

    During the test directly with the application module, the display link works correctly.

    View links inside an af:table work?

    I work with ADF 10 g.

    Thank you

    Your scenario should be treated with a sql (VO on two EOs) join with a relationship master / detail. The table will be able to browse the details for each master record to time stamping.

  • display the Total number of lines in the first page of the report

    Hi, in obiee, paging will be 1-25. Is there any possibility in obiee to display the total number of lines next to paging. Ex: If the result contains the 120 lines. It should show after paging

    Documents 1-25. Total records: 120

    User,

    If this is the very simple case go in narrative display

    In the Narrative section give

    No.Of.Records: @4

    in my case is 4th column: No.Of.Records where fx = max (rcount (1))

    GoTo Compound display click the button Add and align narrative view down to see table

    Thank you
    Saichand.v

  • insert into the summary table of the table.

    I was wondering if there is a smart way to do it with SQL, but I'm not sure. I would like to consult you yo guys.

    I have a table like this
     CREATE TABLE "TEMPLE_FINANCE"."TEST" 
       (     "COLUMN1" VARCHAR2(10 BYTE), 
         "COLUMN2" VARCHAR2(10 BYTE), 
         "COLUMN3" VARCHAR2(10 BYTE), 
         "COLUMN4" VARCHAR2(10 BYTE)
       ) ;
    
    
    Insert into TEST (COLUMN1,COLUMN2,COLUMN3,COLUMN4) values ('1','2','50.00',null);
    Insert into TEST (COLUMN1,COLUMN2,COLUMN3,COLUMN4) values ('1','2','50.00',null);
    I would like to at the rate of an update and you end up with
    "COLUMN1"     "COLUMN2"     "COLUMN3"     "COLUMN4"
    "1"                  "2"          "100.00"     
    What update statement can run for this?
    I would enter in the summary of the lines based on the column 1 and column2 and get rid of repeative lines.
    I have try this insert statement, but it's bascially just adding an extra record in the table.
    INSERT INTO  TEST (SELECT COLUMN1, COLUMN2, SUM(COLUMN3), COLUMN4 FROM TEST GROUP BY COLUMN1, COLUMN2,COLUMN4);
    any help would be grateful.

    Published by: mlov83 on January 25, 2013 12:45

    Published by: mlov83 on January 25, 2013 13:03

    Hello

    I can't help but wonder if you have the best design of table for what it is, you need to do.

    The best solution would be to create a new table, using the SUM (TO_NUMBER (Column3)) and GROUP BY, and then delete the original table and rename a new one to the old name. While you're at it, change Column3 as a NUMBER and add a primary key.

    In collaboration with just the existing table, INSERT one won't work. INSERT always adds new lines. You want something that can INSERT new lines (or update some existing routes) and DELETE lines at the same time. FUSION can do it all. Here's a way to use the MERGE:

    MERGE INTO     test     dst
    USING   (
              SELECT column1, column2, column4
              ,      SUM (TO_NUMBER (column3))
                                 OVER (PARTITION BY  column1, column2, column4)
                                AS column3_total
              ,      ROWID             AS r_id
              ,      MIN (ROWID) OVER (PARTITION BY  column1, column2, column4)
                                          AS min_r_id
              FROM    test
         )          src
    ON     (src.r_id     = dst.ROWID)
    WHEN MATCHED THEN UPDATE
    SET     dst.column3       = TO_CHAR ( src.column3_total
                                , 'FM9999999.00'
                            )
    DELETE
    WHERE     src.r_id     != src.min_r_id
    ;
    

    Published by: Frank Kulash on January 25, 2013 16:07

  • Don't know the source table space to use in REMAP_TABLESPACE

    11.2.0.2/Solaris 10

    We have a dump expdp of a related development scheme. We had dropped the source DB. Now, we want to create a new scheme in a new DB using this dump. We do not know the storage space used by the schema of the source as this DB does not exist today.

    To find the storage space used by the schema of the source, I can go ahead and impdp and cross errors "tablespace does not exist" in the log file impdp (need to do some research on Google to create an awk for this script)
    But y at - it another way to determine the storage space used by the schema of the source when the source database no longer exists? We do not have the expdp log file is (currently looking for it)

    I see 2 options for you.

    1. run your grep sqlfile import and then that file for the keyword TABLESPACE. This will give you all the tablespaces to be used when ordering import.

    2. start your import but with these:

    keep_master = master_only y = nom_du_travail y = my_master_only

    This will load just the main table, and then you can query the master to find storage space. If your dumpfile is important, it can be a lot
    faster than sqlfile once the import is complete, do a query like this:

    SQL > connect schema_running_job/password
    SQL > select unique object_tablespace from my_master_only where process_order > 0 and duplicate = 0;
    SQL > select unique object_name from my_master_only where process_order > 0 and duplicate = 0 and object_type = 'TABLESPACE ';

    I hope this helps.

    Dean

    Published by: Dean WINS 12 Sep, 2012 10:22

  • Table 2D-table 1 d without knowing the total row.

    Hi all

    The forum can fill in with my original question in the future [just kidding ]

    Since I am really new to LabView, there are tons of questions to ask - no doubt one that can't be solved.

    Currently, I have a 2D array that I want to convert to 1 d.

    I managed to do it using the table to index, as shown in the attached example (simple).

    My question is, without knowing the line total of the 2D table, is able to extract each line as table 1 d to display us goal?

    Any suggestion guyz so that i can move forward?

    Please advise and million thanks in advance ~

    Kind regards

    Roziela
    Dave


  • How to view the total size of the items removed in the trash?

    I am using windows 7 Home premium. In the trash, I see the folders and individual files sizes in Details view. But when I select more than two folders, I don't see the combined folder or the size of the file of the two. The preview pane is useless because it does not show the size of recycle bin points, just the size of the currently selected item in the bin.

    Is there a way to look at the total size of multiple selected items in the trash?
    Also under XP, hovering above the bin used to give the size in ToolTip. The trash in 7 shows something like that.
    7 basket is not as good as that of XP. There seems to have a few steps backward in the stage of evolution instead of moving forward.

    Another way to display the total size of all items in the trash...

    1. in the Folder Options, enable the display of hidden files and folders, as well as protected operating system files.
    2 - Go to your C: drive, open the folder $Recycle.Bin, then right-click and choose Properties from the Recycle Bin icon that see you.
    This indicates the total size.

    If it was useful, you can vote by clicking on the green triangle. If it solves the problem, click on propose as answer. Thank you!

  • Can I get the total number of records that meet the conditions of a query using the Table API?

    Hello

    A < row > TableIterator is returned when I ask operations using the index of tables. If I want to get the total number of records, I count one by one using the returned TableIterator < row >.


    Can I get the total number of records directly meets the conditions of the query?

    I can get the total number of records directly the request of the meeting of the conditions of CLI using the command Global table - name tableName - count - index index-name-field fieldName - start startValue-end endValue.

    Can I get the same results using the Table API?

    I used MongoDB and NoSQL Oracle for about a year. According to the experience of the use of these dbs, I think mongoDB querying interface is powerful. In the contras, the query interface is relatively simple, which results is a lot of work that is usually a long time in the client side.

    Hello

    Counting records in a database is a tricky thing.  Any system that gives you an accurate count of the records will have a hotspot of concurrency on updates, namely the place where the counting is maintained.  Such a count is a problem of performance in addition to competitive access problem.   The problem is even more difficult in a system widely distributed such a NoSQL database.

    The CLI has overall command that counts, but does so by brutal force - iterate keys that correspond to the parameters of the operation.  This is how you must do this within the API.  There is not a lot of code, but you have to write.  You certainly want to use TableIterator TableAPI.tableKeysIterator (), because a key iteration is significantly faster than the iteration of lines.  Just one iteration and count.

    If you use TableAPI.multiGet () and a key with a touch of brightness full then, in fact, count the results as they are returned in a single piece (a list).

    Kind regards

    George

  • name of the dynamic table in a view

    How can I create a view of a table whose name is dynamically determined?

    for example, I have tables for each month table_2010401, the table_201402, the 201403 table and so on. I need to extract the data from the last table. This is more or less what I want to do:

    CREATE OR REPLACE VIEW VW_TABLE

    AS

    SELECT * FROM

    (SELECT TRIM (MAX (TABLE_NAME)) FROM ALL_TABLES WHERE TABLE_NAME LIKE 'POL_LINK %' AND OWNER = 'ACTUARYD')

    );

    Can anyone help? Thank you in advance.

    Most approach simple and straight forward it would be to recreate every month a CURRENT_TABLE view or a synonym that points to a table 'current' - table_2010401 or table_20140301.

    You can recreate this view, or synonym every month just after creating the table current.

    Another approach would be to create a view based on a function of pipeline that derives from a necessary table name and uses dynamic SQL statements to get the lines of him to channel them in the view.

  • Apply the criteria of the selected table view

    Hello everyone,

    I use JDev version 11.1.2.3

    I'm in a situation in which im using two different VO to display 2 different tables. The only difference between them is that in the second I inserted a clause where clause (to limit the rows resulting). I wanted to know if there is a way to create a single VO and apply the filter just for a table. I thought it would be easy using the view criteria. So I created one and it fell in a table on the same page where the first table is. The problem is that the filter is applied to both of them.

    Help, please.

    Regards and thanks in advance!

    I guess that https://forums.oracle.com/people/AlejandroTLanz meant that you apply declarative view criteria in the data model directly and not by a bean method.  For this purpose in the data of the module of the application model, you click the button Edit in the upper right corner with the marked filetedVO. In the next dialog box, you mix the display criteria to the right and save your work. Now when you use this vo view criteria will be executed.

    A question remains, your view criteria there need parameter work?

    Timo

  • How to validate totall character in a file using the extrnal table

    Hi all

    I have an external as table below

    CREATE TABLE 'WE_INT '. "" XTB_INVADJ_FROM_POS ".

    ("TRANSACTIONDATE" VARCHAR2 (14 BYTE),

    VARCHAR2 (2 BYTE) "LOCATION_TYPE."

    VARCHAR2 (4 BYTE) "LOCATION_VALUE."

    VARCHAR2 (3 BYTE) "ITEM_TYPE."

    VARCHAR2 (13 BYTE) "ITEM_VALUE."

    VARCHAR2 (5 BYTE) "UPC_SUPPLEMENT."

    VARCHAR2 (2 BYTE) "INVENTORY_STATUS."

    VARCHAR2 (2 BYTE) "ADJUSTMENT_REASON."

    VARCHAR2 (1 BYTE) "ADJUSTMENT_SIGN."

    "SET AMOUNT" VARCHAR2 (8 BYTE).

    VARCHAR2 (4 BYTE) "ADJ_QTY_DECIMAL_VALUE".

    )

    EXTERNAL ORGANIZATION

    (TYPE ORACLE_LOADER

    DEFAULT DIRECTORY 'LOC_SOURCE_POS2RMS_INVADJ '.

    ACCESS SETTINGS

    (RECORDS DELIMITED BY NEWLINE

    CHARACTERSET WE8MSWIN1252

    STRING SIZES ARE IN BYTES

    WHEN LOAD)

    ((1:5) = "TDETL")

    )

    BADFILE "XTB_INVADJ_FROM_POS.bad."

    DISCARDFILE 'XTB_INVADJ_FROM_POS.dis '.

    LOGFILE "XTB_INVADJ_FROM_POS.log".

    FIELDS

    LTRIM

    (

    "TRANSACTIONDATE" POSITION (30:43) DATE,

    "LOCATION_TYPE" POSITION (44:45) TANK,

    "LOCATION_VALUE" POSITION (46:49) TANK,

    "ITEM_TYPE" POSITION (50:52) TANK,

    "ITEM_VALUE" POSITION (53:65) TANK,

    "UPC_SUPPLEMENT" POSITION (66:70) TANK,

    "INVENTORY_STATUS" POSITION (71:72) TANK,

    "ADJUSTMENT_REASON" POSITION (73:74) TANK,

    "ADJUSTMENT_SIGN" POSITION (75) TANK,

    "SET AMOUNT" POSITION (76:83) TANK,.

    CHAR POSITION (84:87) "ADJ_QTY_DECIMAL_VALUE".

    )

    )

    LOCATION

    ("inv.txt"

    )

    )

    REJECT LIMIT UNLIMITED;

    If you see my conetent file that it will be as below.

    TDETL00000000020000000000000120100127181611ST6009SKU75001056 0023-000000400000

    I want to validate the chracters total if this line is to have more or less of 87 87 he must raise the error.

    You can use a column in the external table that contains all characters and a view that selects in the outer table, limiting the lines based on the length of the column that contains all characters, such as shown below.  You can create a separate view for those! = 87 if you want a list of releases.

    Scott@orcl12c > c:\my_oracle_files\inv.txt TYPE of HOST

    TDETL00000000020000000000000120100127181611ST6009SKU75001056 0023-00000040086

    TDETL00000000020000000000000120100127181611ST6009SKU75001056 0023-000000400087

    TDETL00000000020000000000000120100127181611ST6009SKU75001056 0023-0000004000088

    Scott@orcl12c > CREATE or REPLACE DIRECTORY LOC_SOURCE_POS2RMS_INVADJ AS 'c:\my_oracle_files '.

    2.

    Created directory.

    Scott@orcl12c > external_table CREATE TABLE

    2 ("TRANSACTIONDATE" VARCHAR2 (14 BYTE),

    VARCHAR2 (2 BYTE) 3 'LOCATION_TYPE. "

    VARCHAR2 (4 BYTE) 4 "LOCATION_VALUE."

    VARCHAR2 (3 BYTE) 5 'ITEM_TYPE. "

    VARCHAR2 (13 BYTE) 6 "ITEM_VALUE."

    VARCHAR2 (5 BYTE) 7 "UPC_SUPPLEMENT."

    VARCHAR2 (2 BYTE) 8 "INVENTORY_STATUS."

    VARCHAR2 (2 BYTE) 9 "ADJUSTMENT_REASON."

    10 'ADJUSTMENT_SIGN' VARCHAR2 (1 BYTE),

    11 "SET AMOUNT" VARCHAR2 (8 BYTE).

    VARCHAR2 (4 BYTE) 12 "ADJ_QTY_DECIMAL_VALUE."

    13 total_characters VARCHAR2 (255)

    14)

    15 EXTERNAL ORGANIZATION

    16 (TYPE ORACLE_LOADER

    17 DEFAULT DIRECTORY 'LOC_SOURCE_POS2RMS_INVADJ '.

    18 ACCESS SETTINGS

    19 (RECORDS DELIMITED BY NEWLINE

    CHARACTERSET 20 WE8MSWIN1252

    21 STRING SIZES ARE IN BYTES

    22 LOAD WHEN)

    23 ((1:5) = "TDETL")

    24)

    25 BADFILE "XTB_INVADJ_FROM_POS.bad."

    26 DISCARDFILE 'XTB_INVADJ_FROM_POS.dis '.

    27 LOGFILE "XTB_INVADJ_FROM_POS.log".

    28 FIELDS

    LTRIM 29

    30        (

    31 "TRANSACTIONDATE" POSITION (30:43) DATE,

    32 'LOCATION_TYPE"POSITION (44:45) TANK,

    33 "LOCATION_VALUE" POSITION (46:49) TANK,

    34 'ITEM_TYPE"POSITION (50:52) TANK,

    35 'ITEM_VALUE' POSITION (53:65) TANK,

    36 "UPC_SUPPLEMENT" POSITION (66:70) TANK,

    37 "INVENTORY_STATUS" POSITION (71:72) TANK,

    38 "ADJUSTMENT_REASON" POSITION (73:74) TANK,

    39 'ADJUSTMENT_SIGN' POSITION (75) TANK,

    40 "SET AMOUNT" POSITION (76:83) TANK,.

    41 'ADJ_QTY_DECIMAL_VALUE' POSITION (84:87) TANK,

    42 total_characters POSITION(1:255) TANK

    43        )

    44                  )

    LOCATION 45

    46 ("inv.txt"

    47         )

    48)

    RELEASE 49 UNLIMITED LIMIT

    50.

    Table created.

    Scott@orcl12c > SELECT * from external_table

    2.

    TRANSACTIONDAT LO LOCA ITE ITEM_VALUE UPC_S IN AD AN ADJ_ ADJUSTME

    -------------- -- ---- --- ------------- ----- -- -- - -------- ----

    TOTAL_CHARACTERS

    --------------------------------------------------------------------------------

    20100127181611 ST 6009 SKU 75001056 00 23 - 00000040 086

    TDETL00000000020000000000000120100127181611ST6009SKU75001056 0023-00000

    040086

    20100127181611 ST 6009 SKU 75001056 00 23 - 00000040 0087

    TDETL00000000020000000000000120100127181611ST6009SKU75001056 0023-00000

    0400087

    20100127181611 ST 6009 SKU 75001056 00 23 - 00000040 0008

    TDETL00000000020000000000000120100127181611ST6009SKU75001056 0023-00000

    04000088

    3 selected lines.

    Scott@orcl12c > external_table FROM SELECT LENGTH (total_characters)

    2.

    LENGTH (TOTAL_CHARACTERS)

    ------------------------

    86

    87

    88

    3 selected lines.

    Scott@orcl12c > xtb_invadj_from_pos VIEW to CREATE or REPLACE AS

    2. SELECT "TRANSACTIONDATE"

    3 "LOCATION_TYPE."

    4 'LOCATION_VALUE. "

    5 "ITEM_TYPE."

    6 "ITEM_VALUE."

    7 "UPC_SUPPLEMENT"

    8 "INVENTORY_STATUS"

    9 "ADJUSTMENT_REASON."

    10 "ADJUSTMENT_SIGN."

    11 "QUANTITY ADJUSTMENT."

    12 'ADJ_QTY_DECIMAL_VALUE '.

    13 FROM external_table

    14 WHERE the LENGTH (total_characters) = 87

    15.

    Created view.

    Scott@orcl12c > SELECT * FROM xtb_invadj_from_pos

    2.

    TRANSACTIONDAT LO LOCA ITE ITEM_VALUE UPC_S IN AD AN ADJ_ ADJUSTME

    -------------- -- ---- --- ------------- ----- -- -- - -------- ----

    20100127181611 ST 6009 SKU 75001056 00 23 - 00000040 0087

    1 selected line.

  • Calculate the percentage using narrative view?

    Hi all

    I have a table like this.

    Sales for the month in Prod
    Jan aa 4500
    Feb bb 5500

    Now, I'm going to display content like this by using Narrative view.we use OBIEE11g.

    sale of 5500 we recevied in FEB comapred to 4,500 of the previous month.it increase by 1%.

    Please any help.

    Thank you
    Aerts

    Published by: 958741 on September 14, 2012 03:24

    Published by: 958741 on September 14, 2012 06:08

    Check this thread:

    Re: formula in a narrative mode You may need to modify to your specific needs.

    So useful, please mark as correct or useful.

  • issue of XML report while displaying the total in table @section

    Hi all

    face the question to the report xml editor.

    description of the problem:

    view @section block, I have the report total is there, it is the display of each page of the report, I want to display only the last page of the report.
    No matter what adea, please share...





    Thank you
    Nicolas

    Try this

    Just keep the total after the end of each, then you will get only on the last page.

    or

    Logic needed

    or send me the model and the xml I can try at my side. E-mail: [email protected]

  • Tables: Must have text Message box appears if the totals do not agree

    I have a table that has six columns of figures. Each column is reached. I would get a text box ("these totals must agree") to appear IF (column mouse + column Rats) is NOT equal to (column B column C + column D + column E.)

    I didn't need calculate the sum of the totals of columns, that is to say, no need to know the total of mice and rats, etc.. I just have to make sure that the number of rats and mice is equal the number of category B, C, D and E pets. And to let the form user know.

    I hope that makes sense!

    Thank you!

    There are two ways to handle this.  Normally validation of this type is made when the user has finished the form and is ready to submit.  This is because in this case, validation is based on several columns and rows, so if you wanted a pop-up for the error message box, they would get a message popping up every time a number is entered until all columns are added correctly.

    It looks not to form any kind of function submit, so I got stabbed another angle.  I've added a message that is a note and a warning below the list of categories.  This is normally visible and is hidden when the columns add up correctly.  I added the validation code in the event of page layout: ready for JustifyE since it was already used another script and it fires when you need it.

    Update form is attached.

Maybe you are looking for