Sort the rows in the pivot table

Hi all

I have a category, grade and region columns sales and I want to use the PivotTable to display the category, region and sales values with category sorting by column rank, however I don't want to display the value of ranking in the PivotTable.

The XML is already sorted according to their rank, but in the PivotTable, it is sorted by category name.

Thank you

Sushil

You can change the code below, so that you can sort by rank, even if you do not rank display.

CATEGORY_NAME{ROW, o = a}'; REGION {o = a, t = t} '; ' SITECOUNT ';' amount '? >

Tags: Business Intelligence

Similar Questions

  • 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

  • Cannot sort the results table using datetime attribute

    I use short 3.1. My result table disappears when I try to sort by using a date/time attribute. I also saw him sometimes throw me an error: in ORDER BY clause: ORDER BY clauses may refer only to the attributes set in the same statement. I don't have any problem sorting the same point of view on a list of result of the datetime attribute. What could be wrong?

    I installed the provided patch support of oracle and it works. My studio version was 3.1.14220. After connection, the version is 3.1.18915.

  • Calculate the % with the pivot table columns

    I created an application with these columns:
    Metric       Study          Fast          Slow       On-Target     Total
    ---------------------------------------------------------------------------------
    Metric1     Study1           1             0              0             1
    Metric1     Study2           1             0              0             1
    Metric1     Study3           0             0              1             1
    Metric1     Study4           0             0              1             1
    Metric1     Study5           0             1              0             1
    Metric1     Study6           0             1              0             1
    Metric1     Study7           0             0              1             1
    Metric1     Study8           0             0              1             1
    Metric1     Study9           1             0              0             1
    Metric1     Study10          1             0              0             1
    I want to create a pivot table looks like this.
    Metric          Fast     Slow      On-Target     Total      % Fast     % Slow   % On Target
    ------------------------------------------------------------------------------------------------------
    Metric1         4           2        4            10           40        20       40
    The fast, slow, on the target and Total columns are calculated fields. Picky, I'm having is to get the % columns to work. I also tried create columns % in the form of columns of the table, but at each level of study, the % is 100% or 0%.

    I tried with duplicate columns, all different options to display the value as. None of them worked.

    Could someone help me? The version of the OBI is 10.1.3.4

    Thank you

    Shi-ning

    Published by: SPUD on November 21, 2011 23:09

    Sounds like it. You will need the account of studies as a measure in the criteria. You could do something in the repository, but the fastest way is:

    Criteria:
    Add the study in (it will not go into the PivotTable)
    create new measure based on any existing measure that has the background you need with the formula:
    cases where [existing] is not null then 1 else 0 end

    This will give you 1 for each line that your measure in effect is valid. Add this new measure in the PivotTable and treat it as a normal amount.

  • Prevention of Mult. Select all THE values column of the pivot table

    All,
    Is there a way to prevent the behavior when viewing a PivotTable and using a Mult. Select guest, choosing mult. values and each pivot has all THE column values for all THE pivots on the screen?

    For example, lets say we had the following in the pivot:
    Column: STATE
    Line: PRODUCT
    and we had a Mult. Select a prompt on the REGION - East, West, Central, West

    If I've chosen is in the prompt, I get all the States of the REGION of the East for the first values.
    If I choose the East and the West in the prompt, I get a pivot showing amounts East and Southeastern States in the Western States AND top (no value, of course) at the top. I also have an another pivot below showing the amounts of the West and Western States, AND the Northeastern States (no values for the Eastern States).

    In other words, all States that are in the mult. REGION show selected in each pivot.

    Thank you.

    Uh, that's what I said...

  • Sorting of rows and columns in the pivot table

    My XML:
    <ROWSET>
         <data>
              <R>C</R>
              <C>3</C>
              <V>C3</V>
         </data>
         <data>
              <R>C</R>
              <C>2</C>
              <V>C2</V>
         </data>
         <data>
              <R>B</R>
              <C>1</C>
              <V>B1</V>
         </data>
         <data>
              <R>B</R>
              <C>3</C>
              <V>B3</V>
         </data>
         <data>
              <R>A</R>
              <C>2</C>
              <V>A2</V>
         </data>
         <data>
              <R>A</R>
              <C>3</C>
              <V>A3</V>
         </data>
    </ROWSET>
    With the help of the wizard, I created the corss-tab (table 2 x 2)
    (1,1) RC
    (1,2) <?for-each-group@column:data;./C?> <?C?> <?end for-each-group?>
    (2,1) <?for-each-group:data;./R?><?variable@incontext:G1;current-group()?><?R?>
    (2,2) <?for-each-group@cell://data;./C?><? ($G1[(./C=current()/C)]/V)?> <?end for-each-group?>group?&gt;
    produce the following output:
    -------------------------
    RC     3      2      1
    -------------------------
    C      C3     C2
    -------------------------
    B      B3            B1
    -------------------------
    A      A3     A2
    -------------------------
    I need the same exit, just with the rows/columns properly ordained. Help, please. Thank you.

    Hello

    with this code

    Cell (1,2): <? for-each-group@column:data;. / C ? > <? type: C? > <? C? > <? end for each group -? >
    Cell (2,1): <? for-each-group: data; / R ? > <? type: R? > <? variable@InContext:G1;current-group()? > <? R? >
    Cell (2.2): <? for each group-@cell://data;. / C ? > <? type: C? > <? ($G1_SQUAREBRACKET_(./C=current()/C)]/V)? > <? end for each group -? >

    and get your data

    .....|.. 1..|... 2...|... 3
    A.............. A2... A3
    B...... B1............... B3
    C............... C2... C3

    Concerning
    Rainer

  • Failed to create the Data Source by using the pivot table query

    Hi people.

    Running Oracle BI Publisher 11.1.1.6.0

    He complains with ORA-01738: lack of KEYWORD

    When I try and a SQL query in function by using the data set:

    SELECT *.
    FROM (SELECT ist.descr |) ' '|| EIT. Descr service_type, ROUND (sum (milf.ttl_number_units)) ttl_number_units
    Of mv_iot_line_item_forecasting mllf
    Ope on ope.master_entity_id = milf.partner_master_entity_id JOIN operator
    JOIN iot_service_type on ist.iot_service_type_id = milf.iot_service_type_id ist
    JOIN iot_event_type on iet.iot_event_type_id = milf.iot_event_type_id EIT
    WHERE milf.iot_agreement_id = 2621
    AND milf.traffic_direction = 'CR '.
    AND ope.operator_type_id = pkg_ngc_constants.operator_type_id_gsm
    Ope.main_reference GROUP, ist.descr | ' '|| EIT. Descr)
    PIVOT (sum (ttl_number_units) FOR service_type IN ("Voice MO' like' voice', 'MT voice' as 'voice MT", "SMS MO" as "SMS MO", "SMS MT" as "SMS MT", "MB of data" as "MB of data"))
    order by 1


    No idea why it won't let me create?

    The query runs perfectly fine in SQL.

    Any input appreciated.

    Simon

    Can you try to change your "IN" clause to this and see if it works?

    service_type IN ("voice MO' as Voice_MO, 'Voice MT" as Voice_MT, "SMS MO" as SMS_MO, "SMS MT" SMS_MT, 'MB of data' as Data_MB)

    Thank you
    Bipuser
    Published by: BIPuser on October 18, 2012 07:40

    Published by: BIPuser on October 18, 2012 07:41

  • Display data as absent from the pivot table tab

    Hi all

    I added a column for measures in the PivotTable. But I don't have all the data in this column c in my report itself. When I clicked the VIEW DATA AS particular column option is missing... what was not right here? Please let me know.

    This type of emergency. TIA

    If you are filling 'yes' or ' "then it will not appear"Show the data as"option because this option is only for numeric data type columns. You can not show age % for a varchar column. Pull this column lines or columns, accordingly and it goes to show that data. In the section all the columns must be in double or integer data type is a numeric data type and that they should have some rule aggregation applied to this topic.

    You must include the varchar columns in section rows or columns.

    Kind regards
    Sandeep

  • How to change the color of the upper left cell in the pivot table dynamic

    I have PivotTable where RANK = measurement labels, COLUMNS = years and MEASURES are certain values. I need to change the color of the cells, but I'm not able to change the color of the upper-left cell. Part of the HTML for this table is:
    <table class="PivotTable" id="saw_181_2" border=0 style="background-color:#CC9933;" cellspacing=0>
    <tr class="PTRowLabelsRow">
    <td class="PTRH" style="border-right-style:none;border-top-style:none;"> </td>
    <td class="PTCOL1 PTCIL OOCD" style="background-color:#CC9933;">2007</td>
    <td class="PTCOL1 PTCIL OOCD" style="background-color:#CC9933;">2008</td>
    </tr>
    I want to change the first cell that contains the class 'P TRH' but I'm not able to do because there is no option for it in the responses.

    Hi, you can also create a static text view in the dashboard page where you post your report with the PivotTable or on the report itself, which contains:

    " "

    Make sure that you mark up the content "html" on this view.

    This will affect only the PivotTable formatting for dboard page you are watching

    hope that helps

  • Calculation on two columns in the pivot table

    Hi all

    I have a vision:
    Dept. year amount
    Accounting 500 $2010
    Accounting 700 $2011
    $100 engineering 2010
    $600 engineering 2011
    and etc.


    PivotTable: (data displayed side by side)

    Dept: 2010 2011
    Accounting 500 $700 $
    Engineering 100-$600

    Is there a way of PivotTable to create the additional column, and do the math on this column? New column called 'Change' (amount of real computation of 2010 less amount of 2011 by each Department). I see the function to duplicate columns in the PivotTable. But that's it... without additional calculations.

    Thank you in advance,

    Sonya

    Pretty easy simple n...

    Your year must be in the columns area... Simply create a new collar calculated say diff with function as formula and formula of the sale as a "2011" "- 2010". This will give you the sum of diff. You can do this more flexible by making use of $1 & $2 to reference...

  • 10g pivot table out on the grant table

    Hi, experts,

    No there is no way to sort the pivot table according to the values in table of grant?

    Thank you very much!

    example is necessary...

    do you mean void totals?
    I'm assuming you own m1, d1, d2, d3 etc and applying subtotals on d2 dimension...

    If so,.
    create a column with fx:
    sum (m1 d1, d2), then in the criteria tab himself sorting on... can it exclude pivot...

    If subtotals on d1 (d1 m1) just sum is enough...

  • 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

  • Convert pivot table to a table in the same answers BI report

    Hello

    I have a simple BI answers report. I used a PivotTable when in fact I have no aggregate
    so it would be faster performance (I said) to use a table for the view, rather than on a pivot table view.


    Is there a quick way to convert a pivot table view to a table view, without having to re - select
    all the columns all over again?

    Thanks a lot for all the replies.

    -Greg

    user1636556 wrote:
    Thanks for your reply. How exactly "choose you as ' a table view. At runtime, I get the view composed upwards.
    Then change the drop-down menu that says "Compound Layout" and choose "Table" currently? I tried that and
    the PivotTable returned at run time. Or do I do 'View Edition' on the existing PivotTable and change something that
    for a Table view?

    Thanks for your help.

    -Greg

    Compound mode is the "view holds that all views." On the upper right side, you can click on the Red 'X' and remove the Pivot Table view. You can then "Add View", and select the Table view. Compound mode will be your title and Table.

    So to answer your question, no, not "change the drop down menu that currently says"Compound Layout"and choose"Table"that takes you only to the view of the Table, because it does not affect the report itself. That's why at run time, you still get the Pivot Table View. Follow my instructions in the previous paragraph. Good luck!

    Edited by: David_T December 9, 2011 10:25

  • Sort data in pivot table

    Hi Experts,

    Here's the requirement I need to sort the text Text_field field say to sort this column, I called another field. Sort_Text_field.

    I have the pivot table as follows

    Can I sort Text_field even if Sort_Text_field is not in the PivotTable on the side.

    Thank you!

    Month1-(Jan) Month2-(Feb)
    Text_fieldMetricValue1MetricValue2


    Thank you!!

    Just in case if helps others. Tim Dexter tanks

    Follow this link: https://blogs.oracle.com/xmlpublisher/entry/new_skool_crosstabbing

    Customization

    One new feature that I discovered this week is the ability to show a single column and sort by another. I got a data set which was extracting the month abbreviations, we wanted to show for months through the top and headers of lines on the side. As you know XSL is not very good with dates, in particular recognizing the names of months. He just wants to sort them alphabetically, so, after comes before Jan, etc..
    A way around this is to generate a number of months to the sides of the month and which allows to sort. We can do that in the crosstab, unfortunately it is not exposed in the user interface still but its doable.

    Go back and take a look at the initial crosstab command. especially the line inputs and columns. There, you will find the sort criteria.

    "ProductsBrand {, o = a, t = t}, PeriodYear {, o = a, t = t}.

    Note these key commas inside the braces? Because there is no field that precedes them, this means that the crosstab should sort on the column before the brace that is PeriodYear. But you can insert another column in the data set to be sorted. For myself how I needed to work.

    <>" _Fund_Type_._Fund_Type_Sort_, o = a, t = n} ';' _Fiscal_Period__Amount__._Amt_Fm_Disp_Abbr_ {_Fiscal_Period__Amount__._Amt_Fiscal_Month_Sort_, o = a, t = n} ';' _Execution_Facts_._Amt_ ';' amount '? >

    Excuse the horribly verbose XML tags, good ol' BIEE: 0) emboldened columns are not in the table, but in the data set. I just open the field, dropped and changed the value type (t) is 'n', number, instead of the default 'a' and my crosstab started sorting how I wanted that it.

    If you find other tips and tricks, please share in the comments.

  • Remove sorting in a Pivot table view

    Hi people,

    How to remove the column header sort options in the pivot table view?

    Thank you

    AJ

    You want to remove the small arrows on the column header in a pivot view?

    If so, the options are available in the analysis criteria tab. The problem is it cannot be set to a point of view, they perform the whole analysis

    In the criteria-> Properties tab right next to the filters and the stages of selection analysis-> Interactions tab.

    Mark, if this can help

Maybe you are looking for