End total in a pivot table

Hi,
Is it possible (in Oracle BI 10g !) to split up the total line of a pivot table ?
In the attached example there is only 1 line for the end total and that's the total for 2013 and 2014 together.
I would like to have 2 lines in the total :
- 1 line with the total of 2013
- 1 line with the total of 2014
I know there are some work-around solutions such as putting the year in the column part but that can't be used because :
- we will have more columns as result
- the end user really would like to see 2014 below 2013 and NOT next to each other.
Thanks for any help or suggestion
Patrick De Weyer

Hi,
A pivot table view of this data would look something like this by default:
Now switch back to the criteria tab and edit the ‘column properties’ associated with your fact measure. Choose the ‘Data Format’ tab, tick to override the default format and choose ‘Custom’.
It seems that the syntax for this custom format is positive-value-mask (semi colon) negative-value-mask (semi colon) null-mask. So this means we have a few options.
E.g. if you want zeros (0) instead of null then enter:
*#,##0;-#,##0;0* 
If you want a dash/strike (-) then you could enter:
#,##0;-#,##0;-
Or if you want to add a custom message then something like this would work:
#,##0;-#,##0;no data
http://obieeelegant.blogspot.com/2011/06/how-to-replace-null-values-in-obiee.html
if it's not working above method use BIN in report
thanks
Deva

Similar Messages

  • How to Display a Detailed Grand Total Column in Pivot Table

    I have a pivot table that looks something like this:
    I would like to display the 'Grand Total' column at the end so that it is separated by year, like this:
    Is there a pivot table setting that would allow it to display this way? I've searched high and low but haven't found anything. I appreciate any help. Thanks!

    You can add a calculated item to the pivot table to display grand totals by year:
    1.  First, turn off grand totals for rows and columns (PIVOTTABLE TOOLS > DESIGN tab > Layout group > Grand Totals > Off for Rows and Columns)
    2.  Click on the Price List (Invoice) field in the pivot table (hidden above the
    Member field?).  You must click on the pivot table cell containing the field name for the entries "Member" and "Non-Member".
    3.  Add the calculated item (PIVOTTABLE TOOLS > ANALYZE tab > Calculations group > Fields, Items & Sets > Calculated item...
    4.  In the "Name:" box, type: Grand Totals
    5.  In the "Formula:" box, type: = Member + 'Non-Member'
    6.  Click the "Add" button, and then click "OK"

  • Hiding grand total value in pivot table view

    Hi,
    I have a pivot table in which i have 5 measures, out of these 5 measures i want to show the grand total for only the first one. How can this be done?
    Thx

    hi Phantasm, do as it is mentioned as kart.
    IT WORKS FINE, put agrregation rule as none and take row total as after.........
    take aggregation rule as NONE for last 4 columns ok......
    TRY NEATLY ONCE..........IT WORKS
    Thanks & Regards
    J Rushi

  • Average of the Grand Total in the Pivot Table

    all,
    I have calculated a Grand Total of sum 3 days trade in the pivot table using the Totals after in the Pivot table. I wanted to obtain the average of this Grand total. How can i achecive this in OBIEE 10g.? Please help urgent

    I did not understand your scenario exactly. Did you try using the 'newly calculated column' option from 'More options' of the particular column for which you want the average?.
    for example
    segment brand 1 value
    brand 2 value
    brand 3 value
    brand 4 value
    Avg brand per segment <value>
    notice that the 'Avg brand per segment' is a 'newly calculated item' where the average brand has been calculated. hope this helps.

  • Conditional formatting on total cells in pivot table

    Hi, i have a pivot table with some values and percentages.
    The percentages are in red if less then 0.
    I have 1 row and 1 column of total values, but this cell aren't red if percentage is less then 0.
    Does anybody know a solution for my problem?
    Thanks

    This is the example i create:
    DIM A:
    - Total A
    - Value A
    DIM B:
    - Total B
    - Value B
    FACT:
    - Value A (DIM A)
    - Value B (DIM B)
    - Actual
    - LY
    - Delta % (Calculated: 100*(Actual - LY)/LY)
    Then i create the pivot table with B on rows (Σ on Total B), A on cols (Σ on Total A) and measures Actual, LY and Delta %. The last one has a conditional format on Delta % < 0.
    This is the xml that i have:
    <saw:report xmlns:saw="com.siebel.analytics.web/report/v1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlVersion="200705140" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sawx="com.siebel.analytics.web/expression/v1">
    <saw:criteria subjectArea="&quot;Test Conditional Formatting&quot;">
    <saw:columns>
    <saw:column formula="&quot;DIM A&quot;.&quot;TOTAL A&quot;" columnID="c0"/>
    <saw:column formula="&quot;DIM A&quot;.&quot;VALUE A&quot;" columnID="c1"/>
    <saw:column formula="&quot;DIM B&quot;.&quot;TOTAL B&quot;" columnID="c2"/>
    <saw:column formula="&quot;DIM B&quot;.&quot;VALUE B&quot;" columnID="c3"/>
    <saw:column formula="FACT.ACTUAL" columnID="c5">
    <saw:displayFormat suppress="default" interaction="default">
    <saw:dataFormat xsi:type="saw:number" commas="true" negativeType="minus" minDigits="2" maxDigits="2"/></saw:displayFormat>
    <saw:columnHeading>
    <saw:displayFormat interaction="default"/></saw:columnHeading></saw:column>
    <saw:column formula="FACT.LY" columnID="c6">
    <saw:displayFormat suppress="default" interaction="default">
    <saw:dataFormat xsi:type="saw:number" commas="true" negativeType="minus" minDigits="2" maxDigits="2"/></saw:displayFormat>
    <saw:columnHeading>
    <saw:displayFormat interaction="default"/></saw:columnHeading></saw:column>
    <saw:column formula="FACT.&quot;Delta %&quot;" columnID="c4">
    <saw:displayFormat suppress="default" interaction="default">
    <saw:dataFormat xsi:type="saw:percent" commas="false" negativeType="minus" minDigits="2" maxDigits="2"/>
    <saw:condition>
    <sawx:expr xsi:type="sawx:comparison" op="less">
    <saw:columnRef columnID="c4"/>
    <sawx:expr xsi:type="xsd:decimal">0</sawx:expr></sawx:expr>
    <saw:displayFormat fontColor="#FF0000"/></saw:condition></saw:displayFormat>
    <saw:columnHeading>
    <saw:displayFormat interaction="default"/></saw:columnHeading></saw:column></saw:columns></saw:criteria>
    <saw:views currentView="0">
    <saw:view xsi:type="saw:compoundView" name="compoundView!1" rptViewVers="200510010">
    <saw:cvTable>
    <saw:cvRow>
    <saw:cvCell viewName="pivotTableView!1"/></saw:cvRow></saw:cvTable></saw:view>
    <saw:view xsi:type="saw:titleView" name="titleView!1" rptViewVers="200510010"/>
    <saw:view xsi:type="saw:tableView" name="tableView!1" rptViewVers="200510010" showHeading="false">
    <saw:columns>
    <saw:columnRef columnID="c1" total="true"/>
    <saw:columnRef columnID="c2" total="true"/>
    <saw:columnRef columnID="c0" total="true"/></saw:columns></saw:view>
    <saw:view xsi:type="saw:pivotTableView" name="pivotTableView!1" rptViewVers="200510010">
    <saw:edge axis="page"/>
    <saw:edge axis="section"/>
    <saw:edge axis="row">
    <saw:edgeLayer type="column" columnID="c2" total="before">
    <saw:displayFormat visibility="hidden"/></saw:edgeLayer>
    <saw:edgeLayer type="column" columnID="c3"/></saw:edge>
    <saw:edge axis="column">
    <saw:edgeLayer type="column" columnID="c0" total="before">
    <saw:displayFormat visibility="hidden"/></saw:edgeLayer>
    <saw:edgeLayer type="column" columnID="c1"/>
    <saw:edgeLayer type="labels"/></saw:edge>
    <saw:edge axis="measure">
    <saw:edgeLayer type="column" columnID="c5"/>
    <saw:edgeLayer type="column" columnID="c6"/>
    <saw:edgeLayer type="column" columnID="c4"/></saw:edge></saw:view></saw:views>
    <saw:prompts/></saw:report>

  • Sorting on Totals in a Pivot Table

    I am using 10g and I am trying to do a secondary sort on a total column. The columns in my pivot table are region, country, employee headcount by business unit and total headcount. I have the region sorted to get Americas, Asia/Pacific, and EMEA, but i can not get the countries under each region to be sorted by the total headcount.
    thanks in advance for any hints.

    961587 wrote:
    I am using 10g and I am trying to do a secondary sort on a total column. The columns in my pivot table are region, country, employee headcount by business unit and total headcount. I have the region sorted to get Americas, Asia/Pacific, and EMEA, but i can not get the countries under each region to be sorted by the total headcount.
    thanks in advance for any hints.Try this:
    1) Grab another instance of your headcount column in your Criteria.
    2) Click on the fx and enter SUM(table.headcount by table.Region, table.country)
    3) Put this column after the Region column (if you have a duplicate layer in your Rows Section. If Region is in the Sections area of the pivot table, then this column should be farthest left).
    4) Sort this column and hide it.

  • Adding a different total column in pivot table

    Hi,
    I'm trying to create a dinamic table, with "client" in rows, "family" and "subfamily" in columns and "units" as measure. What I want to do is to add another column with oher measure (year accumulate units) at the right of the dinamic table showing the Total of the measure for client.
    It would be something like this:
    Family1 | Family2 | |
    Subfamly1 | Subfamily2 | Subfamily3 | Total Units | Total year accumulate
    Client1 10 35 20 65 256
    Client2 20 15 10 45 1231
    I'm working with MS word Bi Publisher add-on, but I don't know how to modify the "xsl" code to obtain this.
    Can anyone help me?
    Thank you very much,

    This sounds like a standard requirement in most of the reports. You just need to change your data model. Group by wbs code and put a summary column. However, I cannot explain it any better without seeing your report. Neither can Oracle Team
    Regards
    ~Ajay
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Roselink1:
    I making changes to a developed report using Reports 2.5 and I need to add a subtotal column at the change of wbs code.in other words I have A26,A27,A28.
    At the end of A26, I would like to have subtotal column, and then when I get to A27, another subtotal and so forth.
    Can I do this on the query or what approach should I take.<HR></BLOCKQUOTE>
    null

  • Rank on column-level Grand total column in pivot table  -  Need help

    Hi ,
    I have developed the report, which is having a pivot view. In pivot view i have a column level grand total. I need to apply the rank for the grand total column..
    will that be possible.. if possible let me know..
    Thanks
    Kishore

    MAY BE IT IS NOT POSSIBLE IN PIVOT VIEW< AS WE DONT HAVE FORMULA EDIT OPTION FOR COLUMNS IN PIVOT VIEW.......
    Thanks & Regards
    Rushi

  • Grand Total sorting in Pivot Table

    Hi Everyone,
    I have 4cols taken in row and one in col with measure and i now i calculated the grand total and i want to sort the values in grand total., could anyone pls help me

    hi Phantasm, do as it is mentioned as kart.
    IT WORKS FINE, put agrregation rule as none and take row total as after.........
    take aggregation rule as NONE for last 4 columns ok......
    TRY NEATLY ONCE..........IT WORKS
    Thanks & Regards
    J Rushi

  • Grand total in Pivot Tables with Paging

    I could help with this issue please
    when we apply paging PivotTables there a way to show Grand total all pages, and I've noticed that the Grand total vee only when the last page or show all results at once.
    For me it is important to see the Grand total on every page.
    Thanks in advance for your cooperation

    If you're not talking about printing, then you can do this:
    1) Instead of using the same pivot table that you created for details to also display the Grand Total, first paginate the pivot table. Look here:
    Re: Pivot table
    In your pagination, break your pivot table in groups such that you can see a small enough chunk without having to scroll too much.
    2) Now that you have a manageable size pivot table, create the Grand Total as another pivot table. Take out all the attributes that break the total in detail and leave only what will give you the Grand Total.
    3) Add this pivot table to the bottom of your detail pivot table in step 1. This will give you the grand total right underneath each page of your detail pivot table without having to go all the way to the end of the report.

  • Pivot table - Grand total Error

    hi,
    I am getting incorrect totals in my Pivot table.
    i.e The Grand Total is not giving the exact sum.
    pls direct me..
    My scenario: I need to calculate the total expenses per region and quarterwise.

    i havent used any aggregation rule.
    In the Answers, i have designed the Pivot table in the below format
    [i simply drag-dropped the Columns]
    I should give the grand total regionwise and also quarterwise.but the grand totals arent displaying the proper results.
    pls advise.
    Ex:
    region          Q1     Q2     Q3     Region- Grand total
    AAA          20000     50000     120000     xxxxxxx
    BBB          22240     13456     111500     xxxxxxxxx
    Qtr-Grand Total     zzz     zzzz     zzzz     nnnnnnnnn

  • Percentage calculation in pivot table per row

    Hello all,
    I do calculate two fields in a pivot table. First calculated field is the # of activities per user (standard SoD reporting field). Second calculated field is the # of activities per user with a certain classification (customized pick list field that is converted in a from a text value to a integer value ==> CASE WHEN Activity.Type = 'Call' THEN 1 ELSE 0 END).
    In the pivot table I do show both vlaues as a sum. I would like to calculate the percentage per row per user.
    Example:
    User - # activities - # calls - percentage
    User XY - 80 - 40 - 50%
    Thanxs for your help
    Elmar

    have you # Call column look like
    sum(CASE WHEN Activity.Type = 'Call' THEN 1 ELSE 0 END) -- column2
    create the percentage column with # activities / column2
    under the column property of the percentage column --> Data Format -->Treat Numbers As --> percentage.
    leave the Aggregation Role as default on all columns.
    Hopefully, I didn't miss anything.
    Shilei

  • Error with Pivot Table in 10.3.6 weblogic server

    Hi Everyone,
    I created an ADF application and in that i have a Pivot Table i developed using Jdeveloper 11.1.1.3 it was working fine when we deployed the application in Weblogic server 10.3.3.
    Now DBA's upgraded the Weblogic server to 10.3.6 so i downloaded Jdeveloper 11.1.1.6 and generated the EAR file and deployed in the new 10.3.6 server. The pivot table is not working i am getting the following error message
    Root cause of ServletException.
    java.lang.NoSuchMethodError: oracle.adfinternal.view.faces.bi.renderkit.imageView.ImageViewRendererUtils.isAttachmentMode()Z
    at oracle.adfinternal.view.faces.bi.renderkit.pivotTable.RichPivotTableRenderer.getRowBlockSize(RichPivotTableRenderer.java:1489)
    at oracle.adfinternal.view.faces.bi.renderkit.pivotTable.RichPivotTableRenderer.getPivotTableEncodeContext(RichPivotTableRenderer.java:1616)
    at oracle.adfinternal.view.faces.bi.renderkit.pivotTable.RichPivotTableRenderer.encodeAll(RichPivotTableRenderer.java:1789)
    Here is the code
    <dvt:pivotTable id="employeeDocuments_pt"
                            value="#{bindings.lum_EmployeeDocumentsReportView1.pivotTableModel}"
                            binding="#{backingBeanScope.backing_LUM_EMPLOYEE_DOCUMENTS_REPORT.employeeDocuments_pt}"
                            var="cellData" varStatus="cellStatus" sizing="auto" summary="Enrollments"
                            inlineStyle="width:1400px; height:900.0px;"
                            rowFetchSize="-1" columnFetchSize="75">
                <dvt:dataCell dataAttribute="DocumentFlag">
                <af:selectBooleanCheckbox id="idselectbooleancheckbox" label="SELECT" value="#{cellData.dataValue}"
                  readOnly="true"/>
                </dvt:dataCell>              
                </dvt:pivotTable>
    The code remains the same nothing changed from 10.3.3 to 10.3.6 and i even tried deploying the ear file generated from jdeveloper 11.1.1.3 even that did not work.
    Is this soemthing related to libraries issue?
    Can some one help me on this.
    Thanks,
    Harika.

    Timo,
    This the total code for Pivot table and to export that to Excel i think something in the below code is not supported in 11.1.1.6 and later versions. Can i use <dvt:exportPivotTableData> in commandButton ? because when i comment this code it is working fine.
    <af:commandButton text="EXPORT TO EXCEL" immediate="true"
                                binding="#{backingBeanScope.backing_LUM_EMPLOYEE_DOCUMENTS_REPORT.export_btn}"
                                id="export_btn" visible="false"
                                inlineStyle="font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; font-size: small;">
            <dvt:exportPivotTableData type="excelHTML" exportedId="employeeDocuments_pt"
               filename="Department_TrainingDocuments_Report.xls" title="PivotTable export"/>
                                </af:commandButton>
    <dvt:pivotTable id="employeeDocuments_pt"
                            value="#{bindings.lum_EmployeeDocumentsReportView1.pivotTableModel}"
                            binding="#{backingBeanScope.backing_LUM_EMPLOYEE_DOCUMENTS_REPORT.employeeDocuments_pt}"
                            var="cellData" varStatus="cellStatus" sizing="auto" summary="Enrollments"
                            inlineStyle="width:1400px; height:900.0px;"
                            rowFetchSize="-1" columnFetchSize="75">
                <dvt:dataCell dataAttribute="DocumentFlag">
                <af:selectBooleanCheckbox id="idselectbooleancheckbox" label="SELECT" value="#{cellData.dataValue}"
                  readOnly="true"/>
                </dvt:dataCell>              
                </dvt:pivotTable>
    Thanks,
    Harika.

  • Grand total "before" on static table

    I can do grand total "before" on pivot table...but I need to do in static table. Is possible??
    With pivot table I have option "after", "before" but in static table I don't have any option...
    Thanks!

    Set the aggregation for the metrics.. Either in RPD or in report.
    In report, Open fx of column and you will aggregation drop down at bottom of pop up window. Set that to proper aggregation, and try grand totals.
    - Madan

  • Formatting error on pivot table in migrate report

    Hi to everyone.
    I've this problem:
    I'm migrate a report from OBIEE publisher created on test environment to production environment.
    The version of OBIEE publisher is the same on test and production (11.1.1.6), i' don't know which patch is installed in the 2 environment.
    My problem is on a pivot table in a report, the Header measure column ha 75px Height, in test environment  the full Height have the back color i've choose (Gray) while in production environment the same report with the same specs have the Header Measure column is half in GRAY (my back color choose) and half in blue (standard color of background).
    If i create a new Pivot table with the same style in production ambient and in test i've the same problem.
    Can someone help me for this problem?
    Regards,
    Fabio.

    Timo,
    This the total code for Pivot table and to export that to Excel i think something in the below code is not supported in 11.1.1.6 and later versions. Can i use <dvt:exportPivotTableData> in commandButton ? because when i comment this code it is working fine.
    <af:commandButton text="EXPORT TO EXCEL" immediate="true"
                                binding="#{backingBeanScope.backing_LUM_EMPLOYEE_DOCUMENTS_REPORT.export_btn}"
                                id="export_btn" visible="false"
                                inlineStyle="font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; font-size: small;">
            <dvt:exportPivotTableData type="excelHTML" exportedId="employeeDocuments_pt"
               filename="Department_TrainingDocuments_Report.xls" title="PivotTable export"/>
                                </af:commandButton>
    <dvt:pivotTable id="employeeDocuments_pt"
                            value="#{bindings.lum_EmployeeDocumentsReportView1.pivotTableModel}"
                            binding="#{backingBeanScope.backing_LUM_EMPLOYEE_DOCUMENTS_REPORT.employeeDocuments_pt}"
                            var="cellData" varStatus="cellStatus" sizing="auto" summary="Enrollments"
                            inlineStyle="width:1400px; height:900.0px;"
                            rowFetchSize="-1" columnFetchSize="75">
                <dvt:dataCell dataAttribute="DocumentFlag">
                <af:selectBooleanCheckbox id="idselectbooleancheckbox" label="SELECT" value="#{cellData.dataValue}"
                  readOnly="true"/>
                </dvt:dataCell>              
                </dvt:pivotTable>
    Thanks,
    Harika.

Maybe you are looking for

  • Project is not created from Project PO

    Hi, I can able to create Project PO successfully. But Project is not created from Project PO. Giving message like Object Project Definition TN1.LEVBW.09004 could not be created Project TN1.LEVBW.09004 is currently being processed by WF-BATCH. As I in

  • ISE v1.2 - Endpoint abandoned EAP session and started new

    Hi. I have lots of clients that are not able to log on to both wired and wireless networks, and they always fails with these errors. 5411 Supplicant stopped responding to ISE 5440 Endpoint abandoned EAP session and started new This is with certificat

  • Can DBA force queries to run in parallel without modifying sql's queries

    Hi, We have a latest SUN SPARC server and storage available with Oracle database 11.2.0.3.While running our application on this database we found that only 1 cpu is being utilized out of 16 physical CPU's. Even in our End of day / month process total

  • Cfcontent IIS and particular mime types

    I have an application this is using flowplayer to play various video files. The video files are passed to flowplayer using a cfm script with the cfcontent tag. What I am finding is that for some file types this process fails; the player hangs and the

  • SQL*NET or Oracle Net Services

    Installed ODAC11.2.0.3 on my machine and able to connect to DB. Is Oracle Net Services (http://docs.oracle.com/cd/B28359_01/network.111/b28316/intro.htm) similar to SQL*Net? If so, how do you tell the version of Oracle Net Services being installed? T