Sort order column in a report

hi all,
I've seen in a dashboard (OBIEE 10.1.3) on linux os that is possible to sort the columns of the measures in a table (an arrow appears next to the name of the column), but I haven't noticed in the settings how get this result.
is a feature of linux or you can apply this in windows? if so, how?
thank you for the reply

you have to enable the sorting for table view in Answers report. refer below article.
http://gerardnico.com/wiki/dat/obiee/dashboard_column_sorting
- Madan

Similar Messages

  • Sort Order Column not Working

    I have set a sort order column on one of A VARCHAR field, but the functionality is not working. The sorting is enabled in the table view and when I sort by the said column it still sorts based on the VARCHAR values of the column instead of the other INT column I want to sort by. The logical SQL and physical query never even includes the column to sort. Are there any exceptions for the 'Sort Order Column' setting? Is there a config setting or data connections setting that I need to check to make this work?
    Thank You!
    Edited by: VNC on Oct 3, 2011 9:08 AM

    hi,
    can you give me more detailes like some sample column data like below kind
    Like Ex: varchar month column it sould display based on month id
    month : Fev-2011,Dec-2011,jan-2011 and month id 1 to 12
    set your month id as sort order column of month name.
    double click month name ->In general tab set the sort order column as month id
    FYI...see the sample link
    http://www.biconsultinggroup.com/obiee-tips-and-tricks/setting-a-sort-order-column.html
    i hope helped you
    THanks
    Deva
    Edited by: Devarasu on Oct 4, 2011 12:39 AM

  • Sort order column with a between filter

    Hi all,
    [using OBI-EE version 10.1.3.3.1]
    I've got a column 'BLOCK_ROW' which contains values A,B,C....AA,AB,AC...BA,BB...FK,FL
    Alphabetically this orders A,AA,AB.... which is incorrect. The order should be A,B,C...
    To be able to sort correctly we added a column 'ROW_SORT' to our model, which is numeric. This column is set as the 'sort order column' in the repository and makes sure the sorting is done correctly.
    So far, so good...
    Now, I want to be able to use a 'between' filter on this column, e.g. between 'A' and 'C'. Unfortunately this returns A,B,C,AA,AB... while I want it to return A,B,C.
    Is this possible?
    Thanks,
    Elio
    Generated SQL:
    select distinct T91353.BLOCK_ROW as c1,
    T91353.ROW_SORT as c2
    from
    <table_name> T91353
    where ( T91353.BLOCK_ROW between 'A' and 'C' )
    order by c2
    --> Sorting handled based on ROW_SORT, between filter not :(

    That will only do the trick in this particular example. Between 'A' and 'AA' will fail again and only returns A and AA while it should return A..Z and AA.
    Using extra filters is always possible but I'm looking for a more robust solution, which also allows for dashboard 'between' prompts based on this column.
    A workaround I came up with is to add a calculated field which concats an '_' in front of the single 'digit' values. This results in: A,B,_C,.....,AA,AB....FL. This set can be ordered alphabetically and this will work for now.
    In the future, however, it might happen that the order of the letters will completely change. In the datamodel this can be achieved by changing the order of the numbers in ROW_SORT.
    Example dataset:
    BLOCK_ROW | ROW_SORT
    Q | 1
    D | 2
    F | 3
    AA | 4
    A | 5
    The filter 'between D and AA' should then result in D,F,AA.
    Any suggestions?
    Thanks,
    Elio

  • 'Sort order column' doesn't work for prompt with function

    I turned on the 'sort order column property' in repository for a logic column 'school year', so when I get school year from prompt, it shows desc order. It works fine if th colume in prompt is a simple prompt. But when I add function in the column in prompt (means edit Fx with a case statement), when school year prompt shows in dashboard, it is not sorted in desc order any more, it went back to acs.
    Am I missing something, or this is a bug?
    Another question, when I turn on 'sort order column property' in repository for a logic column, can I choose to desc on another column? I couldn't do it, and had to create another sorting column.
    Thanks,
    Amy

    Cant you create this logic in the rpd and then apply order there and use the newly created column in your prompt..

  • How do I retain the default 3 column sort order in a standard report

    I have a standard (not interactive) report of about 12 columns in which I set column 1 as the primary sort, column 2 as the second sort within that and column 3 as another sort within 1&2. I have also made other columns sortable by the user. However, once a sort is done by the user on one of the other columns, the default sort order never seems to come back, even if the application is closed. Is there something I need to set?

    Standard report sort columns are stored persistently as user preferences. The <tt>apex_util.remove_sort_preferences</tt> method can be used to remove them, resetting reports to the default sort order. However this is not a precision instrument: it removes the user's sort preferences for all reports...
    It is possible to remove the sort preference for individual reports using the <tt>apex_util.remove_preference</tt> method by reverse engineering the required sort preference name from the admin user preference report, but I wouldn't recommend it. I recently worked on an application where this had been done for one report, but we removed this "feature" as: (1) no one could remember why it had been done in the first place; (2) it was completely inconsistent with the behaviour of the other app reports; (3) the implementation was Byzantine (get non-obvious pref value and have page re-request itself with additional parameters) and lead to (4) poor page performance.
    Unless users are jumping up and down demanding this I'd stick to the status quo...
    (Please update your forum profile with a better handle than "user719232".)

  • Sort order in an interactive report

    In APEX 4.1 I am trying to create an interactive report based on a table that's similar to the following:
    id - number
    colA - varchar2
    colB - varchar2
    colC - date
    colD - varchar2
    In the IR, I'd like to have break on column A so that the report displays as follows:
    colA
    id, colb, colB, colC, colD
    I want the sort order for column A to be based on the ID column, but I find that APEX displays it in alpha order based on the value for column A. I could include the value for ID in the break, but since it only has meaning inside the database, it leads to confusion among the users. I read some other posts where people have included the ID field and then used javascript to hide it in the report. I was wondering if there might be an alternative solution.

    AT USER-COMMAND.
    CASE SY-UCOMM.
    WHEN 'BACK'.
    IF SY-LSIND = 5.
    SY-LSIND = 1.
    ENDIF.
    ENDCASE.
    YOU CAN ASSIGN THE VALUE FOR SY-LSIND .
    <b>DEMO_LIST_INTERACTIVE_3</b> Refer this
    reward if this helsp.
    Message was edited by:
            Judith Jessie Selvi

  • Sorting on columns with templated Report -- Named Column (row template)

    Hi forum,
    I'm trying to duplicate a regular report's column sorting functionality in a "Named Column" report.
    The column headers are in the "Before first and after last row text" "Before Rows" area of the template :
    <th onClick="sortByColumn('#REGION_ID#',5)">Frequency</th>invoking this javascript:
    function sortByColumn(regionId,colNo) {
         var u = "f?p=124:401:&SESSION.:fsp_sort_" + colNo + "::RP&fsp_region_id="+regionId.substring(1);
           document.location.href=u;
    }I'd like to sort descending when a user clicks the column again, and to display the column sort arrows (up/down).
    However, since sorting is persisted per user, even when the page's cache is cleared, it would be necessary to pick up the sort column and order (ascending,descending) on page load or query it later using ajax, so that the sort display (the arrows) stays in synch with the actual sort.
    Has anyone got an idea how to do this?
    Cheers
    Edited by: YT on Apr 1, 2009 4:19 PM
    Edited by: YT on Apr 1, 2009 4:24 PM
    Edited by: YT on Apr 1, 2009 4:26 PM

    Hi,
    Sort ordering on reports are stored as user preferences - see Need to do column SORTING only when I click the column heading for Denes' example on how to use this
    Andy

  • Ordering Columns in SSRS Report Builder for SQL Server 2012

    I have my report displaying the correct information, however the columns are arranged in alphabetical order of the column group members. I want to arrange them in a different order. How do I do that?
    The following may help, but don't use it if it doesn't: One variable in my data set is the desired column order (call it 'column rank'. It runs from 1,...,10). If I make that the column group, the columns ARE arranged in the correct order but now the labels
    are '1','2', etc. I.e. not the labels I want.  
    Many thanks.
    P.S. First time using RS so please excuse terminological errors. Obviously I have used the docs. and Google to try and find the answer to this.
    -A

    Hi achalk,
    Per my understanding that you want to specify the order of the column group to a special order, right?
    I have tested on my local environment and you can using an expression to acheive this, detail information below for your reference:
    for example you now have the order like below:
    Column group:
    test1  test2  test3  test4
    You can use the expression with switch functionn to specify order value based on the value in the column group :
    select the sorting in the "group properties" of the column group and add the expresion in the "Sort by"
    =switch(Fields!columngroupfield.Value="test1",1,
    Fields!columngroupfield.Value="test3",2,
    Fields!columngroupfield.Value="test4",3,
    Fields!columngroupfield.Value="test2",4)
    Then you will got the order like below:
    test1 test3 test4 test2
    If you still have any problem, please feel free to ask.
    Regards
    Vicky Liu
    If you have any feedback on our support, please click
    here.
    Vicky Liu
    TechNet Community Support

  • Need help in sorting a column in classic report

    Hi I am trying to create and classic report and I need to do sorting on the columns. Also I am using a select list to filter the records in the column. When I am not using the select list the sorting is working but when I am using the selcet list and select the sort option then it is showing error. Can anyone help...
    Thnaks,
    Rik

    Select lists prior to v4 will sort on the return value. In v4, it sorts on the display value (as you're probably expecting). There's nothing really for you to fix here except if it's really important, see if you can get upgraded to v4.

  • Need help in sorting a alphanumeric DB column in BO report.

    Hi All,
    We have a DB column (Data type = varchar2).. with values..
    1                               
    1
    1.1
    1.1.1
    1.1.1.1
    1.2
    1.2.1
    1.3
    1.3.1
    1.3.1.1.1
    Desired
    1
    1.1
    1.1.1
    1.1.1.1
    1.2
    1.2.1
    1.3
    1.3.1
    1.3.1.1.1
    2
    etc..
    We need to sort this column in BO report.. any idea..  we have sorted it in the Query which is giving right output in pl/sql developer but in BO sorting is not showing properly.
    Could you help please to achieve this?
    Thanks and Regards,
    Priyashree

    The Record Sort Expert appears when you choose the Record Sort Expert command from the Report menu.
    Use the Record Sort Expert to define how you want the records in your report to be sorted for printing. You can add and remove a sort field and define the sort direction (ascending or descending) for the data in your report.
    In my version Record Sort appears as a   A over a Z with Arrows pointing from A to Z, and Z to A.  It is next to group expert, which looks like a mountain with an arrow pointing up.  Both are on the "Expert" tool bar.

  • Interactive report - order column by other column values

    Hi Oracle experts,
    could you please advise how to order column A by values of column B in Interactive report ?
    When clicking on header of "Countries" column in order to sort it acs/desc I would like to order it by values of column "Sort_order" which stores values from 1 to 100.
    The goal is to order "Countries" not alphabetically, but according to values of "Sort_order" column.
    Any ideas?
    Thanks in advance for your help.
    Best regards,
    Konrad

    962622 wrote:
    Hi Oracle experts,Welcome to the forum: please read the FAQ and forum sticky threads (if you haven't done so already), and update your profile with a real handle instead of "962622".
    When you have a problem you'll get a faster, more effective response by providing as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
    With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.
    could you please advise how to order column A by values of column B in Interactive report ?
    When clicking on header of "Countries" column in order to sort it acs/desc I would like to order it by values of column "Sort_order" which stores values from 1 to 100.
    The goal is to order "Countries" not alphabetically, but according to values of "Sort_order" column.
    Any ideas?I'm not an expert on Interactive Reports, so there may be a less brute force method using the built-in features, but here's an approach that's worked in the past.
    Modify the query to generate the column as:
    '<!-- '|| to_char(sort_order, '009') || ' -->' || countryi.e. prefix the country name with an HTML comment containing the required ordinal number. This won't be visible in the report, but will be considered when sorting in SQL.
    In the IR Column Attributes set the column's Display Text As property to Standard Report Column so APEX won't escape the HTML tags.
    This method has side effects: some IR filters won't work; aggregate calculations can't be applied to the column; and report exports contain the HTML rather than the expected value.
    Edited by: fac586 on 02-Oct-2012 13:28
    From APEX 4.2 IR columns have support for HTML Expressions, so Re: Report formatting/sorting issue using a hidden column and HTML Expression should be used, as it's purely declarative and provides better separation of concerns. (Still a problem on report exports though. Whilst the sort column can be suppressed using a condition, the hidden column can't be "unhidden" to replace it.)

  • 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

  • Predefined sort order of columns

    Hi,
    when my Discoverer users add columns to their tables they expect a certain sort order without having to press the 'sort button' or use the 'edit sheet dialog'.
    My only idea so far is to use a custom folder and ORDER BY in the SQL.
    Is there any better way to achieve a certain predefined sort order?
    Thanks
    Franziska

    While creating calculations and adding sorts on all of the columns will solve the immediate issue, every new worksheet will require the users to go through the same steps. It also sounds like your users actively create workbooks and sheets as needed, and these steps will have to be repeated.
    Something I thought of this morning may (or may not) work, and unfortunately I do not have time to test it today. But ... what if you created a view with an ORDER BY clause to sort the data as you wanted it sorted. In theory, the results should be returned ordered, without having to add any sorts at the Disco level. Since there is a fair amount of work in "retooling" a BA to use the views, it would be good to do a small proof of concept. Like I said, it might not work for a variety of reasons, and I am not sure what would happen if a user added a sort in Disco, or when two folders were joined.
    If it works, though, the sorting would be performed at the database level, with no additional sorting in Disco, and adding and removing columns from a report would have no impact on the sort.
    Then again, it might not work at all.

  • Sort order problem in reports

    Dear members,
    I have report with a field name sort_order but it don't show data in asending order, but first sort another column item_name in asending order.
    the sort_order is number
    item_name is char
    order by property of number is asending and item_name is none.
    both in same group.
    where I am wrong?
    Regards:

    hi O.Developer,
    here is my query:
    select MILL_ORDER, mill
    from tran_master
    group by MILL_ORDER, mills
    order by Mill_order, mills
    Mill Sort Order
    MILL1 1
    MILL2 2
    MILL3 3
    MILL4 6
    MILL5 7
    MILL6 8
    MILL7 10
    KP1 11
    MILL9 12
    DBL 13
    FAT 14
    BUT the above query gives the following out put:
    Mill Sort Order
    MILL1 1
    MILL2 2
    MILL3 3
    MILL4 6
    MILL5 7
    MILL6 8
    MILL7 10
    MILL9 12
    DBL 13
    FAT 14
    KP1 11
    regards:

  • Crystal reports graph sort order

    I have 2 fields called fiscal year and fiscal month.
    Expected sort order - sample values:
    Fiscal year     Fiscal Month
    2011     5
    2011     5
    2011     6
    2011     7
    2011     8
    2011     9
    2011     10
    2011     11
    2011     12
    2012     1
    2012     2
    2012     3
    2012     4
    2012     5
    2012     5
    Current sort order- shows up incorrectly by default
    Fiscal Year  Fiscal Month
    2011          10
    2011          5
    2011          6
    2012         12
    I will be using these values in a graph and I created a new formula column called time PEriod that I will be in the
    x axis of my graph (mid({query.fiscal_mth_nbr1},1,3)) . the output of this formula is Oct,Nov, Dec,Jan,....Oct
    Without the year, but it still needs to be sorted in the first sample values order , since fiscal year starts in Jun and ends
    in July. We are now in fiscal year 2012 , fiscal month 6
    I tried sorting the value inside crystal reports by going to design view and applying sort. But it does not take the
    sort order. Can you please suggest the best way to keep the sort order. The data is coming from a universe and I even tried
    to sort the data from the universe by using order by, but the database would not let me use order by  that in a derived table within the universe.
    Edited by: developerbo1 on Nov 14, 2011 7:19 PM

    hello,
    the best way to get the correct dynamic sort is by using a two digit month in your conversion. for example
    totext({table.datefield}, 'yyyyMM')

Maybe you are looking for

  • Restoring a single iPhoto library from multiple Time Machine backups

    My daughter traveled for six months in SE Asia  with her MacBook Air with the Lion OS. She routinely deleted all iPhoto 11 content after backing up with Time Machine on a 1 TB external drive as the drive on her Mac reached capacity. My question: how

  • Outlook 2010 will not sync at all

    I have a Iphone 3Gs and Ipad 2 both on IOS 5. Using Windows 7 and Outlook 2010. I have stopped using iCLoud and now Outlook will not sync at all. I turned off iCloud on the devices. While working with Steve from Apple customer care we restored the Ip

  • Data Modeling Best Practise

    Hi Friends ! When designing a system, what are the best practise for Data Modeling? Please share few tips. Thanks. With Regards Rekha

  • Probe in calling  tabstriped screen from another screen ..

    hi could any one please  help me ,,,that what is the logic for calling tabstriped screen from another screen .. Thanks N Regards Priya

  • Query Functions a User have Access in each Responsibility

    Hello, The query below gives in output the list of functions a user can access taking in account all the functions and menus exclusions. Does anybody have an idea about how to modify this query to extract also which responsibility each function belon