Change the structure of generated pivot table

Hello

Can someone help me change the model of PivotTable generated BI Publisher Desktop?

Lets' suppose I have a simple as xml:


< DATA >
< DETAILS >
< PERIOD > JAN-2010 < / PERIOD >
< ACCOUNT > 4111 < / ACCOUNT >
< SUM > 1200 < / AMOUNT >
< OPEN_PER_BAL > 0 < / OPEN_PER_BAL >
< / DETAILS >
< DETAILS >
< PERIOD > JAN-2010 < / PERIOD >
< ACCOUNT > 4112 < / ACCOUNT >
< SUM > 100 < / AMOUNT >
< OPEN_PER_BAL > 0 < / OPEN_PER_BAL >
< / DETAILS >
< DETAILS >
< PERIOD > Feb-2010 < / PERIOD >
< ACCOUNT > 4111 < / ACCOUNT >
< SUM > 1300 < / AMOUNT >
< OPEN_PER_BAL > 10 < / OPEN_PER_BAL >
< / DETAILS >
< DETAILS >
< PERIOD > Feb-2010 < / PERIOD >
< ACCOUNT > 4112 < / ACCOUNT >
< SUM > 102 < / AMOUNT >
< OPEN_PER_BAL > 10 < / OPEN_PER_BAL >
< / DETAILS >
< / DATA >

I can easily generate a structure with period like lines, account in columns and the sum as values. But how can I view OPEN_PER_BAL for each month at the end of the table?

Mountains/accounts | 4111 | 4112 | Open balance
--------------------------------------------------------------------------------------
JAN-2010 | 1200 | 100. 0
----------------------------------------------------------------
FEB-2010 | 1300 | 102. 10
------------------------------------------------------------------


Thank you in advance!

Published by: Simion on January 27, 2011 08:37

Sorry, I got typo in the email address. The correct address is [email protected]

Thank you!

Tags: Business Intelligence

Similar Questions

  • Mass changing the structures of events

    I have a VI in which I am coding a drag and drop events. The front panel has more than 200 indicators and Boolean values in which I want to make it able to accept a decrease from an event drag. My problem is the time it takes to change the structure of the event for all controls, one by one. Does anyone know how to change mass event structures quickly? Unfortunately I can't figure a way to do a drop with references to component event.

    There may be a way to do it using LabVIEW to script to automate the creation of a more complicated case of event.

    But you can try using the user events.  Use of control references tables introduced in a loop For to register for events on each control changing value.  Then you have a case of user event in the structure of the event which manages it.  If you dynamically build your event programmatically while running your VI, rather than do it manually by manipulating the event dialog boxes.

  • change the first line of a table to a cell style

    Hello

    I want to change the first line of a table to a cell style.

    Is this possible in javascript?

    Patrick

    Hi patrickbcm,

    Try the threshold.

    app.activeDocument.stories.everyItem().tables.everyItem().rows[0].cells.everyItem().appliedCellStyle = app.activeDocument.cellStyles.item("row1");
    

    THX,

    csm_phil

  • Help to change the Code to display a table of 7 columns

    Hello

    Is that someone can help me to change the code I have a table of column 7 and as many line because it's results?

    Right now, all my results are in a table of column 1 and and 1 row.

    Thank you

    Roseline

    DECLARE
      vtemp  varchar2(4000) DEFAULT ' ';
     
    BEGIN
      htp.p('<HTML>');
      htp.p('<HEAD>');
      htp.p('<TITLE>DISQUES C</TITLE>');
      htp.p('</HEAD>');
      htp.p('<BODY>');
     
    FOR idx IN
        (
        SELECT DVD_ID, NomFichier,
               row_number() over(partition BY DVD_ID ORDER BY NomFichier  ASC) AS rna,
               row_number() over(partition BY DVD_ID ORDER BY NomFichier DESC) AS rnd
          FROM elements
         WHERE PROJET_ID = 1
      ORDER BY DVD_ID ASC, rna ASC
        )
          loop
          
            IF idx.rna = 1
            then
              htp.p('<TABLE>');
              htp.p('<TR>');
              htp.p('<TD>' || idx.DVD_ID ||' </TD> ');
              htp.p('</TR>');
              htp.p('<TR>');
            end IF;
     
            vtemp := vtemp || '<TD>' || idx.NomFichier || ' </TD>';
     
            IF mod(idx.rna, 7) = 0 OR idx.rnd = 1
            then
              htp.p(vtemp);
              vtemp := ' ';
            end IF;
     
            IF idx.rnd = 1
            then
              htp.p('</TR>');
              htp.p('</TABLE>');
            end IF;
          
          end loop;
     
    htp.p('</BODY>');
    htp.p('</HTML>');
     
    end;

    In fact I've complicated way there:

    DECLARE
        NOT_FIRST_DVD_ID BOOLEAN := FALSE;
        INCOMPLETE_ROW BOOLEAN;
        COLUMNS_PER_ROW NUMBER := 7;
    BEGIN
        htp.p('');
        htp.p('');
        htp.p('DISQUES C');
        htp.p('');
        htp.p('');
        FOR idx IN (
                    SELECT  DVD_ID,
                            NomFichier,
                            ROW_NUMBER() over(partition BY DVD_ID ORDER BY NomFichier  ASC) RNUM
                      FROM  elements
                      WHERE PROJET_ID = 1
                      ORDER BY DVD_ID,
                               RNUM
                   ) LOOP
          IF idx.RNUM = 1
            THEN
              IF NOT_FIRST_DVD_ID
                THEN
                  IF INCOMPLETE_ROW
                    THEN
                      htp.p('');
                  END IF;
                  htp.p('');
              END IF;
              NOT_FIRST_DVD_ID := TRUE;
              htp.p('');
              htp.p('');
              htp.p('');
              htp.p('');
          END IF;
          IF MOD(idx.RNUM,COLUMNS_PER_ROW) = 1
            THEN
              htp.p('');
              INCOMPLETE_ROW := TRUE;
          END IF;
          htp.p('');
          IF MOD(idx.RNUM,COLUMNS_PER_ROW) = 0
            THEN
              htp.p('');
              INCOMPLETE_ROW := FALSE;
          END IF;
        END LOOP;
        IF INCOMPLETE_ROW
          THEN
            htp.p('');
        END IF;
        htp.p('
    ' || idx.DVD_ID ||'
    ' || idx.NomFichier ||'
    '); htp.p(''); htp.p(''); END; /

    SY.

  • a patch can change the release date and time table psrelease?

    a patch can change the release date and time table psrelease?

    Thank you.

    What kind of patch? A bundle? A maintenance plan? An upgrade of the application?
    In any case, I'm sure that it does not change any date, but he has a line in this table.

    Nicolas.

  • FPGA: Change the sinusoidal signal generator

    The sine wave in the FPGA palette generator, that's what I need to do
    but he can't exit do 'cosine', which is outside of 90 degrees. I need 120
    degrees. To avoid discouraging, I opened the façade on the sine wave
    Express VI generator that turned into a normal sup - vi. I changed the
    a digital constant corresponding to 120 degrees out of phase, and the name was changed
    of the output pin.

    The module will not compile. First mistake was a wire that was a type of variable, the
    Fix suggested to check a box for pre-allocating did not work so I made the table
    the length constant of 1024 (that is, it is supposed to be). Following error was
    that one line of vhdl file was too long (32 k characters for a specification of length 4 k max
    characters).

    Just for grins, I put the original VI Express return with the release of cosine and
    It builds correctly.

    There was a big damper on the modification of the vi. However, I didn't know that
    simple conversion to a subvi and the tweak of a constant value would break.

    Is it possible to get an updated the express vi for this application, or advice on how
    changing the text that is there? The compilation breaks mainly online VHDL
    length associated with the range of 1024 points.

    I can roll my own generator of sinus by using some examples, not a big problem but
    It will cost you some time. Another option might be to run two generators of sinus
    and specify a different phase, but I'm not convinced that over time they
    will be exactly synchronized. Change the Express VI is a much better
    option.

    Thanks in advance,

    Bill

    I discovered the hard way that LabVIEW 2011 has no records. After reviewing various options, I settled on the FIFO. The code presented here works well, but it is not save space on the FPGA to the wire using two generators of sinus with a phase difference in hard on one of them. For now, I'll use two sine generators, if this turns out to be unworkable in practice due to the relationship of phase adrift, then I'll look at it again.

    The frequency and phase of the compensating controls are fixed point numbers formatted in zero whole bit and a 32-bit word. Bed down while the loop is synchronized with the loop timed by the FIFO, FIFO of 18 ticks timeout is two more than the 2.5 MHz in a loop which is a ditch-16. The IF block in the lower part, while the loop cut update control up to 10 KHz, 60 Hz sines more quickly.

    Great experience, thank you for the help.

    Kind regards

    Bill

  • How can I customize the font size for Pivot Table Section 11 g?

    Hi all

    I'm new to CSS customization, and I followed the suggestions to use tools like Firebug to look at the CSS styles applied to a particular item.

    11 g, I have a report that uses rotating sections of the table to display the numbers associated with the Department in each Department and the sections. Using Firebug, I see that the titles of the Department are on police-size: 9px; by default. The HTML is:

    < class = "PTSC OOLT" td style = "" are-size: 9px; ">"

    I would like to change the font size default to the values of the Section of the Pivot Table so that it displays 11px-size of font instead of 9px for all reports.

    Digging around, I don't see a way to do unless I have use custom styles custom.css and reference in each of my pivot views. Does anyone else have a suggestion how how I can change the default font size without having to create a custom.css entry? We have many existing reports that have been migrated over 10 g that I prefer not to go back and must add a reference to each view simple pivot.

    Thank you.

    Hello

    Please see:
    http://www.Oracle.com/WebFolder/technetwork/tutorials/OBE/FMW/bi/bi1113/customizing_obiee11g/customizing_obiee11g.htm
    and search for "Deployment of a Style Custom"

    Concerning
    Young

  • Limit the rows in a Pivot table view in dashboard

    Hello
    I tried the same thing and stuck

    Hi all

    I have the PivotTable in dashboad, but it shows all the lines. so, to limit to 25 I changed the instanceconfig.xml as
    iin mentioned blog
    http://obiee101.blogspot.com/2008/02/OBIEE-controling-pivot-view-behavior.html

    Here's the code for the instanceconfig.xml file
    <?xml version="1.0" encoding="utf-8"?>
    <WebConfig>
       <ServerInstance>
         <pivotview>
         <MaxVisibleColumns>500</MaxVisibleColumns>
         <MaxVisiblePages>2500</MaxVisiblePages>
         <MaxVisibleRows>25</MaxVisibleRows>
         <MaxVisibleSelections>3000</MaxVisibleSelections>
         </pivotview>
       <DSN>AnalyticsWeb</DSN>
    
    <CatalogPath>C:\OracleBI_Home\OracleBIData\web\catalog\ManufacturingHubAnalyzer</CatalogPath>
    <Alerts>
    <ScheduleServer>ORACLE-MOC2</ScheduleServer>
    </Alerts>
    <AdvancedReporting>
    <ReportingEngine>XmlP</ReportingEngine>
    <Volume>XmlP</Volume>
    <ServerURL>http://ORACLE-MOC2:9704/xmlpserver/services/XMLPService</ServerURL>
    <WebURL>http://ORACLE-MOC2:9704/xmlpserver</WebURL>
    <AdminURL>http://ORACLE-MOC2:9704/xmlpserver/servlet/admin</AdminURL>
    <AdminCredentialAlias>bipublisheradmin</AdminCredentialAlias>
    </AdvancedReporting>
    <JavaHome>C:\oracle\PROD\apps\apps_st\comn\util\jdk</JavaHome>
    <BIforOfficeURL>client/OracleBIOffice.exe</BIforOfficeURL>
    <!-- To configure a limited set of languages to be available to users uncomment the <AllowedLanguages> tag below and choose a subset set of language tags from the list. Values must be comma separated. -->
    <!-- <AllowedLanguages>ar,cs,da,de,el,en,es,fi,fr,hr,hu,it,iw,ja,ko,nl,no,pl,pt,pt-br,ro,ru,sk,sv,th,tr,zh,zh-tw</AllowedLanguages> -->
    <!-- To configure a limited set of locales to be available to users uncomment the <AllowedLocales> tag below and choose a subset set of locale tags from the list. Values must be comma separated. -->
    <!-- <AllowedLocales>ar-dz,ar-bh,ar-dj,ar-eg,ar-iq,ar-jo,ar-kw,ar-lb,ar-ly,ar-ma,ar-om,ar-qa,ar-sa,ar-so,ar-sd,ar-sy,ar-tn,ar-ae,ar-ye,cs-cz,da-dk,de-at,de-ch,de-de,de-li,de-lu,el-gr,en-au,en-ca,en-cb,en-gb,en-hk,en-ie,en-in,en-jm,en-nz,en-ph,en-us,en-za,en-zw,es-ar,es-bo,es-cl,es-co,es-cr,es-do,es-ec,es-es,es-gt,es-hn,es-mx,es-ni,es-pa,es-pe,es-pr,es-py,es-sv,es-uy,es-ve,fi-fi,fr-be,fr-ca,fr-ch,fr-fr,fr-lu,fr-mc,hr-hr,hu-hu,id-id,it-ch,it-it,iw-il,ja-jp,ko-kr,ms-my,nl-be,nl-nl,no-no,pl-pl,pt-br,pt-pt,ro-ro,ru-ru,sk-sk,sv-fi,sv-se,th-th,tr-tr,zh-cn,zh-mo,zh-sg,zh-tw</AllowedLocales> -->
    <!-- <Disconnected><ArchiveIbots>true</ArchiveIbots><DisconnectedDir>disconnected</DisconnectedDir></Disconnected> -->
    </ServerInstance>
    </WebConfig>
    then restarted the Server BI and BI presentation server. But still the report dashboard for the pivot table displays all lines.

    I need to make other changes.


    Katia

    HI Katia.
    I suggest you use the pagination

    http://www.biconsultinggroup.com/knowledgebase.asp?CategoryID=198&SubCategoryID=365

    Thank you
    Saichand.v

  • How to get the QDR of ADF Pivot table datacell

    JDeveloper 11.1.1.5 version
    Java 1.6
    The ADF faces

    I want to click commandlink in a data cell that sends the value of the header cells to a bean of support. I think that we must get the QDR of a clicked data cell, but how?

    I created the PivotTable: column headers consist of a variable number of dates; row headers consist of the names of the units. The data that cross are a percentage of variance using energy over time. (There is no calculation in the PivotTable, just displaying data from the view).

    ........ 11 Jan 12 13 Jan Jan jan 14. .etc
    Module-1 2.00 5, 25 - 9.30-11.15
    Unit-2 - 554.22 497.00 7.70 2.00
    Unit-3 10.00 - 5, 00 5.00 1.00

    To the cell above it with 497.00 value, the user must click this value (commandlink) and the bean 1) calculate the values of the unit and the date to use as parameter values for ExecuteWithParams under another iterator and 2) navigate to another page using this another iterator.

    It seems that the QDR (reference data) is involved, but can't find enough information about how to implement the same.

    Here are the PivotTable on the jspx:

    < dvt:pivotTable id = "pivotTable1".
    Summary = "reading analytical pivot table.
    value = "#{bindings." CdsaReadingsItfVwView1.pivotTableModel}.
    var = 'cellData.
    varStatus = "cellStatus" >
    < dvt:dataCell >
    < af:commandLink id = "cl".
    Text = "#{cellData.DataValue} '"
    action = "#{pivot_bean.commandlink_action}" / >
    < / dvt:dataCell >
    < / dvt:pivotTable >



    In the bean, we try to getPivotTable(), but it is always null.

    Any direction is welcome.

    David K

    Check how the PivotTable selection demo was created:
    http://jdevadf.Oracle.com/ADF-richclient-demo/faces/feature/PivotTable/pivotTableSelection.JSPX
    Code for this demo here:
    http://www.Oracle.com/technetwork/developer-tools/ADF/documentation/ADF-faces-RC-demo-083799.html

  • Change the font size of a table with javascript

    Hello!

    I am new to developing in javascript, as well as for indesign. I have to make some changes to an existing script. I get a user dialogue in which the imported table must be the size of the font. But how can I change the size of the font in a table?

    Please answer as soon as possible. Thank you very much in advance.

    moketas

    Hello

    do you like this (right)?

    To apply the font to each cell, you must Access the TextFrame-online Table-online cell-online any TextObject object

    var doc = app.documents[0];
    
    // two textframes, they have a table (2x2)
    var tf_one = doc.textFrames[0];
    var tf_two = doc.textFrames[1];
    
    //applied to story
    tf_one.parentStory.appliedFont = "Myriad Pro\tLight";
    tf_one.parentStory.pointSize = 24;
    //not effective against table text
    
    //applied to text-object of each cells of table
    tf_two.parentStory.tables[0].cells.everyItem().texts[0].appliedFont = "Myriad Pro\tBold";
    tf_two.parentStory.tables[0].cells.everyItem().texts[0].pointSize = 24;
    

    Thank you

    mg.

  • How to change the names of slide in Table of contents

    Hello

    How can I change the name of the slide in my table of contents? Slide 1, 2, 3, etc. is not very informative. I went into the properties of the slide and added labels, but who has not updated the names of table of contents slide.

    Any help would be appreciated. Thank you.

    Hello

    Perhaps try to click Reset TOC?

    Click on project > Table of contents.

    Click Reset TOC.

    Click on the image below to see full size.

    See you soon... Rick

    Useful and practical links

  • Change the DB_LOCATION to a mapping Table after you copy it

    Hello!

    Someone knows how to change the DB_LOCATION property for the table in a map after copying it to another module withhin the same project with OMB MORE.

    After copying the mapping of all the objects still points to the old items in the repository. But the objects now in the bad module. I have the same repository as objects in the new module, and I want to change the operator of mapping to point to the objects of the new module.
    In the mapping editor achieve you by combining the mapping object with the new object to another module. How can I do this with the OMB MORE?

    Thanks in advance
    Alexander

    Edited by: user13336549 the 14.09.2010 07:40

    Hi Alexandre

    After you copy a table in a different module, change the module to define the location of data, configure the module to set the location and synchronize the mapping to use this table.

    In OMB to synchronize incoming and outgoing use OMBSYNCHRONIZE command

    On arrival:
    TABLE OMBSYNCHRONIZE "$OMB_CURRENT_PROJECT/SALES/TÄBY" MAPPING "M_W_PARAMS" OPERATOR "TÄBY" USE ('REPLACE', MATCHING_STRATEGY 'MATCH_BY_OBJECT_NAME' RECONCILE_STRATEGY)

    Outbound:
    OMBSYNCHRONIZE MAPPING "M_W_PARAMS" OPERATOR "TABX" TO TABLE "$OMB_CURRENT_PROJECT/SALES/TABX ' USE ('REPLACE', MATCHING_STRATEGY 'MATCH_BY_OBJECT_NAME' RECONCILE_STRATEGY)

    See you soon
    David

  • change the background color of specific table cell

    Hello

    I'm trying to highlight the cell when the max value occurs in the attached VI.

    In addition, as it is a secondary function, possible to change the background color of this specific cell?

    Thank you

    hiNi

    This?

  • In place the structure with replacement of table element uses wrong index

    Hello

    I use the place in structure of elements and notice any strange behavior: if I replace elements in a Subvi and then calling VI, the index is off by one calling VI, most of the time. I saw one or two tracks where the index was correct. Searching for the forums have provided other problems with in place it the structure but not exactly it.

    Attached are a couple of screws demonstrating the problem and some screenshots.

    It seems that you have a problem of optimization of LabVIEW.  It seems that the value of the line is get incremented in your Subvi and that it is somehow going to the main VI.  If you always put a copy in your reset_selections.vi call, I was not able to get the error to occur.  There was a couple of bugs similar to this one.

    You can always add another copy in front of the call to reset_pages.vi, but I never had the problem to occur without it.

    I have attached the modified so VI.

  • Change the structure of program based on the input file

    I have a program that takes parameters of an input file and then executes a Visual acquisition, using IMAQ, controlling some other hardware at the same time.  The duration of the various stages of this process control settings.

    There is a sequence stacked structure to control the playback of the input file, the initialization of the hardware, and then a while loop on the last image to actual purchase.

    The user of the program now wish to have several games acquisition in the same race, possibly with different time settings.  This would mean different iterations of the final loop, based on the parameters of the input file.  There could be 5 games of acquisition on occasion, 3 on another, etc., in a performance of the program.

    The structure VI already seems a little baroque, and I don't want to make it even more complicated.

    I would appreciate advice on how best to proceed, because I'm really a novice of LabView.

    If you use a "State Machine" architecture, you can do exactly that.

    Instead of having a structure of stacked sequence, it is essentially a case structure in a while loop.

    Each case represents a State.

    So in your case, you would have a State for:

    -reading the input file

    -initialization of hardware

    -data acquisition

    You can have the user controls the number of iterations of the State for the acquisition of data that you want to run.

Maybe you are looking for