Dynamic sorting in pivot view

Hello
Can someone please point me to the OBIEE Oracle documentation where I can find "How to make dynamic sorting work in a pivot table view".
I have many pivot views on a dashboard. Clicking on the measure columns "Sort Ascending" and "Sort Descending" did not use to sort the columns in 10g. But I have found on this link
https://forums.oracle.com/message/9321054#9321054
that dynamic sorting can be now done in pivot views. But I am unable to find Oracle documentation on it that tells me how.
We have upgraded to 11.1.1.7 but still I am unable to do sorting in pivot views on dashboards
Thanks

Devendra,
you cannot have both status and status icon in the same column. so create a new column and then populate it according to the status.
here is the sample code from the layout section of document_todo.htm
<!--      Column: Appraisal Name                   -->
          <htmlb:tableViewColumn columnName = "AP_STATUS_NAME"
                                 width      = "150"
                                 type       = "IMAGE" >
          </htmlb:tableViewColumn>
          <%
              data: status_icon type string.
              if APPLICATION->T_DOCUMENTS_TODO-AP_STATUS = '2'.
              status_icon = cl_bsp_mimes=>sap_icon( id = 'ICON_WS_PLANE' ).
              else.
              endif.
          %>
          <htmlb:tableViewColumn columnName          = "STATUS SIGN"
                                 type                = "user"
                                 title               = "STATUS ICON"
                                 horizontalAlignment = "center" >
regards,
manasa

Similar Messages

  • A better way to Re-Order the Sort in Pivot view ?

    Hello,
    Question first- Is there a better way to do this?
    Background- Have a simple pivot table w/ requirements to put the Status column in order that makes sense to the business not alphabetical.
    Example, # of Service Req with Status needs to be listed as Assigned, Accepted, Completed, Closed, Re-assigned.
    My solution was to create a column iin table view, use a CASE statement to say when Accepted =1 etc. I then sorted ASC, hid the column in table view and then pivot view I added Status column and hid the new CASE column. I am getting the results I expected but I was wondering if there was a better way to do this?
    Thanks- Neally

    As far as the Presentation Layer is concernd (i.e., in Answers) your way is the best I can think of. The only way you can sort a list of values apart from a way the system could automatically determine (e.g., alphabetically, chronologically, numerically, etc.) is to create your own definition. Without human intervention or customized rules, there is no way any system would know that "C" should come before "S" (as in "Assigned" and "Accepted", or that "O" should come before "L" as in "Completed" and "Closed").
    Since the system knows how to order numbers (e.g., 1,2,3, etc.), it makes sense to create your "rule" (using your CASE statement) to assign each status level to the appropriate "number" in the sequence.
    That's what I would do. The only addition I can add is you could do this in the rpd by adding an "order" column to your LOVs in the table and exposing that as a column in the Presentation Layer. Then you can use that order column as the sort.

  • Sort in Pivot View

    We have created dashboard in OBIEE 11 G. In that dashboard there are reports with Pivot view. When we are trying to sort on columns like quantity and amount it is not getting sorted properly. Can somebody help on this.
    Thanks in advance.

    863929 wrote:
    We have created dashboard in OBIEE 11 G. In that dashboard there are reports with Pivot view. When we are trying to sort on columns like quantity and amount it is not getting sorted properly. Can somebody help on this.
    Thanks in advance.Reading this post carefully, the question the OP is asking is different from the general "sort in a pivot table" I answered in the link provided by G. SK. Here, the OP wants to sort on a measure (quantity and amount). Sorting a measure in a pivot table is a bit tricky. Here's how you do it.
    Do this:
    1) Duplicate your measure column in Criteria.
    2) In the fx window, enter RANK(your_measure_column).
    3) Place this column in the first position of your Rows section of your pivot table. Apply ascending sort order.
    4) Hide the column.

  • Remove Sort in Pivot Table View

    Hi Folks,
    How to remove sort options from column header on pivot table view?
    Thanks,
    Aj

    Do you want to remove the little arrows on the column header in a pivot view?
    If so the options are available in the analysis Criteria Tab. The problem is you cannot set it for one view, they effect the whole analysis
    In Criteria Tab  -> Analysis Properties just beside Filters and selection steps -> Interactions tab.
    Mark if this helps

  • How to sort column totals in pivot view

    Hello guys
    I have a report in pivot view where I have put call type on the column section. So the report looks like below with SUM applied at the column section:
                                       Call Type1         Call Type2       Call Type3               TOTAL
    ID                                        SALES TOTAL
    A                                  100                  200                300                       500
    B                                  200                  200                400                       800
    C
    D
    EMy question, how do I sort the data in 'TOTAL' field? The challenge it seems is that since 'TOTAL' isn't a table column, but just a display of pivot Sum, it can't be sorted H-L or L-H..
    But I'd like to have some advice from you guys before I make my conclusion
    Thanks
    Edited by: user7276913 on Jan 11, 2010 10:05 AM

    You can't have the sorting on the total in Pivot table.
    On a workaround,
    you can create a column in the criteria which calculate the sum
    SUM(sales_total by ID)Assign sorting order on this column
    You can exclude this column in the pivot table
    Regards,
    Raghu

  • Customizing grand total columns in pivot view

    Hi,
    I need to customize grand total column name in pivot view
    ex: If i have two measure order quantity and order amount when i am selecting aggregation after in column properties it is getting grand total i need to display as grand total for OQ and grand total for OA
    Please give suggestions
    Thanks,
    Kartheek.
    Edited by: 998231 on May 26, 2013 11:31 PM

    Hi Kartheek,
    In Pivot View, the default Grand Total can not be renamed to have measure specific grand total labe (The one which we specify in the pivot view either by row or column).
    But you can try having one seperate measure (in criteria) which will calculate the grand total of each measure by dimensions, which are available on the report.
    In sort you can achieve this using table and narrative view together (Not by pivot view).
    Expresion to be used for grand total in report criteria is Sum( Measure By Dim1, dim2... DimN)
    where Dim1 and dim2 are the dimesional column available on the report and measure is you OQ/OA.
    Create a table view as a default view (do not add any report level agg) and then add narrative view to display the Grand total OQ and Grand Total OA. You can add your custom lables with HTML tag, disply the 1st row only as the values will be repeated for grand total.
    If you find any other solution do let me know. As of now I can think of this as a best solution.
    Regards,
    Kashi

  • Pivot view grand total navigation

    Users want to navigate on pivot view grandtotal to next level report based on grand total value.I can only do column heading and column value navigation as per my knowledge.Anyway these values are calculated on the fly and not stored in the database.Storing these totals seems to be impossible as this values change dynamically.
    Do we have any alternate solution ?
    If this was discussed in this forum before- my apologies as i coudn't find in search criteria.
    Thanks

    This doesn't make sense to me. Why would you want to drill/navigate based on a grand total value? The value displayed in the grand total comprises individual rows summed up. Therefore, it is the rows that give the total significance. If it is an individual row that makes the total "something worth investigating," the user should click on a value. If the pivot table is one of many in the view, than each table has a common value (region, account number, product code, etc.). Use this value as the interactive value. These make more sense as link to a more detailed report.
    Having said all that, please explain why it is essential that the grand total value be use as the link, because there just might be a good reason. But as far as I know, it can't be done.

  • Sorting on Table view 11g

    Hello -
    I need to sort the table view by the sub-totals. So if I have a table view like
    Car     red     2
         blue     2
         green     2
    Total Car          6
    Bike     black     5
         blue     5
    Total Bike          10
    Trucks     Yellow     3
         Grey     4
    Total Trucks          7
    And I want to sort them on the subtotals. My expected report should be like:
    Bike     black     5
         blue     5
    Total Bike          10
    Trucks     Yellow     3
         Grey     4
    Total Trucks          7
    Car     red     2
         blue     2
         green     2
    Total Car          6
    When I do Sum(measure by Vehicle), and sort on it, I loose the grouping (or suppression of data) for Bike, Car and Trucks. What I get is:
    Bike     black     5     10
    Total Bike          5     10
    Bike     blue     5     10
    Total Bike          5     10
    Trucks     Yellow     3     7
    Total Trucks          3     7
    Trucks     Grey     4     7
    Total Trucks          4     7
    Car     red     2     6
    Total Car          2     6
    Car     blue     2     6
    Total Car          2     6
    Car     green     2     6
    Total Car          2     6
    Is this a bug that the suppression on the column is lost or am I not following some steps. I dont want to put this in a pivot table view.
    Thanks in advance.

    Hello -
    I need to sort the table view by the sub-totals. So if I have a table view like
    Car     red     2
         blue     2
         green     2
    Total Car          6
    Bike     black     5
         blue     5
    Total Bike          10
    Trucks     Yellow     3
         Grey     4
    Total Trucks          7
    And I want to sort them on the subtotals. My expected report should be like:
    Bike     black     5
         blue     5
    Total Bike          10
    Trucks     Yellow     3
         Grey     4
    Total Trucks          7
    Car     red     2
         blue     2
         green     2
    Total Car          6
    When I do Sum(measure by Vehicle), and sort on it, I loose the grouping (or suppression of data) for Bike, Car and Trucks. What I get is:
    Bike     black     5     10
    Total Bike          5     10
    Bike     blue     5     10
    Total Bike          5     10
    Trucks     Yellow     3     7
    Total Trucks          3     7
    Trucks     Grey     4     7
    Total Trucks          4     7
    Car     red     2     6
    Total Car          2     6
    Car     blue     2     6
    Total Car          2     6
    Car     green     2     6
    Total Car          2     6
    Is this a bug that the suppression on the column is lost or am I not following some steps. I dont want to put this in a pivot table view.
    Thanks in advance.

  • Issue in pagination of pivotal view (10 rows per page)???

    Hi All,
    I’m implementing pagination in pivotal view, report has to show 10 records per page.
    Report has to show for 8 weeks data per employee and 10 employees information per page, however report is displaying data for more than 10 employees and for a week single week, in second page its showing for 2 week and so on ….
    I used all the following functions however issue persists.
    1. FLOOR(RCOUNT(1) /10)
    2. CEILING((RCOUNT(1))/10.0)
    3. TRUNCATE((RCOUNT(1)-1)/10, 0) +1
    4. CASE when rcount(1)<11 then '1-10' when rcount(1)<21 then '11-20' when rcount(1)<31 then '21-30' else '30+' end
    Any suggestions
    Thanks,
    SMA

    Look in criteria add one more column
    in FX write this formula
    Go to the formula window of this column and enter the formula shown below
    CASE WHEN RCOUNT(1) < 11 THEN ‘1-10′
    WHEN RCOUNT(1) < 21 THEN ‘11-20′
    WHEN RCOUNT(1) < 31 THEN ‘21-30′
    ELSE ‘30+’ END
    Once this is done, drag and drop this column into the Pages section of your pivot table. Now you can paginate through your pivot table report.
    let us know if its solve your problem
    Thanks

  • Dynamic Sorting on Multiple filed in Crystal report 2008

    Hi
      I am using Crystal report 2008 sp3 full build with hotfix 3.3 along with ASP.NET 2.0
      I have implimented the multi filed sorting using the record sort export and setting the sort order in the report designer.
    Now my requirement is such that i would like to have dynamic sorting on multiple fileds while report is displayed in the UI.
    Means suppose i have a report with Customer region,name,city,rating,status etc.
    Now by using the sort control  i would like to have the functionality in such a way that if user
    a)  first sorts on the region then the records should be first sorted by region
    b)  then sorts on the city then the records should be sorted first by region then by city
    c) now sorts on the  rating then the records should be sorted first by region ,second by city and then by rating
    Now other user may do
    a) first sorts on the rating then the records should be first sorted by rating
    b)  then sorts on the status then the records should be sorted first by rating then by status
    c) now user sorts on the  region then the records should be sorted first by rating,second by status and then by region
    and so on the sorting criteria changes from user to user through the UI.
    Is there any way to achieve the dynamic kind of sorting with Crytsal report 2008 where we can set the order of the fileds at sorting in UI dynamically .The sorting order of the fields are not known at the time of design of the report and its completely depends on the user's need.
    Please let me know if you require any information on the same.
    Regards,
    smitha

    Hello,
       Good Day!
       Thanks for your answer.
       Could you please explain me in detail how to achieve this functionality?
       Do i need to create a static parameter?
       I  get my data set through the command option in crystal report.So i think i need to go by formula in the report.
       i am just putting down the steps to follow.Please correct me if i am wrong.
      step1 :Create s static parameter with the name SORT.
    step2: create the formula as you have mentioned like     
        (IF {?Sort}='Vendor Number' THEN {Pr_Voucher_Status;1.Vendor_Key}& " "& {Pr_Voucher_Status;1.ap_remt_key}
        & " " & {@date}
       else
        IF {?Sort}='Invoice Number' THEN {Pr_Voucher_Status;1.ap_vchr_invno}& " " & {Pr_Voucher_Status;1.Vendor_Key}&
        " " &{@date}
       else
       IF {?Sort}='Invoice Amount' THEN {Pr_Voucher_Status;1.ap_vchr_amtc}& " " & {Pr_Voucher_Status;1.Vendor_Key}&
         " " &{@date})
        I could not  understand what this formula is really doing .
        Could you please tell me what the following names indicates? :
                  Pr_Voucher_Status :- Table/Command name ??
                  Vendor Number,Invoice Number etc.. :-  ??
                 Vendor_Key,ap_vchr_invno,ap_vchr_amtc .. :-  Filed names ??
                 use of 1.{} :- ??                              
    step3: place the below formula in the page header  to display the sort order
        (if {?SORT}='Vendor Number' then "Vendor Number, Remit To, Invoice Date"
              else if {?SORT}='Invoice Number' then "Invoice Number, Vendor Number, Invoice Date"
              else if {?SORT}='Invoice Amount' then "Invoice Amount, Vendor Number, Invoice Date") .
    Note:-My report does not have grouping.Do i need to have grouping?
    in this case how the sort control will work  ?
    As i have mentioned in the first post the order of sorting is completely depends on the user's perspective .
    The report is used by the whole organization ..
    i mean the people with different roles like Manger,Team leads,modul leads,developers ,testers etc..
    the usage of report varies according to the roles so the sort order also.
    Regards,
    smitha.
    Edited by: smitha thomas on Mar 16, 2011 5:01 AM

  • Reg: Excluded Section in Pivot view

    Hi,,
    can any one telme..
    how exactly the 'Excluded Section' in the pivot view, will effect the entire report.
    In one of my report when i place one column in excluded section, one set of data is coming, when i remove that column in the Excluded section , data is effecting and its changing...why this is happening??

    Even if the column is excluded in pivot, it will be there in the query sent to database. If you exclude an attribute, and if it changes the granularity of the report, you have to make sure you set aggregations properly in pivot measures, otherwise you can get unexpected results, and individual row level or even grand totals.
    Edited by: A. Kumar on Apr 2, 2013 1:26 PM

  • How to acheive Pagination and Dynamic sorting in Web layout.

    Hi All,
    I'm new to Oracle Reports. I use Report Builder 10.1.2.0.2.
    I tried creating a template for simple tabular report. I modified the tempalte for Paper layout, Web layout ie modified .tdf, html, css files.
    When the data is dispalyed in the web browser, i need to do Pagination and dynamic sorting (ie when the column heading is clicked, it needs to do sorting by that column).
    In the jsp page of the report, it is possible but i want to incorporate this functionality in the Template. So that a single template can be used across multiple reprots with out any modification.
    Can any one please tell me how to do this.
    Please reply me at the earliest. Its very urgent.
    Thanks & Regards,
    P. Gayathri Devi

    Igor,
    You'll need to switch from using Partial Page Rendering to full page submits on that report. In version 4.0 we should be getting more control over event handling in PPRs but to what extent is still unknown.
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen
    http://sourceforge.net/projects/plrecur

  • Exclude the value 0 records in the pivot view obiee 10g

    HI,
    I have a requirement.,i have report circuit and outage time by month in a pivot view.If one circuit have a '0' outage time in all months then i want to exclude the record from the display.Is there anyway to display the data like this....
    thanks,
    prassu

    circuit   April may jun
       1          0   0     10   
       2         0     0     0
       3         0     4    1
    my question is  for circuit 2 all months we have outage 0.so i want to exclude the record , if we select Quarter 2.
    And  exclude 3 if we  select April....etc

  • How to create a webdynpro view dynamically and embed into view container?

    Hi all,
    Anyone knows how to create a view dynamically and embed the view into an existing view container?
    My layout looks like this:
    I have an existing view named main_view.
    Inside main_view, I create a view ui container named vcu_view.
    I embed the main_view into my window.
    I need the codes to create a view dynamically and embed the view into the view container. Anyone have any idea?
    Thanks in advance.
    Rgds,
    Siong Chao

    hi Siong Chao   ,,
    empty view insence ..( create a view without any UI element in it  ) in design time ..
    >
    Siong Chao wrote:
    > Hi Chinnaiya,
    >
    > How do you create an empty view dynamically then? Thanks in advance.
    i think we cannot create a new view dynamically because it is a webdynpro restriction ..
    NOTE: experts correct me if i am wrong in this answer
    Regards
    Chinnaiya P

  • Download to Excel is hiding rows in a pivot view

    Hello ,
    When downloading a report to excel from OBIEE Dashboard , certain rows are getting hidden . For instance , I have total 15 rows in my pivot view and when I download that report into excel format , the rows from 8-13 are not showing up . After 7th row I see 14th row .
    But when I download the same report from Answers I can see all rows in the pivot view .
    I tried looking at the formatting options of the pivot view and everything is normal . This is happening only with this particular report , other reports in dashboard download normally .
    Please let me know if anybody has ideas .
    Thank you
    Karthik

    karthik,
    From where ur downloading to excel ...use the download option available at "preview " button ,if you are using the same go with report links download button option
    Last option create a new report (without any filters in case if u have)
    Thanks,
    Saichand.v

Maybe you are looking for

  • Downloaded new version of itunes and now it will not open on my Macbook

    downloaded new version of itunes and now it will not open on my Macbook

  • UNABLE TO OPEN PDF ON MY MAC!

    Can someone help me with this error message below?  It is preventing me from opening PDF files on my MAC but not on my PC.  Thank you! "Adobe Reader could not open 'AIS_Research_Compression.pdf' because it is either not a supported file type or becau

  • Mutating table exception on trigger with After Insert but not with before

    Hi I need to maintain some constraint on the table to have only one row for values of the columns but not by primary key constraint. Because in case of primary key the insert would fail and the rest of the operation would be discontinued, I cannot ch

  • Relating to Creation of Number of Company Codes.

    Hi Experts, My Client is a Trader and he has 5 different Company Codes. Which are as follows. 1) This Company imports Goods and Sales Locally.-It"s a properitoship 2) This Company Exports Goods - Its a Properitoship. 3) This Company is a shop which s

  • Safari 7.0.4

    Just updated to 7.0.4 and several changes noticed.  The worst is absence of up-down squares in lower right of screen.  Is there a way to get them back?