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.

Similar Messages

  • Finder - changing sort order in column view

    Anyone know a way to change the sort order when using the COLUMN view in Finder? It's defaulting to alpha and I'd like to change it so when I'm viewing a particular folder the contents are displayed by Date Modified like I can when using the other views.
    THANKS!

    Hi VFRJOEY,
    there is no way to change the sort order in column-view. This was under discussion since the very first release of MacOS X but never made it into any one of the releases.
    If this answered your question please consider granting some stars: Why reward points?

  • Sort Order in Column Browser iTunes 10

    Several versions back, the sort order was numbers first and then letters. In other words, sorted in ascii sort order. For some reason, iTunes decided to change this. Will you please put an option in iTunes to change it to ascii sort order. Thank you so much.

    First give the list a "kick" by sorting by some other fields, closing and reopening iTunes, and then sorting again by Artist.
    Also look at the Sorting tab and make sure the tracks do not have data that could be interfering with the Sort Artist, namely Sort Album Artist.
    If neither of those helps, you have probably discovered a bug in 9.1, which you can report here:
    http://www.apple.com/feedback/itunesapp.html

  • Unexpected Sort Order in Column

    Hi,
    I would like to put at the end of my view, documents with titles beginning with a special character like ~ or { but it goes always at the top of the view. I was expecting that  ~ or { comes after the letters and numbers.
    Do you know why or can you give to me such a character.
    Best regards,
    Christophe

    I believe this is similar to the Excel Sorting
    http://office.microsoft.com/en-us/sharepoint-server-help/sort-data-in-excel-services-HA010105468.aspx
    Alphanumeric text is sorted left to right, character by character. For example, if a cell contains the text "A100," Excel Services places the cell after a cell that contains the entry "A1" and before a cell that contains the entry "A11."
    Text and text that includes numbers stored as text are sorted in the following order:
    0 1 2 3 4 5 6 7 8 9 (space) ! " # $ % & ( ) * , . / : ; ? @ [ \ ] ^ _ ` { | } ~ + < = > A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
    Apostrophes (') and hyphens (-) are ignored, with one exception: If two text strings are the same except for a hyphen, the text with the hyphen is sorted last.
     Note   If you have changed the default sort order to be case-sensitive through the
    Sort Options dialog box in Microsoft Office Excel 2007, then the order for alphabetic characters is the following: a A b B c C d D e E f F g G h H i I j J k K l L m M n N o O p P q Q r R s S t T u U v V w W x X y Y z Z

  • Sort Order of columns in a Table under the Databases Dialog

    Is there a way to reset the order in which the columns
    (fields) appear in the database dialog on the panel? When I attach
    to MySQL or Oracle, all the fields come up in alphabetical order
    rather than table order. This is very unproductive when working
    with dynamic pages and needing to have the fields in the exact
    table order.
    Thanks for any help!

    I dunno for sure, but I've seen this question asked a few
    times and the answer has always been no - you're stuck with it that
    way. I would send an enhancement request to Adobe for this.

  • Changing sort order changes column width

    I turned on column sorting (Report Attributes -> Sort checkbox) for a particular column. Now when I sort descending on that column, it seems to disable word-wrap and the width of the column increases dramatically.
    Does anyone know why this happens or how to prevent it?

    The width of the column would be the width of the widest bit of text within the column.
    You can fix the width of a column by entering the following into the HTML Expression for the column definition:
    &lt;table&gt;&lt;col style="width:100px;"&gt;&lt;tr&gt;&lt;td&gt;#COLUMN_NAME#&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
    Regards
    Andy

  • PCUI - Sort order in columns

    Hi,
    I am trying to get a list in PCUI to be sorted by date, but descending. Right now I can check the "sorted" property in the field group, but thant only allows me to have the list sorted ascending by this field on load.
    Any idea on how to reverse this?
    -Thomas

    Hi,
    thanks for the answer. I had already figured you could re-sort the data by clicking on the column headers, but I was actually looking for a solution to have the data sorted descending by date by default, without user action.
    One would think that in the list of the last actions in a lead this would be a desired feature...
    Again, thanks for the time
    Thomas

  • Date Sort Order in Column View?

    10.4 could not do this.
    Can 10.5?

    I believe you have to go to Show View Options when you are in column view (click the Action (Gear) button). See at the bottom of this page:
    http://osxhelp.com/os-x-finder-tutorial-and-customizations-part-5/
    You will see an item in the little window that pops up called "Arrange by".
    /p
    Message was edited by: pullman

  • 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

  • Changing sort order in Finder to display folder first

    In almost every other release of OS X there was a tweak to edit the frameworks so that you could have finder, when sorting by "Kind/Type"you could display folders first. Well of course they broke that in Leopard.
    Has anyone discovered a way to reinstate this nice little feature so that folders don't appear at the bottom of the list view but at the TOP like PathFinder?
    For those that are curious here WAS the "tweak" (go to System: Library: Frameworks: ApplicationServices.framework: Versions: A: Frameworks: LaunchServices.framework: Versions: A: Resources. Whew. Within that folder, you’ll see the English.lproj folder. Highlight it, and then select File: Get Info. In the Ownership & Permissions area, click on the Details triangle, click on the lock icon, and then click on the Owner pop-up menu and set it to your user name (enter your password if asked). Leave this window open; you’ll be changing it back in just a minute.
    Inside the English.lproj folder is a file named Localized.strings. Drag it onto TextEdit. Find the line that reads "Folder" = "Folder"; and insert a space before the F in the second Folder.)
    TIA,
    Peter

    Hi VFRJOEY,
    there is no way to change the sort order in column-view. This was under discussion since the very first release of MacOS X but never made it into any one of the releases.
    If this answered your question please consider granting some stars: Why reward points?

  • POWL Sort order

    How do you set the sort-order for columns in a POWL implementation?
    I know theres a "sort_ref" field as part of the POWL_FIELDCAT_TTY table that you pass back to the POWL framework in the GET_FIELD_CATALOG method. But I have no idea what I am supposed to put in it.
    Why does it reference another field? And in the output data table of all things?

    It seems like SAP does not currently support sorting positions in the POWL implementation. I know this because I debugged the standard SAP code until I got to this:
    - Class
    CL_POWL_UTIL
    - Method
    UPDATE_ALV_MODEL_FROM_FIELDCAT
    There's a piece of code that says:
    " set sorting
          IF <lfs_fieldcat>-allow_sort IS NOT INITIAL.
            CALL METHOD lr_field->if_salv_wd_sort~set_sort_allowed
              EXPORTING
                value = abap_true.
            IF <lfs_fieldcat>-sort_order = '01'.
              CALL METHOD lr_field->if_salv_wd_sort~create_sort_rule
                EXPORTING
                  sort_order        = if_salv_wd_c_sort=>sort_order_ascending
    *            sort_position     = 1
                  group_aggregation = abap_true
    *          RECEIVING
    *            value             = lo_sorttest
            ELSEIF <lfs_fieldcat>-sort_order = '02'.
              CALL METHOD lr_field->if_salv_wd_sort~create_sort_rule
              EXPORTING
                sort_order        = if_salv_wd_c_sort=>sort_order_descending
    *            sort_position     = 1
                group_aggregation = abap_true
    *          RECEIVING
    *            value             = lo_sorttest
            ENDIF.
    If I interpret this correctly, the sort_position should have been passed as well instead of defaulted and the SALV component will now sort automatically in the order of the fields added. The problem is, because the Fieldcat table from the POWL feeder class is a sorted table based on COLID, they are added in this order and so this means the default sort order of the ALV will be based on the alphabetical names of the fieldcat - not at all functional!
    If I now disable sorting and send in the data already sorted, it is correct except that I don't get grouping on similar values and the user can't change the sorting!
    If would help a lot if SAP could add support for the sort_position in the POWL fieldcat in the future! Or, if I miss something, please correct me.

  • 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 of Lookup Column

    I have a list with look-up columns. 
    In particular, 'Market' is a look-up column, pulling the 'Title' column from a document library.
    The issue I have is that the 'Market' look-up column contents are not listed in alphabetical order when selecting the menu to sort/filter, however, they are in alphabetical order
    in the library they are being pulled from.... 
    What controls the sort behavior of look-up column contents?
    UPDATE: I have discovered that, by grouping the View by any column, the error disappears. Although this might be a work-around and provide context to an eventual solution, this is not a solution. 
    UPDATE 2: The key seems to be multi-value columns OR System Column (TYPE), require grouping to display sort order correctly. 
    Filtering by the type column (Type = xls ~ 7 items) does
    NOT resolve the issue 
    Filtering by the type column (Type = xls ~ 7 items)
    AND Grouping by
    single-value lookup column (Year = 2012 ~4 items) does resolve the issue.
    Filtering by a single-value lookup column  (Year = 2012 ~ 1001 items) does resolve the issue 
    Filtering by a multi-value lookup column (Sector = Residential ~ 418 items) does
    NOT resolve the issue
    Filtering by a multi-value lookup column (Sector = Residential ~ 418 items)
    AND Grouping by
    single-value lookup column (Year = 2010 ~96 items) does resolve the issue.
    - Rick

    Here is a way that worked for me.  I had a lookup column from a list to a document library.  When I opened the form up it sorted by title.  I created a new Data Connection in Infopath editing the list.  When I created the Data connection
    it gave me options which fields in the data connection and the ability to sort based on a field.  I then just pointed my drop down list to point to the new data connection.  This worked on ipad as well as IE9.  No code required and my google
    searching did not find this simple solution so putting here.

  • 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".)

  • Designerd does not generate Order BY code for Sort Order on a lookup tabel column.

    I am setting the Sort Order on a column which is based on a lookup table.
    When generate the the module, designer does not generate the code for the Sort Order that I set on the lookup table column.
    Is there a work around for this problem or is there some thing else that needs to be done in designer to make it generate the order by clause?
    I will very much appreciate help.
    Regards
    Prasad.

    A bound lookup item, will be generated as a NON-database item in Forms. Designer generates an ORDER BY CLAUSE (a Forms Block property) for the ordering. But a NON-database item cannot be included in the ORDER BY CLAUSE.
    I used a stored function for ordering the lookup item.
    Best regards
    Harm van Zoest

Maybe you are looking for

  • What setting should I use?

    I have a Canon EOS7D camera.  I am just starting to get into the video portion of this camera.  I have it set to record in 1080P 1920 X 1080 resolution.  I want to maintain this resolution but I noticed that making a trial run shows a 720.  When I us

  • ASDM multiple network objects vs group for rules

    I was just curious if there are any performance benefits of using multiple network objects on multiple rules vs consolidating them into fewer rules by grouping them?  For example, I have about 10 lines of NAT exempt rules from the same source to mult

  • FX Brushes won't allow paint on for Sharpness or brightness etc.

    Hi! I am a photographer- looking for a fun phone app.  I have played with the FX brushes on an image. I can paint on black and white (after I select the brush on the left then the effect from the bottom options) but doing the exact same process, I ca

  • How to convert Sequence file documentation from TXT or HTML to MS Word ?

    Hello, I would like to modify a DocSupport.prj which in default generate only TXT or HTML to support MS Wors *.DOC. I have already change the dialog (add *.doc filter..), that was simple. But the major problem is how to convert the output from doc.c

  • 10.9.4 Update Is A Shambles

    Just tried to do the update to 10.9.4 and everything got in a HUGE TANGLE. I was presented with pop up windows that gave two options both of which would delete various things from iCloud.  NO OTHER OPTION. *** Apple have you gone NUTS ! Where is the