Create subtotals in CROSS report XML tab

Hello

I have a requirement to obtain subtotals in cross tab XML report.
Values and columns of x axis and there are generated dynamically by query.
The y-axis contains the hierarchy. Between these heirachies, I need to have subtotals.
If necessary, I can send a source xml and rtf e-mail.

Please let me know if someone put in place before?


Thank you.

Published by: 808712 on November 9, 2010 05:12

You've sent the updated files

Tags: Business Intelligence

Similar Questions

  • How to create a dynamic RTF report that creates dynamic columns based on the selection of dynamic columns in a table?

    Hi all

    Suppose I have table, whose structure changes frequently on a daily basis.

    For example. / / desc my_table gives you after the name of the column the day 1

    SQL > my_table DESC;

    Output

    Name

    Age

    Phone


    Day 2, two other columns are added, viz, address and salary.

    SQL > my_table DESC;

    Output

    Name

    Age

    Phone

    Address

    Salary


    Now, I want to create a Dynnamic RTF report which made extracting data from all columns from my_table daily. For this, I have defined a simultaneous program with XML output type and include in annex a data/definition of data model that takes XML as input and gives the final result of the conc program in EXCEL layout. I am able to do that for a constant number of columns, but don't know how to do it when the number of columns to display dynamically changes.

    For 1 day my XML file should be like this.

    <?xml version="1.0" encoding="UTF-8"?>
    <dataTemplate name="XYZ" description="iExpenses Report" Version="1.0">
    <dataQuery>
    <sqlStatement name="Q2">
    <![CDATA[
    SELECT Name
    ,Age
    ,Phone
    FROM my_table
    ]]>
    </sqlStatement>
    </dataQuery>
    <dataStructure>
    <group name="G_my_table" source="Q2">
      <element name="Name" value="Name" />
      <element name="Age" value="Age" />
      <element name="Phone" value="Phone" />
    </group>
    </dataStructure>
    </dataTemplate>
    
    

    And my day 1, EXCEL output RTF model should be like this.
    Name age phone

    Swapnill 23 12345

    For 2 days my XML file should be like this. With 2 new columns selected in the SELECT clause.

    <?xml version="1.0" encoding="UTF-8"?>
    <dataTemplate name="XYZ" description="iExpenses Report" Version="1.0">
    <dataQuery>
    <sqlStatement name="Q2">
    <![CDATA[
    SELECT Name
    ,Age
    ,Phone
    ,Address
    ,Salary
    FROM my_table
    ]]>
    </sqlStatement>
    </dataQuery>
    <dataStructure>
    <group name="G_my_table" source="Q2">
      <element name="Name" value="Name" />
      <element name="Age" value="Age" />
      <element name="Phone" value="Phone" />
      <element name="Address" value="Address" />
      <element name="Salary" value="Salary" />
    </group>
    </dataStructure>
    </dataTemplate>
    
    

    And my day 2, exit EXCEL model RTF should be like this.
    Name address telephone pay

    23 12345 Madrid 100000 Swapnill

    Now, I don't know below things.

    • Make the dynamic XML as we did in the day 1 there are 3 columns in the SELECT statement and the day 2, 5 columns. I want to create a dynamic XML which must not be changed if the new columns are added into my_table. I don't know how to create this query and also create their corresponding items below.
    • Make the RTF model dyanamic as day 1 there are 3 exit EXCEL columns and the day 2, 5 columns. I want to create a dynamic RTF model that would display all the columns selected in XML dynamic. I don't know how the RTF will create new XML tags and how it will know where to place them in the report. Means, I can create model RTF day 1, by loading the XML data for 3 columns and place 3 tags XML in the model. But how he will create and place the tags for the new columns the day 2?

    Hope so, you got my requirement, it's difficult. Please let me know how I can implement the necessary solution using the RTF dynamically without any manual intervention.

    Kind regards

    Patricia K.

    Post edited by: SwapnilK

    Hi guys,.

    I was able to solve above the requirement.

    I created a procedure that would create & update (attached to the data definition) XML file dynamically for each race. This dynamic XML contains the SQL statement for the data query that is built dynamically. I am updating this XML file using XDOLoader utility to the definition of data. Then run my program customized to generate the excel output.

    Exit excel retrieves correct number of columns dynamically (3 on Day1 and Day2 5), with corresponding data records.

    Kind regards

    Patricia K.

  • Report xml GROSS output

    Hello

    is it possible for the output of a page, when you access, as raw html?

    I've created a report using the printer friendly model and a query using dbms_xmlgen.getxml like this
    select dbms_xmlgen.getxml('select code, descr from items') xml    from dual;
    This property returns the xml output, but the source of the page also contains some other stuff.

    I used to use it in an iphone app, so I want the page output to be only the XML in the request.

    Hello

    What about using the 'XML' model related to the simple SQL query - say: without DBMS_XMLGEN - APEX
    model report "XML" will be responsible for formatting XML - you don't need DBMS_XMLGEN more...

    Does that help?

    Concerning

    Carsten-

  • How to create/add sites to the "new tab" page?

    I followed the link to help you guys already created. He asks to go to the window "Show all bookmarks" and drag a bookmark already created a vacancy in the "new tab" page. This does not work for my PC as once I drag the desired bookmark, just open this page on the new tab page. Please help with adding new tiles to the new blank tab page.

    I thought about it.

    I can't find anywhere in the manual where it says that Firefox must be set on remember the story so that it works. But he does.

    I put the tools-> Options-> life private Firefox Will: do not forget history

    and it works very well.

    I can understand why remember the story must be about to have FF build this list automatically. But why must it be to build this list manually?

    Well.

    I recommend FF to update their documentation.

  • Report XML lack style sheet location

    Hi all

    I have a question about the XML report generated by TestStand. I use a heavy custom style based off NOR example style sheet horizontal.xsl. Report generation works fine on my system of development however when the sequence is deployed on machine runtime the report XML header is missing the stylesheet location. That is to say:

    Rather than:

    If anyone has an idea of what might be causing this problem I would be very grateful for any advice.

    Much thanks

    D.Barr

    Thanks for the reply.

    I found the problem. I determine the location of the style sheet by using a registry key. The registry key listed double slashes which resulted in the style sheet is not found. For example. C:\\Test\\T6MK6_PAS_Test_Sheet.xsl. With a single slash, the program worked as except.

    Thanks again

    D.Barr

  • How create the CSV file delimited by tabs using ORACLE utl_file?

    How create the CSV file delimited by tabs using ORACLE utl_file? Please provide the code sampl.

    This isn't a problem with Oracle, it is a problem with the way you open the data in Microsoft Excel.

    In Excel, you want (depending on your version may vary slightly)...

    Office 2010...

    1. go in the Ribbon "Data".

    2. click on 'text '.

    3. Locate and select your file, and then click "import."

    4 step 1 of the wizard - choose "Delimited", then click on "next >".

    5. step 2 of the wizard - choose "Tab" as the delimiter and click on "next >".

    6. step 3 of the wizard - define types of column as needed (if necessary) and click on "Finish".

    7. check where you want the data in the worksheet.

    Data is loading now in single cells as you expect.

    If you just double-click the CSV, Excel is apparently assuming that it will be separated by commas and does not recognize tabs as separators, unlike when you rename the file with a .xls extension where it examines the file, complains that it is not a content .xls and asks you to confirm that you want to continue loading and then intelligently recognizes the tabs and the format for you.

    As I said, not a problem with Oracle, just a problem with the MS Excel software.

  • How to create the MUCOW file in xml using Adobe Muse

    How to create the file MUCOW as xml using Adobe Muse .kindly give step tutorial or PDF... WHERE DO I CREATE MUCOW? No idea for me

    Just lucky to have this info to my favorites

    MuCow Documentation

    Muse Jam Sessions_105_ConfiguringMucows

  • How to create the top 20 report?

    Hi all

    I have a requirement to create a TOP 20 CUSTOMERS by category report.

    I never did and I remember that some RANKING functions are available in the responses.

    Please let me know if anyone has this knowledge.

    Thanks in advance.

    Concerning
    Nathalie

    Hi Nathalie,.

    You can create a TOP 20 reports by following the steps below.

    1. create an analysis by category, customers, and the .
    2. now, include another (all) column and change its formula as RANK ( category).
    3. now, if you run the report, you can see the measures by category.
    4. now to include a filter on the RANK column as<>

    I hope this helps.

    Thank you
    Diakité

  • How to create a menu of reports in APEX

    Dear Sir
    I want to create a menu of reports, so that the user click on the report name to view the report. I save all the reports in a database table and display interactive report on the home page.
    How can I bind the relevant reports to each row of the table
    kindly help me to achieve the functionality

    Hello

    Process of creation of list as follows *.

    You must follow these steps in the wizard to create a list,

    1. go in the shared components of your application.
    2. by navigation, click on the menu lists.
    3. click the Create button which would be available in this page.
    4. Select the Option 'From Scratch' and click Next.
    5. enter a name for the list, select dynamic as the type of list, you can choose any list template and compiler options too. Click Next.
    6. write the SQL query to dynamically generate the list, you can look in my example to get more clarity on the same with denunciations of target too. Click Next.
    7. click the Create button to complete creation of list.

    Now, the list has been created in the components of shred.

    Then you create a page from scratch in your application, this can be done by clicking on the button to create in your application and choose the type of page to Page zero. You think about the functionality of zero order page, otherwise please try to go through some documents and learn it.

    In the zero page, please follow the steps below.

    1. create a new region.
    2. choose the type of region as a list.
    3 give the title to the region and click Next.
    4. in the list, the above created list name will be available, choose and click on create the region from the list.

    As we have created it in the page from scratch, it will be available in the full application.

    Go to the Pages of the report,

    Page 5 - used

    Change the region of interactive to display in the column 2 reports.

    Page 6 - Department

    Change the region of interactive to display in the column 2 reports.

    Now run the application. It works very well.

    Kind regards
    Santini.

  • Creating sub XMLList Collection from XML data

    Hello

    I use three TileList components - A, B and C

    Get the data as a single XML from a remote XML data function through a component generator HTTPService

    for example: simple XML data:

    nodes <>

    < node id = "1" type = "a" > < / node >

    < node id = "2" type = "b" > < / node >

    < = '3' type = 'c' node id > < / node >

    < node id = "4" type = "b" > < / node >

    < = '5' type = 'c' node id > < / node >

    < node id = "6" type = "a" > < / node >

    < node id = "7" type = "a" > < / node >

    < / node >

    I would like to create (group based on the XML attribute ' type') 3 sub list XML collection / XMLs using the received XML (see above) to propose it as a data provider for the three TileList component matching

    as:

    1 XMLA as a data provider for A tileList

    nodes <>

    < node id = "1" type = "a" > < / node >

    < node id = "6" type = "a" > < / node >

    < node id = "7" type = "a" > < / node >

    < / node >

    2 XMLB as data provider for B-tileList

    nodes <>

    < node id = "2" type = "b" > < / node >

    < node id = "4" type = "b" > < / node >

    < / node >

    3 XMLC as data provider for C-tileList

    nodes <>

    < = '3' type = 'c' node id > < / node >

    < = '5' type = 'c' node id > < / node >

    < / node >

    How can I accomplish this?
    -Sen

    This can be done very concise, with the help of E4X, which allows you to work with XML from child's play.

    Here is my example which binds the data provider to all nodes of the type 'a' and that specifies the field of the label of the control set to the id attribute of the node:


    http://www.Adobe.com/2006/mxml">

     
         
         
         
         
         
         
         
     


  • Display button CREATE only if SQL Report (form report) contains no data.

    Hello

    I have a created a form with report (page 1 & 2). By default, APEX creates all the buttons.
    I want to display the button CREATE in the SQL report (page1) only if there is no data, if the report shows a line, I'm not display button to CREATE.

    Is there any way I can store (returns the value of the report) *... no data found... * as flag '0' to a certain place and then use the CONDITIONAL DISPLAY for the button CREATE based on this indicator.

    Thank you
    Deepak

    Hi Dan,.

    I think that these substitution strings are there to custom paging purposes - but this particular one (#TOTAL_ROWS #) is useful for this sort of thing.

    Dembélé - Sorry, just reread your post and saw that you only want to display the button when there is no line!

    Button attributes to the button, put:

    ID="P137_TEST_BUTTON" style="visibility:hidden"
    

    and in area foot region, put:

    <script type="text/javascript">
    if (#TOTAL_ROWS# == 0)
    {
     $x('P137_TEST_BUTTON').style.visibility = "visible";
    }
    </script>
    

    OTN workspaces are down now (again!), so I can't update my example page - but, I hope, you should get the idea of this

    Andy

  • How to publish a report created by the Oracle Report Builder

    Hello world

    My colleague and I have tried to use the Oracle Report Builder to replace our existing report builder of our ERP system. We have already created the report in Report Builder from the suite of development.

    What we are looking for is a similar solution such as Microsoft reporting services;
    (1) create models of corporate report
    (2) and then download the template files to a location (for example, the folder on the server)
    (3) then all users in the company can access it through a web browser with a few fields which they can enter certain critiria (e.g. order number).
    (4) then send it to the printer and print out must stand exactly as the model.


    Unfortunately, we had very hard time trying to find out what it takes and how to publish this report in Oracle we have created. We spent 15 hours on it, but no results.

    15 hours we tried to install the 'Oracle' service, but finally, my colleague said that it was not what we are looking for you, "report Oracle service" is used to the error of the hosted application on the server, not to publish the report of company created by the "Oracle report bulider.


    We use Oracle Database 10 g for the LES quite a long time already. We had setup the Oracle Developer and the installed Application Server.

    Could someone tell us please what kind of service Oracle we are looking actually. Other guides any suggestion and installation are also the most welcoming.


    Best regards
    Bryan

    Hello

    If you want to be able to run your reports on the web, the best solution is to use the 'Oracle Application Server'

    http://www.Oracle.com/technology/software/products/IAS/htdocs/101202.html

    For example, the stand-alone edition of 'forms and reports Services '.

    Then, use the reports Servlet to submit applications for running a report server:

    http://download-UK.Oracle.com/docs/CD/B14099_17/bi.1012/b14048/pbr_run.htm
    Application server Oracle® reports Services publishing reports to the Web
    10g Release 2 (10.1.2)
    B14048-02

    13 queries in race report

    http://www.Oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwwhthow/HOWTO/runPrint/deploy_rpt.htm
    Deploy a report

    Concerning

  • want to create Searchbar on SQL report

    Hi evryone...
    I had created SQL report in my application... But I coould nt find option of bar of serch who create generally with interactive report... so if I want to create serchbar in my SQL report so how could I able to do this thing?

    Thanks in advance

    Rommy

    Hi Rommy,

    Take a look at my first post in this thread: Re: option search for a page of REPORT FORM AND.

    Concerning

    Andy

  • VOA Reports.xml

    Hi everyone, by HOL-SDC-1431 - vSphere optimization assessment it is a laboratory in which I imported an xml file of report as mentioned on page 8 model:


    "4 four new reports have been created for the vOA program and are available as part of the registration process." We will start by walking through the importation process in vRealize Manager of operations (VR Ops) using the import of the model feature".


    Now the question is: where can I download this xml file? Has been published somewhere?

    Thank you

    Luca82,

    The process has changed how these reports imported in vR Ops.  I have attached a PowerPoint presentation that walks through the process of importation as well as the PAK file that includes the reports.  This process replaces the importing XML specified in the laboratory and we are working to update the lab to show this.

    If you are a partner of VMware, you can go to this link:

    www.VMware.com/go/vsphereoptimization

    and after logging in to the partner Center, you can always find the most recent version of the PAK file under the 'Show' tab (on the left navigation bar).  It's the reports generated by link vROps 6.0 product.

    For partners-VMware, it will be displayed at Solution Exchange VMware bit (found here).

    VSX home | Solution Exchange

  • publish a report xml with LabVIEW

    All,

    I'll try to find a solution to my problem and I hope someone out there has an idea for me to try.

    My problem is I want to launch a test .xml report (which was created with TestStand) using LabVIEW for a user to view/print.  I created a simple vi of drop-down lists for a user to select the report that they want to see and I spent one way; the problem is that I do not know how launching this .xml in a kind of Viewer, my idea was to use internet explore, because it's the print controls, but the only function I can find to help "Open a URL in the default browser" and the error I see is attached (looks like I sends you something he dislikes) (, so I don't know if this feature is available for what I need because the links of my path to my files correctly with windows Explorer).

    A bit of history, I'm basically just trying to restrict the user to only view reports and not navigate around in my directories and then add this control to my operator TestStand Interface (I use the simple interface for TestStand 2012), its as simple as that.

    My question has 2 components:

    (1) anyone would be able to start on the path to open a xml report in Internet Explorer using LabVIEW?

    (2) does anyone know of a better way to solve this problem?

    Thank you

    Bill

    You can use a container of the WebBrowser .NET - believe it will display XML without problem, and then you can simply call the method 'print '.

Maybe you are looking for

  • Can I order a recovery as ISO image?

    Hi guys,. I need to order a recovery disc. The thing is that I live in Australia at the moment and I bought my laptop in the Greece.Anyone know if I can buy an ISO image? Thank you Post edited by: GeoKoro13

  • Migrating applications to the Chinese version of windows?

    Hello So, I wrote a few applications that are used in our US sites to control via GPIB hardware. We now have locations in Asia and I need these applications to work on this side of the pond. Looking for feedback or people with experience to warn me o

  • back or a script for recursivley travel through a directory tree and make a shortcut relitive to a file located in each directory

    Nice day I have a bunch of files that are located on a network computer that has a shared parent directory.  I need to create a shortcut to the .exe which are in each directory.  There are more than 1000 directories, so the creation of all the shortc

  • Windows 7 in conflict with scanner Canon Lide 110

    To the right,. Our school has established that the Smartboard software is conflicting with Canon Lide 110 Scanner Software and Microsoft Windows 7. Logs of computer errors identified this problem according to Canon. The scanner Canon Lide 110 works w

  • x 230 Ultranav and mouse disabled

    Hey I have a new x 230 tablet and my mouse (red button) and the ultranav disabled themselves and are grayed out in-> window control panel mouse. Only the work of pen. I know that in the 220 x this problem could be fixed by pressing FN + F8, but it is