Cross tab report vertical display?

Is it possible for a cross-tab (or another format of report template RTF) to achieve this?

The only problem with our cross tab report is that the data should be grouped by day. This is the format we want to achieve:

Employee - MON - TUE - sea
John - 08:15 - 08:15 - 11:00
-12:15 PM - 08:15-16:00
-01:15 PM - 08:15-17:00
-17:30 PM - 08:15-19:30
Mary - 10:00 - 08:15 - 10:00
-14:15 PM - 11:15 - 14:15
-15:15 PM - 12: 15 - 15:15
-19:30 PM - 17:15-19:30

In this way, each watch used (John and Mary) time, they started to work and below the time they went on their lunch break below that time back from lunch break and below the time they finished the work.

With a report of the cross we tab get these results:


Employee - Monday - TUES - Wednesday - Thurs
John - 08:15 - 12:15 - 13:15-17:30
Mary - 10:00 - 14:15 15:15 PM - 19:30

The data goes across the row instead of to the bottom. John 12:15 time lunch should appear directly above the time of 08:15 that he begins to work as in the first example.

Suggestions for a report on the cross tab (or any other type of format) to display data like that?

Thank you very much! :)

OK, I got it, bit of hacking, and I got the result you wanted... old skool crosstabbing

! http://blogs.Oracle.com/xmlpublisher/images/CTab2.jpg!

The fields are

! http://blogs.Oracle.com/xmlpublisher/images/CTab3.jpg!

He writes for a blog next week...

RTF model available here [http://blogs.oracle.com/xmlpublisher/files/ToughCrossTab.rtf]

Tim

Tags: Business Intelligence

Similar Questions

  • Trying to understand what he in @incontext: average when you create a variable in a cross tab report.

    Try to understand the cross tab reports.

    I'm looking at 3 different examples.  I have a question about something I see on 2 examples.

    Example 1.
    http://2.BP.blogspot.com/_F24IZvIkLOI/SrpSl8JSEBI/AAAAAAAAAlQ/ETt_kB3dIew/S1600-h/IKE.jpg
    <? for each group -: / EXPENSE_REPORT/EXPENSE_ITEMS; / DATE? >
    <? variable@InContext:G1;current-group()? > <? DATE of? >


    Example 2.
    http://technology.AMIS.nl/2007/01/30/XML-Publisher-building-a-matrix-report-sqllims/

    <? for-each-group@section:row;. / SAMPLE_ID? >
    <? sort: SAMPLE_ID; ' ascending '; data-type = "text"? >
    <? SAMPLE_ID? >
    <? variable@InContext:SAM_ID; SAMPLE_ID? >

    My question is..? variable@InContext: creates a variable but what incontext means?

    Sound in the two examples.

    Both create variables but and in example 2 explains the variable SAM_ID will hold the sample_id for this group.

    My question is why - what is needed?

    Thank you

    Howard

    -is to define a variable 'G1' and him assigning the value of the field Current - group (). The @incontext command maintains the variable located inside the loop... (you can not update but you can simply reference or re - declare)

    You can insert a field (BI Publisher menu - field and select a field from your xml file) and then double click on and click on properties of Word-> help add some text and then edit (delete the existing code or modify the code to what it must be)

    Thank you

    ~ KKT ~.

  • Cross tab report with a Twist

    Here's a puzzle. The table on the cross tab below should display text values in row 2, column 2 and not a sum. In addition, there are several values for each column, and they need to be under another. For example, let's say that the desired output is as follows:

    Industry - 2005 - 2004 - 2003
    Society 1-10-30-25
    -------------------------20---------50----------0
    Company 2 - 12 - 0-15

    '0' cells may simply include white, that's all that is needed.

    Here's the RTF cross code table tab:
    Cell 1.1 {noformat} <? horizontal-break-table: 1? > {noformat}
    Cell 1.2 {noformat} <? for-each-group@column:results;. / YEAR? > <? YEAR? > <? end for each group -? > {noformat}
    Cell 2.1 {noformat} <? for-each-group: RESULTS; / INDUSTRY? > <? variable@InContext:G1;current-group()? > <? INDUSTRY? > {noformat}
    Cell 2, 2 {noformat} <? for each group-@cell://RESULTS;. / YEAR? > <? for - each:current-group()? > <? ($G1[(./YEAR=current()/YEAR)]/SALES)? > <? end foreach? > <? end for each group -? > <? end for each group -? > {noformat}

    However, this does not have the expected results. It displays this, which is not correct:

    Industry - 2005 - 2004 - 2003
    Society 1-10-30-25
    -------------------------10---------30---------25
    -------------------------10---------0-----------0
    Company 2 - 12 - 0-15
    -------------------------12---------0----------15
    -------------------------12---------0-----------0

    The following XML code:

    rowset <>
    < RESULTS >
    The <>Company INDUSTRY 1 < / INDUSTRY >
    < YEAR > 2005 < / YEAR >
    < > 10 SALES < / SALES >
    < / RESULTS >
    < RESULTS >
    The <>Company INDUSTRY 1 < / INDUSTRY >
    < YEAR > 2005 < / YEAR >
    < > 20 SALES < / SALES >
    < / RESULTS >
    < RESULTS >
    The <>Company INDUSTRY 1 < / INDUSTRY >
    < YEAR > 2004 < / YEAR >
    < > 30 SALES < / SALES >
    < / RESULTS >
    < RESULTS >
    The <>Company INDUSTRY 1 < / INDUSTRY >
    < YEAR > 2004 < / YEAR >
    < SALES > 50 < / SALES >
    < / RESULTS >
    < RESULTS >
    The <>Company INDUSTRY 1 < / INDUSTRY >
    < YEAR > 2003 < / YEAR >
    < > 25 SALES < / SALES >
    < / RESULTS >
    < RESULTS >
    <>company 2 < / INDUSTRY >
    < YEAR > 2005 < / YEAR >
    < > 12 SALES < / SALES >
    < / RESULTS >
    < RESULTS >
    <>company 2 < / INDUSTRY >
    < YEAR > 2003 < / YEAR >
    < > 15 SALES < / SALES >
    < / RESULTS >
    < / LINES >

    Any ideas? Thank you very much!

    Give you a few points: 0)

  • SORTING FOR THE FIELD OF COMPUTING IN CROSS TAB REPORT

    LIST_G_AUCTION_TITLE >
    < G_AUCTION_TITLE >
    < BID_NUMBER > 5002 < / BID_NUMBER >
    < AUCTION_TITLE > E2E-01 Construction RFQ < / AUCTION_TITLE >
    C2631 < ITEM_NUMBER > < / ITEM_NUMBER >
    < ITEM_DESCRIPTION > 4G, 000, 000, 0STRUC, X, SPECIAL STRUCTURE < / ITEM_DESCRIPTION >
    < ESTIMATED_QTY > 1 < / ESTIMATED_QTY >
    LS < UNIT > < / UNIT >
    < QUOTE_PRICE > 400 < / QUOTE_PRICE >
    < ESTIMATED_QUOTE_PRICE > 400 < / ESTIMATED_QUOTE_PRICE >
    < PROVIDER > X - L CONTRACTING < / PROVIDER >

    My xml data in this format, I have created a relationship of the cross for ITEM_DESCRIPTION line and SUPPLIER as the column tab and calculated a sum (ESTIMATED_QUOTE_PRICE)
    for all ITEM_DESCRIPTION for each PROVIDER in templete. now, I need to sort the data by sum (ESTIMATED_QUOTE_PRICE) from the lowest to the more than left to right, which is the supplier with the lowest sum (ESTIMATED_QUOTE_PRICE) should display first from left to right.

    can anyone help thanks in advance.

    Hi Sandy,

    Thought, you would do the rest :)
    Neway, sent you an update.

  • Cross tab reports

    Hello
    I have a unique requirement. I a particular part number, quantity available date wise. Now, I also want to show the sum of the amounts on monthly and semi-annual too. This is the desired output. I tried with the grouping of different methods, but I'm not able to do. All of the data comes from a single table.

    Topic... * Jan allotment *... 4 - Jan... 11 - Jan... * allocation of February *... 1 - fen... 8 - February... * 1 H 2010 Total *...
    ABCD................ 9...............5.........4...............7.............3.........4.............16......................
    CDEF................ 11..............6.........5...............10...........5.........5.............21......................
    EFGH................ 9...............5.........4...............7.............3..........4............16......................

    I can generate the data without monthly or half annual group.
    Someone please guide me how to do this.

    Here is an example of XML data

    -< T03405180 >
    -< LIST_G_BUILD_HALF_YEAR >
    -< G_BUILD_HALF_YEAR >
    < BUILD_HALF_YEAR > 2 < / BUILD_HALF_YEAR >
    < BUILD_MONTH > Dec < / BUILD_MONTH >
    < BUILD_MONTH_NUM > 12 < / BUILD_MONTH_NUM >
    < BUILD_DATE > 9 December 09 < / BUILD_DATE >
    PC01500 < MDL > < / MDL >
    < > 14 QTY < / QTY >
    < / G_BUILD_HALF_YEAR >
    -< G_BUILD_HALF_YEAR >
    < BUILD_HALF_YEAR > 2 < / BUILD_HALF_YEAR >
    < BUILD_MONTH > Dec < / BUILD_MONTH >
    < BUILD_MONTH_NUM > 12 < / BUILD_MONTH_NUM >
    < BUILD_DATE > 10 December 09 < / BUILD_DATE >
    MA02500 < MDL > < / MDL >
    < > 2 QTY < / QTY >
    < / G_BUILD_HALF_YEAR >
    -----------------------
    -----------------------

    Thank you
    Vishalaksha

    Hi Vishalaksha,

    Envoy put sample to date, with the logic of the half-year.

  • Cross tab query

    Hi guys,.

    I hope someone can help.  I'm trying to generate a cross-tab query that displays the total output per month in our production environment.

    I used the query here http://www.dba-oracle.com/oracle_tips_crosstab_sql.htm and manipulated to

    select 
    DECODE(GROUPING(mtr.model_range||' '||mtr.oven_cavity), 1, 'All Cavities', mtr.model_range||' '||mtr.oven_cavity) AS "Model Range Cavity"
       ,count(case WHEN substr(NVL(sp.START_RUN_TIME,sp.SCHEDULED_START_DATE),4,3) = 'JAN' THEN 1 else null end) "JAN"
       --,SUM(SP.INPUT_QUANTITY(case WHEN substr(NVL(sp.START_RUN_TIME,sp.SCHEDULED_START_DATE),4,3) = 'JAN' THEN 1 else null end)) "JAN"
       ,count(case WHEN substr(NVL(sp.START_RUN_TIME,sp.SCHEDULED_START_DATE),4,3) = 'FEB' THEN 2 else null end) "FEB"
       ,count(case WHEN substr(NVL(sp.START_RUN_TIME,sp.SCHEDULED_START_DATE),4,3) = 'MAR' THEN 3 else null end) "MAR"
       ,count(case WHEN substr(NVL(sp.START_RUN_TIME,sp.SCHEDULED_START_DATE),4,3) = 'APR' THEN 4 else null end) "APR"
       ,count(case WHEN substr(NVL(sp.START_RUN_TIME,sp.SCHEDULED_START_DATE),4,3) = 'MAY' THEN 5 else null end) "MAY"
       ,count(case WHEN substr(NVL(sp.START_RUN_TIME,sp.SCHEDULED_START_DATE),4,3) = 'JUN' THEN 6 else null end) "JUN"
       ,count(case WHEN substr(NVL(sp.START_RUN_TIME,sp.SCHEDULED_START_DATE),4,3) = 'JUL' THEN 7 else null end) "JUL"
       ,count(case WHEN substr(NVL(sp.START_RUN_TIME,sp.SCHEDULED_START_DATE),4,3) = 'AUG' THEN 8 else null end) "AUG"
       ,count(case WHEN substr(NVL(sp.START_RUN_TIME,sp.SCHEDULED_START_DATE),4,3) = 'SEP' THEN 9 else null end) "SEP"
       ,count(case WHEN substr(NVL(sp.START_RUN_TIME,sp.SCHEDULED_START_DATE),4,3) = 'OCT' THEN 10 else null end) "OCT"
       ,count(case WHEN substr(NVL(sp.START_RUN_TIME,sp.SCHEDULED_START_DATE),4,3) = 'NOV' THEN 11 else null end) "NOV"
       ,count(case WHEN substr(NVL(sp.START_RUN_TIME,sp.SCHEDULED_START_DATE),4,3) = 'DEC' THEN 12 else null end) "DEC"
       ,count(case when 1 = 1 then 1 else null end) "Total"
    from XXMEL_PROVISA_SCHEDULES_PLAN sp
    ,    XXMEL_PVS_WORKS_ORDER_LIST wl
    ,    xxmel_pqm_cells pc
    ,    xxmel_provisa_model_to_range mtr
    WHERE 1=1
    AND sp.part_number = MTR.MODEL_NAME (+)
    AND sp.work_unit = pc.pk_cell_id
    AND sp.RUN_QUANTITY> 0
    And sp.input_quantity >0
    AND SP.PART_NUMBER = wl.MODEL (+)
    AND plan_id = :P17_PLAN_ID
    and simulation_id = :P17_SIM_ID
    and mtr.oven_cavity is not null
    group by rollup(mtr.model_range||' '||mtr.oven_cavity)
    

    This query works OK giving me the count of how many lines there are for each month, but I have to do is to add the field named MS. INPUT_QUANTITY for each month.

    I get the error message "ORA-00904:"SP"". "" ' INPUT_QUANTITY': invalid identifier "when you include the commented line on line 4 of the above query. SP. INPUT_QUANTITY is a valid column

    I use it on an instance of Oracle 10g.

    Thank you

    Chris

    Select
    DECODE (GROUPING (mtr.model_range |)) » '|| MTR.oven_cavity), 1, "all cavities, mtr.model_range | '|| MTR.oven_cavity) AS "model range cavity.
       , count (case WHEN substr (NVL (sp.) START_RUN_TIME, Ms. (SCHEDULED_START_DATE), 4, 3) = "JAN" THEN 1 other trailing null) "JAN".
       , SUM ((affaire QUAND substr (NVL (sp.)))) START_RUN_TIME, Ms. SCHEDULED_START_DATE), 4, 3) = "JAN" THEN MS. INPUT_QUANTITY else 0 end)) "JAN". 
       , count (case WHEN substr (NVL (sp.) START_RUN_TIME, Ms. (SCHEDULED_START_DATE), 4, 3) = "FEB" THEN 2 other trailing null) "FEB.
       , count (case WHEN substr (NVL (sp.) START_RUN_TIME, Ms. (SCHEDULED_START_DATE), 4, 3) = "MAR" THEN 3 other trailing null) "MAR."
       , count (case WHEN substr (NVL (sp.) START_RUN_TIME, Ms. (SCHEDULED_START_DATE), 4, 3) = "APR" AND 4 other trailing null) "APR."
       , count (case WHEN substr (NVL (sp.) START_RUN_TIME, Ms. (SCHEDULED_START_DATE), 4, 3) = "MAY" THEN 5 other trailing null) «CAN»
       , count (case WHEN substr (NVL (sp.) START_RUN_TIME, Ms. (SCHEDULED_START_DATE), 4, 3) = "JUN" THEN 6 other trailing null) "JUN".
       , count (case WHEN substr (NVL (sp.) START_RUN_TIME, Ms. (SCHEDULED_START_DATE), 4, 3) = "JUL" THEN 7 other trailing null) "JUL".
       , count (case WHEN substr (NVL (sp.) START_RUN_TIME, Ms. (SCHEDULED_START_DATE), 4, 3) = "August" AND 8 other trailing null) "AUG.
       , count (case WHEN substr (NVL (sp.) START_RUN_TIME, Ms. (SCHEDULED_START_DATE), 4, 3) = "SEP" THEN 9 other trailing null) "MS."
       , count (case WHEN substr (NVL (sp.) START_RUN_TIME, Ms. (SCHEDULED_START_DATE), 4, 3) = "OCT" THEN 10 other trailing null) 'OCT.
       , count (case WHEN substr (NVL (sp.) START_RUN_TIME, Ms. (SCHEDULED_START_DATE), 4, 3) = "NOV" AND 11 other trailing null) "NOV.
       , count (case WHEN substr (NVL (sp.) START_RUN_TIME, Ms. (SCHEDULED_START_DATE), 4, 3) = "DEC" AND 12 other trailing null) "DEC".
    -- , County (cases where 1 = 1 and then 1 other trailing null) 'Total '.
       count (*) 'Total'
    of XXMEL_PROVISA_SCHEDULES_PLAN sp
    , Wl XXMEL_PVS_WORKS_ORDER_LIST
    , xxmel_pqm_cells pc
    , xxmel_provisa_model_to_range mtr
    WHERE 1 = 1
    AND sp.part_number = MTR. MODEL_NAME
    AND sp.work_unit = pc.pk_cell_id
    AND Ms. RUN_QUANTITY > 0
    And sp.input_quantity > 0
    AND MS. PART_NUMBER = wl. MODEL
    AND the plan_id = argument: P17_PLAN_ID
    and simulation_id =: P17_SIM_ID
    and mtr.oven_cavity is not null
    Group of rollup (mtr.model_range |) » '|| MTR.oven_cavity);

    ----

    Ramin Hashimzade

  • How to create Cross Tab using Desktop

    Hello world

    We use Sundard banner (universities) with discoverer.

    I would like to create a cross-tab


    | Final note
    |_______________________________
    Title of the course.
    |
    |


    Valid values of rank are: HP - honors
    H - honors
    P past

    Suppose that we had 3 students for the class: emergency medicine
    George Washington - HP
    John Adams - HP
    Abraham Lincoln - H

    Want a query to look like this:


    | HP | H | P
    |_________ |_____|_________________
    Emergency medicine | 2. 1
    |
    |

    Is this possible using Desktop, pls advise... thx, Sandra

    Hello

    Yes, you should be able to create a cross tab report in Discoverer Desktop, select the title of the course, the final score and the counter of the students. Then put the title of the course on the final quality left on top and the County as your data point.

    Rod West

  • Cross tab with several expandable columns

    Hi all

    I develop a cross tab report... is my example of xml file
    <? XML version = "1.0" encoding = "UTF-8"? >
    rowset <>
    < ROW >
    Product < NAME > < / NAME >
    < DATE > 2008 - 05-01 T 00: 00:00.000 - 05:00 < / DATE >
    < TYPE_CODE > < / TYPE_CODE >
    < MOST_RECENT_NOTE_DATE > 1 < / MOST_RECENT_NOTE_DATE >
    < DD_CODE > Call - Back-Office < / DD_CODE >
    < NOTE_DATE > 12 < / NOTE_DATE >
    < / ROW >
    < ROW >
    Product < NAME > < / NAME >
    < DATE > 2008 - 05-01 T 00: 00:00.000 - 05:00 < / DATE >
    < TYPE_CODE > < / TYPE_CODE >
    < MOST_RECENT_NOTE_DATE > 1 < / MOST_RECENT_NOTE_DATE >
    < DD_CODE > Call - Back-Office < / DD_CODE >
    < NOTE_DATE > 11 < / NOTE_DATE >
    < / ROW >
    < ROW >
    Product < NAME > < / NAME >
    < DATE > 2008 - 05-01 T 00: 00:00.000 - 05:00 < / DATE >
    < TYPE_CODE > < / TYPE_CODE >
    < MOST_RECENT_NOTE_DATE > 1 < / MOST_RECENT_NOTE_DATE >
    < DD_CODE > Call - Back-Office < / DD_CODE >
    < NOTE_DATE > 14 < / NOTE_DATE >
    < / ROW >
    < ROW >
    Product < NAME > < / NAME >
    < DATE > 2008 - 05-01 T 00: 00:00.000 - 05:00 < / DATE >
    < TYPE_CODE > < / TYPE_CODE >
    < MOST_RECENT_NOTE_DATE > 1 < / MOST_RECENT_NOTE_DATE >
    < DD_CODE > Call - Back-Office < / DD_CODE >
    < NOTE_DATE > 112 < / NOTE_DATE >
    < / ROW >
    < ROW >
    Product < NAME > < / NAME >
    < DATE > 2008 - 05-01 T 00: 00:00.000 - 05:00 < / DATE >
    < TYPE_CODE > < / TYPE_CODE >
    < MOST_RECENT_NOTE_DATE > 1 < / MOST_RECENT_NOTE_DATE >
    < DD_CODE > Call - monitoring < / DD_CODE >
    < NOTE_DATE > 121 < / NOTE_DATE >
    < / ROW >
    < ROW >
    Product < NAME > < / NAME >
    < DATE > 2008 - 05-01 T 00: 00:00.000 - 05:00 < / DATE >
    < TYPE_CODE > < / TYPE_CODE >
    < MOST_RECENT_NOTE_DATE > 1 < / MOST_RECENT_NOTE_DATE >
    < DD_CODE > Call - monitoring < / DD_CODE >
    < NOTE_DATE > 122 < / NOTE_DATE >
    < / ROW >
    < ROW >
    Product < NAME > < / NAME >
    < DATE > 2008 - 05-01 T 00: 00:00.000 - 05:00 < / DATE >
    < TYPE_CODE > < / TYPE_CODE >
    < MOST_RECENT_NOTE_DATE > 1 < / MOST_RECENT_NOTE_DATE >
    < DD_CODE > Call - monitoring < / DD_CODE >
    < NOTE_DATE > 131 < / NOTE_DATE >
    < / ROW >
    < ROW >
    Product < NAME > < / NAME >
    < DATE > 2008 - 05-01 T 00: 00:00.000 - 05:00 < / DATE >
    < TYPE_CODE > < / TYPE_CODE >
    < MOST_RECENT_NOTE_DATE > 1 < / MOST_RECENT_NOTE_DATE >
    < DD_CODE > Call - monitoring < / DD_CODE >
    < NOTE_DATE > 111 < / NOTE_DATE >
    < / ROW >
    < ROW >
    Product < NAME > < / NAME >
    < DATE > 2008 - 05-01 T 00: 00:00.000 - 05:00 < / DATE >
    < TYPE_CODE > < / TYPE_CODE >
    < MOST_RECENT_NOTE_DATE > 1 < / MOST_RECENT_NOTE_DATE >
    Visit Site < DD_CODE > - Back-Office < / DD_CODE >
    < NOTE_DATE > 11 < / NOTE_DATE >
    < / ROW >
    < ROW >
    Product < NAME > < / NAME >
    < DATE > 2008 - 05-01 T 00: 00:00.000 - 05:00 < / DATE >
    < TYPE_CODE > < / TYPE_CODE >
    < MOST_RECENT_NOTE_DATE > 1 < / MOST_RECENT_NOTE_DATE >
    Visit Site < DD_CODE > - Back-Office < / DD_CODE >
    < NOTE_DATE > 143 < / NOTE_DATE >
    < / ROW >
    < ROW >
    Product < NAME > < / NAME >
    < DATE > 2008 - 05-01 T 00: 00:00.000 - 05:00 < / DATE >
    < TYPE_CODE > < / TYPE_CODE >
    < MOST_RECENT_NOTE_DATE > 1 < / MOST_RECENT_NOTE_DATE >
    Visit Site < DD_CODE > - Back-Office < / DD_CODE >
    < NOTE_DATE > 122 < / NOTE_DATE >
    < / ROW >
    < ROW >
    Product < NAME > < / NAME >
    < DATE > 2008 - 05-01 T 00: 00:00.000 - 05:00 < / DATE >
    < TYPE_CODE > < / TYPE_CODE >
    < MOST_RECENT_NOTE_DATE > 1 < / MOST_RECENT_NOTE_DATE >
    Visit Site < DD_CODE > - Back-Office < / DD_CODE >
    < NOTE_DATE > 111 < / NOTE_DATE >
    < / ROW >
    < ROW >
    Product < NAME > < / NAME >
    < DATE > 2008 - 05-01 T 00: 00:00.000 - 05:00 < / DATE >
    < TYPE_CODE > < / TYPE_CODE >
    < MOST_RECENT_NOTE_DATE > 1 < / MOST_RECENT_NOTE_DATE >
    Visit Site < DD_CODE > - monitoring < / DD_CODE >
    < NOTE_DATE > 1432 < / NOTE_DATE >
    < / ROW >
    < ROW >
    Product < NAME > < / NAME >
    < DATE > 2008 - 05-01 T 00: 00:00.000 - 05:00 < / DATE >
    < TYPE_CODE > < / TYPE_CODE >
    < MOST_RECENT_NOTE_DATE > 1 < / MOST_RECENT_NOTE_DATE >
    Visit Site < DD_CODE > - monitoring < / DD_CODE >
    < NOTE_DATE > 112 < / NOTE_DATE >
    < / ROW >
    < ROW >
    Product < NAME > < / NAME >
    < DATE > 2008 - 05-01 T 00: 00:00.000 - 05:00 < / DATE >
    < TYPE_CODE > < / TYPE_CODE >
    < MOST_RECENT_NOTE_DATE > 1 < / MOST_RECENT_NOTE_DATE >
    Visit Site < DD_CODE > - monitoring < / DD_CODE >
    < NOTE_DATE > 121 < / NOTE_DATE >
    < / ROW >
    < ROW >
    Product < NAME > < / NAME >
    < DATE > 2008 - 05-01 T 00: 00:00.000 - 05:00 < / DATE >
    < TYPE_CODE > < / TYPE_CODE >
    < MOST_RECENT_NOTE_DATE > 1 < / MOST_RECENT_NOTE_DATE >
    Visit Site < DD_CODE > - monitoring < / DD_CODE >
    < NOTE_DATE > 123 < / NOTE_DATE >
    < / ROW >
    < ROW >
    Product < NAME > < / NAME >
    < DATE > 2008 - 05-01 T 00: 00:00.000 - 05:00 < / DATE >
    < TYPE_CODE > < / TYPE_CODE >
    < MOST_RECENT_NOTE_DATE > 1 < / MOST_RECENT_NOTE_DATE >
    < DD_CODE > visit - WDE Office < / DD_CODE >
    < NOTE_DATE > 123 < / NOTE_DATE >
    < / ROW >
    < ROW >
    Product < NAME > < / NAME >
    < DATE > 2008 - 05-01 T 00: 00:00.000 - 05:00 < / DATE >
    < TYPE_CODE > < / TYPE_CODE >
    < MOST_RECENT_NOTE_DATE > 1 < / MOST_RECENT_NOTE_DATE >
    < DD_CODE > visit - WDE Office < / DD_CODE >
    < NOTE_DATE > 1321 < / NOTE_DATE >
    < / ROW >
    < ROW >
    Product < NAME > < / NAME >
    < DATE > 2008 - 05-01 T 00: 00:00.000 - 05:00 < / DATE >
    < TYPE_CODE > < / TYPE_CODE >
    < MOST_RECENT_NOTE_DATE > 1 < / MOST_RECENT_NOTE_DATE >
    < DD_CODE > visit - WDE Office < / DD_CODE >
    < NOTE_DATE > 1312 < / NOTE_DATE >
    < / ROW >
    < ROW >
    Product < NAME > < / NAME >
    < DATE > 2008 - 05-01 T 00: 00:00.000 - 05:00 < / DATE >
    < TYPE_CODE > < / TYPE_CODE >
    < MOST_RECENT_NOTE_DATE > 1 < / MOST_RECENT_NOTE_DATE >
    < DD_CODE > visit - WDE Office < / DD_CODE >
    < NOTE_DATE > 211 < / NOTE_DATE >
    < / ROW >
    < / LINES >

    If I use the cross-tab Wizard... I get the following output...
    -------------Call - Back Office-------Call - Monitoring-------Site Visit - Back Office-------Site Visit -Monitoring-----Visit - WDE Office
    product              12                      121                       11                                    1432                   123
    
    but I'm looking for output like...
    
    -------------Call - Back Office-----Call - Monitoring------Site Visit - Back Office------Site Visit -Monitoring-------Visit - WDE Office
    product-------12 11 14 112-----------121 122 131 111----------11 143 122 111------------------1432 112 121 123 ---------123 1321 1312 211
    The figures in each column are dynamic... I might have 2,3,4... (In this case, all are four)... I looked at the link below, but he had static 2 repeat columns... but in my case, the columns of repetition are unknown...
    http://winrichman.blogspot.com/2008/09/crosstab-with-multiple-repeating.html
    Is is possible to build a cross- like this tab... ?
    Thanks in advance...

    Hello
    Email me at colectionaru at gmail dot com
    I'll watch your xml and post a solution here.

    Kind regards
    Colectionaru

  • possible to encapsulate cross tab on the same page, rather than on the next page?

    Hello

    I'm working on a report on the cross tab in .rtf. I noticed that when there are more columns that can fit on a page, the prosecution is carried out on a new page. Is it possible to have continued to perform on the next 'line' under the first instead of on the next page?

    Thank you

    JK

    It's here :)

    http://winrichman.blogspot.com/2009/05/cross-tab-by-limiting-number-of-colums.html

  • FaceTime will not open on my Macbook pro (el capitan).  Message: "FaceTime close unexpectedly.  Click Reopen to reopen the application. Click report to display more detailed information and send a report to Apple. "Please help me.

    FaceTime will not open on my Macbook pro (el capitan).  Message: "FaceTime close unexpectedly.  Click Reopen to reopen the application. Click report to display more detailed information and send a report to Apple. "Please help me.

    Please launch the Console application in one of the following ways:

    ☞ Enter the first letters of his name in a Spotlight search. Select from the results (it should be at the top).

    ☞ In the Finder, select go utilities ▹ of menu bar or press the combination of keys shift-command-U. The application is in the folder that opens.

    ☞ Open LaunchPad and start typing the name.

    Step 1

    For this step, the title of the Console window should be all Messages. If it isn't, select

    SYSTEM LOG QUERIES ▹ all Messages

    in the list of logs on the left. If you don't see this list, select

    List of newspapers seen ▹ display

    in the menu at the top of the screen bar.

    In the upper right corner of the Console window, there is a search box to filter. Enter the name of the application crashed or process. For example, if Safari has crashed, you would enter "Safari" (without the quotes).

    Each message in the journal begins with the date and time when it was entered. Select the messages since the time of the last fall, as appropriate. Copy to the Clipboard by pressing Control-C key combination. Paste into a reply to this message by pressing command + V.

    The journal contains a large amount of information, almost everything that is not relevant to solve a particular problem. When you post a journal excerpt, be selective. A few dozen lines are almost always more than enough.

    Please don't dump blindly thousands of lines in the journal in this discussion.

    Please do not post screenshots of log messages - text poster.

    Some private information, such as your name, may appear in the log. Anonymize before posting.

    Step 2

    In the Console window, clear the search box, and then select

    DIAGNOSIS AND diagnostic USE information reports ▹ user

    (not diagnose them and use Messages) in the list of logs on the left. There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points downwards. You will see a list of reports of incidents. The name of each report begins with the name of the process and ends with ".crash". Select the most recent report on the process in question. The content of the report is displayed at right. Allows you to copy and paste to validate all of the content, text, not a screenshot.

    I know that the report is long, perhaps several hundred lines. Please report all this anyway. If the report is only a few lines, make sure that you have disabled the search box.

    If you don't see any report, but you know, he had an accident, you have chosen diagnostic and using the list of Log Messages. INFORMATION on the USE of DIAGNOSTIC AND choose instead.

    In the interest of privacy, I suggest that, before posting, you change the UUID ' anonymous, ' a long string of letters, numbers and dashes in the header of the report, if it is present (it cannot be). "

    Please do not post other types of diagnostic report - they are very long and rarely useful.

    When you post the journal excerpt or the accident report, you might see an error message on the web page: "you have included content in your post that is not allowed", or "the message contains invalid characters." It's a bug in the forum software. Thanks for posting the text on Pastebin, then post here a link to the page you created.

    If you have an account on Pastebin, please do not select private in exposure menu to paste on the page, because no one else that you will be able to see it.

  • How o use an icon in a standard report to display the details by using a hyperlink with APEX 5.0

    Hello

    I work with APEX 5.0.

    I would like a report (classic) display a report of details (also classical report) using a hyperlink, but not a "text-hyperlink" like 'click here for details'.

    Instead, I want to use a small icon which will occur the same result when you click on.

    It works fine, when the hyperlink is defined as text like: 'click here for details'.

    When I try to use an image, I don't get the desired result.

    Here's what I tried to Hare:

    1)

    Link-> Link attributes, then filled column: src = "& WORKSPACE_IMAGES. "" #ICON_NAME # "width ="40"height = 40 ' or img src =" & WORKSPACE_IMAGES. " "" #ICON_NAME # "width ="40"height = 40.

    = > no picture for the items in the column, but the link already created for each column of the remains (and works)

    2)

    Formatting of column-> HTML Expression, then filled: < img src = "& WORKSPACE_IMAGES. "" #ICON_NAME # "width ="40"height = 40" >

    = > the image appears for each column element, but the hyperlink is gone.

    Somone has idea how to use a picture/icon to have a hyperling in screens reported a detail?

    Thank you in advance for sharing your experience.

    Kimd cordially

    Hi Patrick,

    Link to the column-> then filled:

    Link text = #ICON_IS #

    Link attributes =.

    Target = this Application Page

    Page = 5

    Article 1 = P5_DEPTNO

    Value 1 = #DEPTNO #.

    Article 2 = P5_DEPARTMENT

    Value 2 = #DNAME #.

    Put this   in the link text not in attributes of link

    Remove the code from the link attributes.

    I don't have how to make it the way that describe you.

    Apex. Oracle.com is a hosted version of application Express, you can build online applications.

    Go to this link and the application workspace https://apex.oracle.com/en/

    Hope this helps you,

    Kind regards

    Jitendra

  • BAM Oracle report to display the number of records

    Hello

    We have configured a BAM report that displays data from a DB view. now, since my opinion has 100 records and we would like to show only 100 first records on the page of the report.

    I understand that this is possible by changing my request by adding rownum < = 100, but here we do not want to change the query.

    I have checked on BAM report property and do not see such a context...

    is it possible to MAKE BAM or another property setting. ?

    solved this problem by using the functionality available in BAM flight

  • How can I build with precision for horizontal and vertical display on the versions of the tablet or phone

    I am trying to build the version of the tablet of my site, but when I test in preview horizontally the vertical display is out of wack & vice versa (super frustrating). I am at a loss, and I didn't even to the version of the phone. Also is it a better platform look another overview which simulates the tablets & phones, because you can not display in the browser accurately?

    I am at a loss.

    Hello

    The best way to get an overview of the site on devices (tablets and telephone) is to publish a temporary site in Business catalyst and the generated link will show the output on various devices.

    Publish site temp in Muse, please go to file > publish to Business catalyst. Please check the following URL for more details.

    https://helpx.Adobe.com/Muse/using/publishing-websites.html#id_83339

    Concerning

    Vivek

  • PCoIP - Display properties tab is not displayed

    Hello

    I'm testing View 4 and PCoIP Protocol.

    I have multiple monitors configured in the settings of the desktop in the view manager, checked the permissions and policies (Group and the view of the AD Manager). When I enter the properties to display the desktop virtual the settings tab is not displayed, so I can't allow multiple monitors. If I connect via RDP Protocol, I can access the desktop settings tab and configure multiple monitors.

    Virtual desktops are running Windows XP Pro SP3.

    Can anyone help?

    If multimon does not display settings tab will not remedy. This is an indication that your VM and or Desktop Pool is not properly configured for multi-monitor.

    View Manager.

    Change the Office pool or the person

    Since the Office / pool and the protocol settings settings changing your display 1

    Wait for the change to take effect in vSphere

    Change the office pool or new individual

    Since the Office / pool and the protocol settings settings change the display to the desired monitor and resolution setting

    Wait for the change to take effect in vSphere

    Vsphere can turn off virtual desktops and then their return on

    WP

  • cross tab using sql

    Hello

    I'm using the version of oracle 11g.

    I have a requirement where I have to produce a cross-tab as explained below. Please help me write a SQL query to do this. Thank you very much.


    Sample data:
    ------------------
    Customer             product type
    --------------------------------------------
    AAA                           DVD
    AAA                           Tape
    BBB                           Tape
    CCC                                 DVD
    CCC                           Bluray
    DDD                           DVD
    DDD                           Tape
    DDD                           Bluray
    Logic
                                                                                    
         AAA                                              BBB                         CCC                         DDD          
         DVD     Tape     Bluray                    DVD     Tape     Bluray               DVD     Tape     Bluray               DVD     Tape     Bluray
    DVD          1                    DVD                         DVD               1          DVD          1     
    Tape     1                         Tape          1               Tape                         Tape     1          1
    Bluray                              Bluray                         Bluray     1                    Bluray          1     
    Final Output
    No. of customers who purchased the products across all product types
                        
         DVD     Tape     Bluray               
    DVD          2     1               
    Tape     2     1     1               
    Bluray     1     1                    
    Scripts:
    -------------------------
    create table cust_product(customer varchar2(5), product_type varchar2(10));
    
    insert into cust_product values('AAA','DVD');
    insert into cust_product values('AAA','Tape');
    insert into cust_product values('BBB','Tape');
    insert into cust_product values('CCC','DVD');
    insert into cust_product values('CCC','Bluray');
    insert into cust_product values('DDD','DVD');
    insert into cust_product values('DDD','Tape');
    insert into cust_product values('DDD','Bluray');

    Hello

    858747 wrote:
    ... Sample data:
    ------------------

    Customer             product type
    --------------------------------------------
    AAA                           DVD
    AAA                           Tape
    BBB                           Tape
    CCC                                 DVD
    CCC                           Bluray
    DDD                           DVD
    DDD                           Tape
    DDD                           Bluray
    

    ...
    Final output
    N ° of guests who have purchased products for all types of product

    `     DVD     Tape     Bluray
    DVD          2     1
    Tape     2     1     1
    Bluray     1     1                    
    

    Sorry, I don't follow the logic. Try to explain in words, with specific examples.
    Doesn't have 2 separate clients, 'CCC' and 'DDD', buy 'DVD' and 'Bluray '? Why aren't the results

    `     DVD     Tape     Bluray
    DVD          2     2
    Tape     2     1     1
    Bluray     2     1                    
    

    with 2 in the corners?

    Assuming it was just error, you can do something like this:

    WITH     got_pairs     AS
    (
         SELECT       a.product_type               AS product_a
         ,       NVL (b.product_type, a.product_type)     AS product_b
         FROM            cust_product     a
         LEFT OUTER JOIN     cust_product     b  ON  a.customer     = b.customer
                                AND     a.product_type != b.product_type
    )
    SELECT       *
    FROM       got_pairs
    PIVOT       (     COUNT (*)
           FOR     product_b
           IN     ( 'DVD'
              , 'Tape'
              , 'Blueray'
              )
           )
    ORDER BY  CASE  product_a
              WHEN  'DVD'     THEN  1
              WHEN  'Tape'     THEN  2
              WHEN  'Bluray'     THEN  3
           END
    ;
    

    This assumes that the combination (customer, product_type) is unique, as in your example of data., and that only product_types is 3 in your sample data.
    If these assumptions are not true, then after a few revised sample data and results, which show what you want in these cases.

    Sorry, I don't have an Oracle 11 database now to test this.
    I can (and has) test the outer join, which combines a product_type with him that if he can not be combined with any other thing.

    Using a technique of 11 pivot before Oracle, the following works:

    WITH     got_pairs     AS
    (
         SELECT       a.product_type               AS product_a
         ,       NVL (b.product_type, a.product_type)     AS product_b
         FROM            cust_product     a
         LEFT OUTER JOIN     cust_product     b  ON  a.customer     = b.customer
                                AND     a.product_type != b.product_type
    )
    SELECT       product_a     AS product_type
    ,       COUNT (CASE WHEN product_b = 'DVD'    THEN 1 END)     AS dvd
    ,       COUNT (CASE WHEN product_b = 'Tape'   THEN 1 END)     AS dvd
    ,       COUNT (CASE WHEN product_b = 'Bluray' THEN 1 END)     AS dvd
    FROM       got_pairs
    GROUP BY  product_a
    ORDER BY  CASE  product_a
              WHEN  'DVD'     THEN  1
              WHEN  'Tape'     THEN  2
              WHEN  'Bluray'     THEN  3
           END
    ;
    

    Note that the got_pairs of the subquery is identical in the two motions.

    Thanks for posting the CREATE TABLE and INSERT statements; It's very useful!

    Published by: Frank Kulash, may 29, 2011 16:05
    Oracle 9 append query.

Maybe you are looking for

  • How to undo changes of presentation of the accounts in thunderbird 31.7.0

    Until the 31.7.0 to update all my inboxes are displayed at the top of the left, for exampleaddress me@emailInboxMe@anotheremailInboxand then all other folders were down below the list of mailbox stores, which meant that I could see what email had jus

  • change the serial key

    I had to replace an old computer that dasylab ran (he got older like me anyway, I entered the wrong serial key.)  How can I change without having to reinstall everything?  It's Dasylab version 8 Thank you!BoB

  • V3 772g 9653 VGA Windows 10

    Go straight to "BOLD" to the question, prior is what led to the question. I put an mSATA SSD and a clean installed Windows 10 of USB support. To my delight, that I didn't provide a key (made 2 days before the Win 10 free upgrade offer finished) altho

  • Create a workflow to upgrade VMWare tools

    We have an alert to tell clients VMWare tools is out of date, can someone create a workflow that would allow them to begin the upgrade.

  • Standard host controller USB OpenHCD (Code 24) for windows 7

    Hello Using windows 7 computer and with WYSE also. Frequently, get error code 24 in Host Controller Standard OpenHCD . If I restart the system and then its works fine. After a few days its happening. Kindly help me to overcome this problem. Kind rega