Column Order in a pivot table

Hi,
I have a question about the column order in a Pivot Table in a WebI (xi r3.1) report
At the moment I have the following Pivot Table
                   |1                                                 |  2
                   | Produced Water | Produced Oil  |  Produced Water | Produced Oil
Platform 1   | 2                         | 3                    |  4                         | 5
Platform 2   | 3                         | 4                    |  5                         | 6
I want to have the following pivot table instead
                    | Produced Water                         |  Produced Oil
                    | 1                         | 2                    |  1                         | 2
Platform 1    | 2                         | 4                    |  3                         | 5
Platform 2    | 3                         | 5                    |  4                         | 6
Is it possible to setup the above pivot table in a WebI report?
Many Thanks for any help,
Dirk Jan

Dirk Jan,
That's a question regurlarly asked to me by users and the solution (as long as nobody is comming up with a better one) is to create variables for the measures for each month (using the WHERE operator).
So you need to define 12 variables (for each month) for Product Oil and Product Water (PO month1, PO month 2, ...., PW month 1, PW month 2 ....) using the formula (eg. PO month1):
=[Product Oil] Where ([month] = 1)
Then instead of a crosstab you build a table where you can put the variables in any order you want.
Regards,
Harry

Similar Messages

  • Maximum Number Of Columns For A OBIEE Pivot Table?

    Hi All ,
    What is the Maximum Number of Columns for a OBIEE Pivot Table? Also what is default size of columns set for Pivot view in OBIEE 11g?
    Thanks In Advance.
    Qujes

    Hi,
    You can increase the maximum columns in a view by add some tags to instanceconfig.xml file.
    check this...http://obiee101.blogspot.com/2008/02/obiee-controling-pivot-view-behavior.html
    Regards,
    Srikanth
    Edited by: Srikanth Mandadi on Oct 15, 2010 10:04 AM

  • Sorting Column's Label in Pivot Table

    Hi Fellows !!
    This is my problem: I have two tables, dates and rates, providing me data for a report. Dates has a DateId (number), Year(number) and Month(varchar2(12)), and Rates has DateId(number) and RateAmount(number). I wrote a quite simple query to obtain report's data:
    SELECT DATES.YEAR, DATES.MONTH, RATES.RATEAMOUNT
    FROM DATES, RATES
    WHERE DATES.DATEID = RATES.DATEID.
    I must to show as a pivot each rate by month for each year. Years must be showed as row heading and sorted descending (this already works) and Months must be showed as column's labels. Something like this:
    ----------|January|February|......|December|
    2008 | 737.3 | 372.3 |......| 342.56 |
    2007 | 346.2 | 456.6 |......| 678.78 |
    The problem is Months always appear in Lexicographical order: April, August, December, ..., September. How can I to define the correct sort for Month ? Thanks in advance for your help.
    Edited by: [email protected] on Sep 21, 2009 4:03 PM

    Hi Vetsrini, thank you for your answer.
    I've included an additional DATES table's field in query, and it contains the number of month, according to your suggestion. Results for query show month's names in proper form, but when I set up the pivot table from template builder and get preview for results (pdf, html, etc), I still get month's names in Lexicographical order. All the examples and documentation tips (sorting tags and others) I've found seems to apply to normal tables, because none of that works in my pivot table. Any other ideas are welcome.

  • Remove column heading in a pivot table without columns

    I have a pivot table which only has rows and measures. But It doesn’t have any column.
    It shows at the top a light grey cell (see attached image https://drive.google.com/file/d/0B1mQC-zTrijUSmtXWEFEaHB1cEU/edit?usp=sharing
    How could I remove that?
    Column properties – labels of column are already disabled.
    OBIEE 11.1.1.7.0
    Regards,
    Víctor

    Hey Victor,
    I'm unable to view that file also...
    Just curious, if you don't have anything in the column section of the pivot, why not just use a table?
    If this is going onto a dashboard the quick and dirty approach is just to make a small CSS change, just throw something like the following into a text object.
        <style>
          .PTCHC0 {border:0px; background-color: #FFFFFF; background-image:none;}
        </style>
    JB

  • CALL TO COLUMN IN TITLE IN PIVOT TABLE

    Hi all, In Oracle BI Asnwer i create a pivot table and i want to call a column data(column data in criteria), i think that i call with "@" and name column or position column, i think this because in gauge i can do it, i put "@1","@2","@3",.... "@+positioncolumn" image--> [Image gauge |http://lh4.ggpht.com/_V2lpPpulbm0/Sjt_sVzrxtI/AAAAAAAACSY/ys175AzRLJI/gaugestitle.PNG] , but in pivot table i can´t, image --> [Image pivot table|http://lh6.ggpht.com/_V2lpPpulbm0/Sjt_sR8NvAI/AAAAAAAACSc/si4JIoU2qNU/pivottable.PNG] .
    I tried with : @1,@namecolumn,@{namecolumn},...etc.
    any sugestions?
    Edited by: Benito Camelas on 19-jun-2009 5:13
    Edited by: Benito Camelas on 19-jun-2009 5:14

    where exactly do you have a title in a pivot? you sure its not a title for the entire report?
    if its the latter then you can add an narrative and apply what you tried ( e.g. @1)

  • Duplicate fact column  as percentage in pivot table.

    Hi,
    I created duplicate fact column set as percentage in pivot table.
    Duplicate column not visible for graph generation.My requirement is need to use percentage column for graph .
    How to achieve this.kindly let me know.

    Thanks for reply.
    Sorry if im not clear.
    Here is my requirement.
    1.In my report contains 2 columns.
    2.Example - year,count.(Here- Count is fact)
    3.I make the count as duplicate column and set as percentage.
    4.If i create graph in pivot table itself then graph contains 3 column information i.e.,Year,Count,% Count.
    5 Here i unable to hide/remove original count column.
    My requirement is my graph has to contains 2 column information i.e., Year,%Count.
    How to achive this.kindly let me know.

  • How to calculate value from perticular column and row in pivot table

    Hi all,
    I am having following pivot table.
    Country
    A
    B
    C
    D
    F
    G
    H
    J
    K
    L
    M
    Grand Total
    Canada
    1
    1
    3
    3
    12
    14
    13
    97
    China
    8
    4
    3
    19
    India
    2
    47
    448
    176
    395
    3656
    1964
    1360
    8077
    USA
    1545
    352
    380
    26
    10
    4
    8
    32
    2054
    1023
    758
    4624
    UK
    12
    19
    13
    23
    33
    298
    Grand Total
    1545
    352
    381
    29
    72
    474
    184
    427
    5743
    3028
    2167
    13114
    Now I want sum of Columns A, B, C, K, M where Country = India in one field.
    and sum of D, F, g in another field. and sum of remainig columns in another field.
    How can i get sum of values with some where condition in pivot table.
    Thanks,

    Hi Michael,
    Following is the representation which i want
    CouRntry
    ROW LABLES
    A
    B
    C
    Total of
    ABC
    F
    G
    Total
    Of FG
    J
    K
    L
    TOTAL
    of JL
    Grand
    Total
    Canada
    1
    1
    3
    3
    12
    14
    13
    97
    China
    8
    4
    3
    19
    India
    2
    47
    448
    176
    395
    3656
    1964
    1360
    8077
    USA
    1545
    352
    380
    26
    10
    4
    8
    32
    2054
    1023
    758
    4624
    UK
    12
    19
    13
    23
    33
    298
    Grand Total
    1545
    352
    381
    29
    72
    474
    184
    427
    5743
    3028
    2167
    1
    Also if i get sum how can i add a column in between of the fields.
    Thanks

  • How to change column order in power pivot model

    Hi All,
    I have an existing Power Pivot Data Model. In the data model when I add a new column it always go to the end. Is there any way to re-order columns in an existing data model (data model accessed via manage button on ribbon)
    Thanks
    Sonny

    Hello Sonny,
    In common the order of the columns shouldn't matter. But if you want to reange the order, you can simply drag&drop a column to an other Position. Click on the column header and keep the mouse key pressed, then move it to the position you want.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • In Adobe Forms Central can I move the column order in the response table?

    I need to change the order of the columns in my response table for some forms. How can I do that?

    You're in the wrong forum, this one is for LiveCycle Designer.
    Try here:
    http://forums.adobe.com/community/formscentral

  • How to Sort Dimension in Pivot Table via Order Column which is changing like Factual values

    Hi,
    Recently in of our product offerings we got stuck on this following question:
    How to Sort Dimension based on the Order Value which Keeps Changing with Factual Values??
    We have a data source laid out as (example)
    In the above the “Order” columns are changing per
    Company/(DimensionA) for DimesnsionB.
    Instead what we want is: (But only if we can get the following result without putting the “Order” Column in the “Values” Section. 
    If there are any configurations that we can make to our power pivot model for the similar data set so that the
    DimesnionB in this case can be sorted by the Order column, would be greatly helpful to us. 
    Sample File:
    http://tms.managility.com.au/query_example.xlsx
    Thanks
    Amol 

    Hi Amol,
    According to your description, you need to sort dimension members in Pivot Table via order column, and you don't want the order column show on the Pivot table, right?
    Based on my research, we can sort the data on the Pivot table based on one of the columns in that table, and we cannot sort the data based on the columns that not existed on the Pivot table. So in your scenario, to achieve your requirement, you can
    add the column to pivot table and hide it.
    https://support.office.com/en-gb/article/Sort-data-in-a-PivotTable-or-a-PivotChart-report-49efc50a-c8d9-4d34-a254-632794ff1e6e
    Regards,
    Charlie Liao
    TechNet Community Support

  • Pivot tables with column selector - navigation?

    Hi
    Just hoping someone can help. We maintain a large number of dashboards and would like to move to streamlining them by combining reports using column selectors. However when we have pivot table reports where the column selector on the rows are selectable on up to 5 different fields, but the pivot columns are split by one specific field, the navigation reports won't filter on the column headings. It will filter on the rows which can change between the various column selector options.
    For example we have:
    5 columns (5 types of application)
    The rows are either: advisor, status of app, month received, age of app, world region etc...
    The fact is # of apps
    This navigates to a list report which should prompt off the various fields in the column selector and the pivot table column headings (all are prompted) but it just ignores the type of application field and only prompts off the rows.
    Is it possible to have it prompting off both like a normal pivot table does?
    Sorry if that's not clear.
    Regards
    Edited by: Nefertare on 15-Jun-2011 05:47

    user12104265 wrote:
    ''||Entity."Ent"||''No need of " before & after Report2
    FYI: goto col properties -> data format -> override -> select 'HTML' from LOV
    Regards,
    *Raghu*

  • Pivot table with variables columns

    I need a helo to pivot table with variable columns,
    I have a pivot table :
    SELECT a.*
    FROM (SELECT codigo_aluno,nome_aluno , id_curso,dia FROM c_frequencia where dia like '201308%') PIVOT (sum(null)   FOR dia IN ('20130805' ,'20130812','20130819','20130826')) a
    but I need to run the select with values for dia , getting from a other table :
    SELECT a.*
    FROM (SELECT codigo_aluno,nome_aluno , id_curso,dia FROM c_frequencia where dia like '201308%') PIVOT (sum(null)   FOR dia IN (
    select dia from v_dia_mes )) a
    thank you

    The correct answer should be "Use the Pivoted Report Region Plugin".
    But, as far as I know, nobody has created/posted that type of APEX plugin.
    You may have to use a Basic Report (not an IR) so that you can use "Function returning SELECT" for your Source.
    You would need two functions:
    One that dynamically generates the Column Names
    One that dynamically generates the SELECT statement
    These should be in a PL/SQL Package so that the later can call the former to ensure that the column data matches the column names.
    i.e. -- no 'SELECT *'
    MK

  • How to hide/suppress empty columns in pivot tables

    In a pivot table, is there any way to do something like "suppress missing data" to make an entire column hidden only if it is empty? I have a situation where I can't hide an entire measure because the measure has values for another dimension, but I would like to hide the column that is empty. See the example below. I would like to hide the combination of Dim1 and Measure 2, and the combination of Dim 2 and Measure 3. I can't hide all columns with Dim1 and/or Dim2, or Measure2 and/or Measure3. Is there any way to hide just the column with the empty combination? Thanks.
    Dim1 Measure1 Always populated
    Dim2 Measure1 Always populated
    Dim1 Measure2 Always null
    Dim2 Measure2 Always populated
    Dim1 Measure3 Always populated
    Dim2 Measure3 Always null

    Bhawna -
    That made a difference, but it still needs some work. The IfNull() function picked up every value in the columns that I wanted to hide and changed them to zero. The conditional formatting that you suggested hid the content in those columns from the HTML. However, there ended up being several issues:
    1) IfNull() picked up other null values that happened to be in the resultset, so the conditional formatting was applied to more than intended. I could correct that by changing the data value in the physical database columns for the entire pivot table columns that I want hidden, but then I have to work around having bogus values in those intersections. Still, that is a possible workaround.
    2) The column headers for the columns that I want to disappear did not go away. When I applied CSS display:none, it shifts the pivot table cells to the left, so a lot of the data ends up under the wrong column headings.
    3) CSS display:none only hides the content from screen readers. When I view the pivot table on the dashboard and print it to a PDF, the data in the columns that I want to disappear are back.
    That still seems like it's a long ways from "suppress missing data" for the entire column. Thanks for your suggestion.
    Daniel

  • Sorting Totals After on rows in a Pivot table

    Hi,
    I need to Sorting Totals After on rows in a Pivot table .
    Can anyone help?
    Thanks

    Try this:
    1) Duplicate your measure column in Criteria.
    2) In the fx window, enter RANK(your_measure_column).
    3) Place this column in the Rows section of your pivot table. Apply ascending sort order.
    4) Hide the column.
    Your Totals (After) column (the sigma sign in the Columns section of your pivot table) willl be sorted.

  • Implicit Aggregate in pivot table ?

    I am using Excel to query an OLAP SSAS cube. Without any filter, the pivot table I have is: 
    Values
    SCM Lines Count
    94741
    OTR_Net
    87.28%
    OTD_Net
    95.00%
    I need to consolidate these metrics on the first complete months of the year. So I create a named set. The corresponding code in the MDX query that Excel generates is:
    SET [YTD] as VisualTotals({[Delivery Date].[Period Hiearchy].[All],YTD(StrToMember("[Delivery Date].[Period Hiearchy].[Month].&"+
    FORMAT(Now(),"[yyyyMM01]")+ ".PrevMember"))})
    When I drag and drop this set to the columns area of the pivot table, I get this:
    Values
    2014-01
    2014-02
    Grand Total
    SCM Lines Count
    3715
    3608
    7323
    OTR_Net
    81.77%
    84.77%
    83.24%
    OTD_Net
    91.66%
    94.33%
    92.97%
    So far so good, but I would like to remove the months and only keep the Grand Total. But you cannot move a set to the page filter area, so I tried the following workaround with the add-in "OLAP Pivot table extensions": I remove the set from the
    columns area (the result changes back to the first table above), and add a calculated metric:
    [Measures].[YTDCount] AS Aggregate([YTD],[Measures].[SCM Lines Count])
    And - surprise -, I get the result below: The other metrics are also filtered on the [YTD] set, even though it is not explicitly set as a filter in the pivot table.
    Values
    SCM Lines Count
    7323
    OTR_Net
    83.24%
    OTD_Net
    92.97%
    YTDCount
    14646
    The final MDX query is:
    WITH
    SET [YTD] as VisualTotals({[Delivery Date].[Period Hiearchy].[All],YTD(StrToMember("[Delivery Date].[Period Hiearchy].[Month].&"+
    FORMAT(Now(),"[yyyyMM01]")+ ".PrevMember"))})
    MEMBER [Measures].[YTDCount] as AGGREGATE([YTD],[Measures].[SCM Lines Count])
    SELECT {[Measures].[SCM Lines Count],[Measures].[OTR_Net],[Measures].[OTD_Net]} DIMENSION PROPERTIES PARENT_UNIQUE_NAME,HIERARCHY_UNIQUE_NAME ON COLUMNS FROM [METRICS] CELL PROPERTIES VALUE, FORMAT_STRING, LANGUAGE, BACK_COLOR, FORE_COLOR, FONT_FLAGS
    Even if I unselect my custom metric YTDCount (which gives twice the correct result btw), the result for the other metrics remains unchanged. The final pivot table is indeed what I wanted, but I do not want to use what seems a dirty hidden trick.
    Can anyone explain why the custom metrics also impacts other measures ?
    Would anyone have a proposal for a set definition that would generates either only one column or a hierarchy where I could hide the month level. ?
    <object height="1" id="plugin0" style=";z-index:1000;" type="application/x-dgnria" width="1"><param name="tabId" value="{D6D21951-03EF-4DE5-AA00-FEF24C66552F}" /></object>

    I finally found the answer: create a calculated member instead of a Named set. I had not realized that it could also be done with the add-in.
    In the pivot table, I have dragged the Delivery date dimension to the page filter area. I can then select the member "YTD", and get exactly what I wanted.

Maybe you are looking for

  • How can I find duplicate photos without going through all 5000  one at a time?

    How can I find duplicate photos withough going through all 5000 one by one?  I have numerous duplications and used to be able to click on Edit and Find Duplicates and could clean up all the duplicates easily.  Now that option is gone.  I still have l

  • ICal printing bug and workaround

    iCal 8.0 (2026) OS X 10.10 French When I try to print a calendar and in my iCal preferences "start week on" is set to monday, the printed calendar starts with tuesday and when I try to print a calendar and in my iCal preferences "start week on" is se

  • T500 Laptop Model 2242-CT0 - Integrated Camera No Longer Shows in Devices

    Laptop is about 14 months old. Integrated camera was working fine.  I was using Skype the other day & it could not find the camera. I went into Devices & uninstalled the driver. Then the camera disappeared from Devices altogether. I downloaded/instal

  • HT1349 download issues with tv show

    I am dowloading a free tv epsiode and it says it will take over 1000 hours to download and will not let me delete it?

  • HDMI to USB  for cable tv?

    I have an ATT cable box and I am using EyeTV now with standard def. from a coaxal cable.  Can I take the HDMI out of the cable box and adapt it to a USB on my my computer for cable TV input? That should give me hi def. Is there a better way to do it?