Sort characteristic not working

Hi,
I am trying to sort the report output on web analyzer by a particular characteristic. I have this characteristic as the first characteristic in the rows of report.  I have even maintained the settings on the infoobject properties in the report to sort in ascending order by text.  The report output is still not being sorted the way i want it to.
After the output is displayed, when i right click and choose sort, the data is being displayed properly. Can someone tell me how to get the report output to be sorted and then displayed.
thanks in advance.

Hi,
As you said you have set the property to sort the characteristics based on texts. Change it to Keys ans see the result.
Regards,
Yogesh.

Similar Messages

  • In SharePoint sorting is not working in the list.

    Sorting is not working when i click on the list column, where the column filed is an people or Group datatype.
    Please help me out in this.
    Ramesh S

    Hi,
    You can refer this post-
    https://social.technet.microsoft.com/Forums/office/en-US/b748bb03-4881-4aa5-9c87-bd4558b9201c/unable-to-sort-task-lists-by-assigned-to-column?forum=sharepointadminprevious
    Thanks,
    Danny
    Please remember to Mark as Answer if it works or vote of it is helpful

  • Table sort is not working for columns.

    Hi,
    I am using TableSort.java class. Followed https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/library/user-interface-technology/wd%20java/wdjava%20archive/developing%20with%20tables%20in%20web%20dynpro.pdf
    to create the action and assigned that to onSort event for the table. When I run, I see the ascending-descending icons besides the columns, but nothing happens when I click them. Here is the context.
    Context
    l
    l
    l ---User_Table
             > Email
             > Name
            |
             > Office
    Here Name is a custom string (last name, first name). Also office is a custom string (office1, office2, ...etc).
    Edited by: srinivas M on Feb 8, 2009 6:03 AM
    Edited by: srinivas M on Feb 8, 2009 6:03 AM

    Hi Srinivas,
      If you want to do an initial sort. You have to add the following method to the TableSorter class.
    public void initialSort(String columnId, IWDNode dataSource) {
              // find the things we need
              String direction = WDTableColumnSortDirection.UP;
              IWDTableColumn column = (IWDTableColumn) table.getView().getElement(columnId);
              NodeElementByAttributeComparator elementComparator = (NodeElementByAttributeComparator) comparatorForColumn.get(column);
              if (elementComparator == null){
                   //not a sortable column
                   column.setSortState(WDTableColumnSortDirection.NOT_SORTABLE);
                   return;
              // sorting
              elementComparator.setSortDirection(WDTableColumnSortDirection.valueOf(direction));
              dataSource.sortElements(elementComparator);
    In your wdDoModifyView() after initializing the tablesorter class you have to call the above method.
    if (firstTime) {
                IWDTable table = (IWDTable) view.getElement("Table");
                wdContext.currentContextElement().setTableSorter(
                   new TableSorter(table, wdThis.wdGetSortAction(), null));
                      wdContext.currentContextElement().getTableSorter().initialSort("Your Column ID", wdContext.nodeUser_Search_Results());
    Can you double check in your code if the table is bound to the node "User_Search_Results" and not "User_Table". If the table is bound to the "User_Table" then the sort will not work since in the code you are sorting the node "User_Search_Results".
    If you want to implement sort on only one column you can use the alternate constructor for the TableSorter class.
    TableSorter(IWDTable table, IWDAction sortAction, Map comparators, String[] sortableColumns)
    You have to give a String array of columns that need to be sort enabled.
    Regards,
    Sanyev

  • Sorting does not work  with ROW_NUMBER () OVER (ORDER BY

    CREATE OR REPLACE PROCEDURE SP_SALES (
    p_sales_id IN VARCHAR2,
    p_rownnum_from IN NUMBER,
    p_rownnum_to IN NUMBER,
    p_sort_by IN VARCHAR2,
    p_query OUT SYS_REFCURSOR,
    AS
    v_query VARCHAR2 (32000);
    v_sort_list VARCHAR2(32000) ;
    BEGIN
    IF p_spv_sort_by IS NULL THEN
    v_sort_list := 'given_name ASC ' ;
    ELSE
    v_sort_list :=p_spv_sort_by;
    END IF ;
    DBMS_OUTPUT.PUT_LINE ('v_sort_list '||v_sort_list);
    OPEN p_query FOR
    SELECT sales_id,
    item_id,
    order_num,
    employee_name
    ,given_name
    dept_id,
    manager_name,
    ROW_NUM
    FROM
    (SELECT x.*,
    ROW_NUMBER () OVER (ORDER BY v_sort_list ) ROW_NUM
    FROM (sales_id,
    item_id,
    order_num,
    employee_name
    ,given_name
    dept_id,
    manager_name,
    FROM order rvw,
    sales pol,
    emp ca,
    WHERE pol.id = rvw.pr_order_id
    AND ca.empid =pol.employee_id
    AND status = 'SUP') x )
    WHERE ROW_NUM BETWEEN p_rownnum_from AND p_rownnum_to;
    -- ORDER by v_sort_list ;
    DBMS_OUTPUT.PUT_LINE ('v_sort_list '||v_sort_list);
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE ('EX ');
    END;
    END;
    SHOW ERRORS
    Sorting does not work. Am I doing something wrong here?
    executing procedure using below
    declare
    x SYS_REFCURSOR;
    y number;
    BEGIN
    SP_SALES('70159_502',1,5, 'GIVEN_NAME'||' ASC' ,:x);
    --dbms_output.put_line (:x);
    END;

    Hello
    Depending on how many different columns you can sort on and the data types of them, it may be feasible for you to include the conditional logic in the existing statement without the need for dynamic sql...
    DTYLER_APP@pssdev2> var p_spv_sort_by varchar2(100)
    DTYLER_APP@pssdev2>
    DTYLER_APP@pssdev2> exec :p_spv_sort_by:='some other column'
    PL/SQL procedure successfully completed.
    P_SPV_SORT_BY
    some other column
    DTYLER_APP@pssdev2>
    DTYLER_APP@pssdev2> WITH source AS
      2  (   SELECT 'a' given_name, 'z' other_column from dual UNION ALL
      3      SELECT 'b' given_name, 'y' other_column from dual UNION ALL
      4      SELECT 'c' given_name, 'x' other_column from dual
      5  )
      6  SELECT
      7      given_name,
      8      other_column,
      9      ROW_NUMBER ()
    10     OVER (
    11        ORDER BY
    12           CASE
    13              WHEN :p_spv_sort_by IS NULL THEN given_name
    14              WHEN :p_spv_sort_by = 'some other column' THEN other_column
    15           END)
    16        ROW_NUM
    17  FROM
    18      source
    19  /
    G O    ROW_NUM
    c x          1
    b y          2
    a z          3
    3 rows selected.
    DTYLER_APP@pssdev2> exec :p_spv_sort_by:=NULL;
    PL/SQL procedure successfully completed.
    P_SPV_SORT_BY
    DTYLER_APP@pssdev2> WITH source AS
      2  (   SELECT 'a' given_name, 'z' other_column from dual UNION ALL
      3      SELECT 'b' given_name, 'y' other_column from dual UNION ALL
      4      SELECT 'c' given_name, 'x' other_column from dual
      5  )
      6  SELECT
      7      given_name,
      8      other_column,
      9      ROW_NUMBER ()
    10     OVER (
    11        ORDER BY
    12           CASE
    13              WHEN :p_spv_sort_by IS NULL THEN given_name
    14              WHEN :p_spv_sort_by = 'some other column' THEN other_column
    15           END)
    16        ROW_NUM
    17  FROM
    18      source
    19  /
    G O    ROW_NUM
    a z          1
    b y          2
    c x          3
    3 rows selected.
    DTYLER_APP@pssdev2>But that would depend on the columns you're sorting on being of the same data type or at least having the ability to convert them to the same data type without loosing the sort order.
    DTYLER_APP@pssdev2> WITH source AS
      2  (   SELECT 'a' given_name, sysdate - 2 other_column from dual UNION ALL
      3      SELECT 'b' given_name, sysdate - 1 other_column from dual UNION ALL
      4      SELECT 'c' given_name, sysdate  other_column from dual
      5  )
      6  SELECT
      7      given_name,
      8      other_column,
      9      ROW_NUMBER ()
    10     OVER (
    11        ORDER BY
    12           CASE
    13              WHEN :p_spv_sort_by IS NULL THEN given_name
    14              WHEN :p_spv_sort_by = 'some other column' THEN other_column
    15           END)
    16        ROW_NUM
    17  FROM
    18      source
    19  /
                WHEN :p_spv_sort_by = 'some other column' THEN other_column
    ERROR at line 14:
    ORA-00932: inconsistent datatypes: expected CHAR got DATE
    DTYLER_APP@pssdev2> WITH source AS
      2  (   SELECT 'a' given_name, sysdate - 2 other_column from dual UNION ALL
      3      SELECT 'b' given_name, sysdate - 1 other_column from dual UNION ALL
      4      SELECT 'c' given_name, sysdate  other_column from dual
      5  )
      6  SELECT
      7      given_name,
      8      other_column,
      9      ROW_NUMBER ()
    10     OVER (
    11        ORDER BY
    12           CASE
    13              WHEN :p_spv_sort_by IS NULL THEN given_name
    14              WHEN :p_spv_sort_by = 'some other column' THEN TO_CHAR(other_column,'YYYYMMDDHH24MISS')
    15           END)
    16        ROW_NUM
    17  FROM
    18      source
    19  /
    G OTHER_COLUMN            ROW_NUM
    a 12-SEP-2011 15:04:19          1
    b 13-SEP-2011 15:04:19          2
    c 14-SEP-2011 15:04:19          3
    3 rows selected.HTH
    David

  • Date Sorting is not working as expected

    Hey,
    I am using Report builder 3.0 to create one daily report where I need daily metrics and I am putting it under columns. I want it in day wise order but somehow it shows data in below format. My dates are in M/D/YYYY format. Notice how 1/10 is displayed
    before 1/2.
    Solutions tried -
    1. I tried Putting Date as first thing in the Sorting section on matrix.
    2. Created Expression in Sort  =Day(Fields!Date.Value)
    3. Created custom code to prepond 0 to day and month so dates becomes in MM/DD/YYYY format but it is not working.
    Query -
     SELECT NON EMPTY { [Measures].[Work Item Count] } ON COLUMNS, NON EMPTY { ([Work Item].[System_State].[System_State].ALLMEMBERS * [Date].[Date].[Date].ALLMEMBERS ) } DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME ON ROWS FROM ( SELECT ( STRTOMEMBER(@FromDateDate,
    CONSTRAINED) : STRTOMEMBER(@ToDateDate, CONSTRAINED) ) ON COLUMNS FROM ( SELECT ( STRTOSET(@WorkItemClaimsSandboxTargetVersion, CONSTRAINED) ) ON COLUMNS FROM ( SELECT ( { [Work Item].[System_WorkItemType].&[Defect] } ) ON COLUMNS FROM ( SELECT ( { [Team
    Project].[Team Project Hierarchy].&[{########-####-####-####-############}] } ) ON COLUMNS FROM [Work Item])))) WHERE ( [Team Project].[Team Project Hierarchy].&[{########-####-####-####-############}], [Work Item].[System_WorkItemType].&[Defect],
    IIF( STRTOSET(@WorkItemClaimsSandboxTargetVersion, CONSTRAINED).Count = 1, STRTOSET(@WorkItemClaimsSandboxTargetVersion, CONSTRAINED), [Work Item].[ClaimsSandbox_TargetVersion].currentmember ) ) CELL PROPERTIES VALUE, BACK_COLOR, FORE_COLOR, FORMATTED_VALUE,
    FORMAT_STRING, FONT_NAME, FONT_SIZE, FONT_FLAGS
    Replaced alphanumeric char with #### above.
    Nothing worked. Please help me out here. I am stuck for a month or so. Would appreciate your prompt response.
    Thanks in advance,
    Shrikant

    Hi Shrikant,
    Per my understanding that you have some problem when sorting on the column group on the matrix, which don't work, right?
    I have tested on my local environment and can't produce the issue, you issue can be caused by the wrong method you have used to setting the sorting, you may set the sorting by select the "Tablix Properties", if so, it will not work.
    Please reference to the details information below about how to do the sorting setting:
    Right click the "Column Group" and select the "Group Properties".
    Select the Sorting on the left pane and do the setting like below:
    This setting works fine on my side.
    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

  • Z Sort key not working

    Hi
    Sory Key Z02  field name AWKEY u2013 Reference  its assigned in GL Master data.
    Purpose :
    When billing document released for accounting then Billing Document number populated   in Assignment field of Accounting document, subsequently we can check this billing document in FBL3.
    It is working fine in 4.5b but not working in Ecc6 after Tech upgrade.
    imdad

    Please ask your SD consultant to do the same.
    Sort key doesn't work for this.
    Also please check VOFA & VTFA, here you have option that which value you want to capture in reference and assignment field.
    Rgds
    Murali. N

  • Sorting array not working when run as a job

    I have a Powershell script that reads data from a log file, extracts a username and adds it to an array. I then sort the array to remove duplicates and export the data to a CSV file. The script works fine when run locally on the server but I need to call
    the script remotely for a number of servers and when I do this it does not output anything to the CSV. The script is run as a job.
    $ArrList = [System.Collections.ArrayList]@()
    # open file and read data
    $arrlist.Add("$final")
    $arrlist | sort -unique | out-file c:\scripts\iis_users.csv
    If I change the script to use add-content it can add entries to the same CSV file. But ideally I need to sort the output as there are many duplicates.

    Not sure why but that would only export the last user. I didn't have time to investigate so instead I decided to only add users to the array after first checking they didn't exist already:
    if ($arrlist -notcontains $final)
    $arrlist.Add("$final")
    add-content c:\scripts\iis_users.csv "$final"
    I thought this would create a performance hit but it seems almost as fast.

  • Sort is not working

    hi i am calling one javascript method in mxml by using
    Externalizable.call method() .
    and draw graphs by using that data .1 time its working fine.
    if i click any sort button the data is automatically changed .can
    any body tell me why this happend

    Hi I have just upgraded my apex systems from ver 3.2 to 4.1 and 10g to 11i (three servers worth!!)
    I have noticed extensive problems with the classic reports one of which is column sorting.
    Like you our reports are SQL based.
    The problem we get is that some sorts work some don't take the following
    select "ID",
    "SLPN",
    "MSS",
    "MSD",
    "MSSC",
    "A_T",
    "A_IDC",
    "CRC",
    "DUPD",
    nvl(ip_lookups_pkg.get_meaning_asbestos('PROD_TYPE',IP_ASB_TABLE_4A.P_TYPE),IP_ASB_TABLE_4A.P_TYPE) Product,
    nvl(ip_lookups_pkg.get_meaning_asbestos('CAP_CODE',IP_ASB_TABLE_4A.CAP_C),IP_ASB_TABLE_4A.CAP_C) CAPTURE,
    nvl(ip_lookups_pkg.get_meaning_asbestos('ANALYSIS_SC',IP_ASB_TABLE_4A.MSSC),IP_ASB_TABLE_4A.MSSC) STATUS,
    nvl(ip_lookups_pkg.get_meaning_asbestos('ANALYSIS_SC',IP_ASB_TABLE_4A.A_T),IP_ASB_TABLE_4A.A_T) ASBESTOS
    from "#OWNER#"."IP_ASB_TABLE_4A"
    where SLPN = :P131_SLPN
    now I can sort on product but not on capture ???
    What I know so far
    It does not seem to matter if its numeric or character based columns.
    It does not matter if it is a basic table column or if is generated using a package.
    The only cure I have found is recreating the page within APEX4 then copying the page back in after testing
    the wierd bit is the new page is identical to the old, well apart from it works!!
    so I would try re writing the page.
    The other issues I'll post seperatly as they are a little different
    If any one has any ideas on a quick fix please post. I have 350+ of these to do!!

  • Specified Sort Order not working correctly in InfoView

    Hello All,
    We are running Crystal 2008 version 12.2.0.290 with Infoview 12.1.0 and are having a problem with specified sort orders working correctly.  In Crystal we are using the 'Chart Expert' to set the specified order of the percent bar chart.  It works just fine in Crystal 2008 and shows the stacked bar in the order we would expect.  We then save the report to InfoView and run the report on a schedule and it comes back in a completely different order. Not the order we specified in designing the report.  Any ideas on what is going on?
    Thanks in advance.

    We are experiencing a similar issue with the sort order in Infoview. We are using Crystal XI.5.8.26 and Infoview.
    The specified sort order works correctly in Crystal but in Infoview it comes back with a different order. Are there any suggestions on resolving this disparity?
    Thank you.

  • "Sort Albums" not working in Iphoto 11

    I see a lot of discussions about not being able to sort albums manually. I have not problem with that. When I control click on the name of the album, and hit "sort albums" noting happens. This used to work. I do not want to manually sort, since I have a ton of albums. HELP

    I'm able to sort albums both way, inside folders and those out of folders. The feature exists.  As a test launch iPhoto with the Option key held down and create a new, test library.  Import some photos, create a number of albums and albums in a folder and test to see if the same problem persists. Does it?  I'm running iPhoto 9.4.3 on 10.8.4.
    OT

  • "Sort" Option not working

    Hi,
    I have a particular characteristic 0WBS_ELEMT in my report. When I right click on that characteristic and click on sort and then sort in the ascending or descending order, the values are not getting sorted.Where am i possibly getting wrong?
    Regards,
    Anjana.

    Hi...
    DId you go to the InfoObject properties in Query Designer.
    Its right there.
    More into:
    Right Click on the InfoObject in the Query Designer (in Rows)
    Go down there and see Sort Order. Make the check box - ON.
    Here, give the preferences by KEY, Ascending, etc.
    Kindly assign me some points if this helps you...
    Regards,
    Debjani...
    Edited by: Debjani  Mukherjee on Sep 6, 2008 9:19 AM

  • Sorting is not working in infragistics when empty value in the column

    Hi ,
    i am using <ig:gridView> in my application. i have many columns in the grid view(ig means third party infragistics component). But in my case sorting(sortBy attribute in ig:column) is not properly working when the empty values in the column(DATA_ROW.source). This is a severity bug in my application. I have two days to deploy our project. I already hosted my bug report to the infragistics website. Please reply ASAP.
    <ig:column style="border:1px" sortBy="source">
    <f:facet name="header">
    <h:outputText style="color:#245B89;text-decoration:underline" value="Source System " title="Click to sort" />
    </f:facet>
    <h:outputText value="#{DATA_ROW.source}" />
    </ig:column>

    Hi,
    You can refer this post-
    https://social.technet.microsoft.com/Forums/office/en-US/b748bb03-4881-4aa5-9c87-bd4558b9201c/unable-to-sort-task-lists-by-assigned-to-column?forum=sharepointadminprevious
    Thanks,
    Danny
    Please remember to Mark as Answer if it works or vote of it is helpful

  • Javascript sort() function not working correctly

    I have an image gallery that automatically loads via a PHP readdir function which populates an array, and then I have a Javascript sort() function which sorts the images in order numerically. In Chrome and Safari, the images display as numbered in the directory. However, in Firefox and Internet Explorer, they display out of order (firefox) and not at all (ie). Here is the code for the php file: <?
    Header("content-type: application/x-javascript");
    function returnimages($dirname=".") {
    $pattern="(\.jpg$)|(\.png$)|(\.jpeg$)|(\.gif$)";
    $files = array();
    $curimage=0;
    if($handle = opendir($dirname)) {
    while(false !== ($file = readdir($handle))){
    $file = basename($file,".jpg");
    echo 'myImg['.$curimage.']="'.$file .'";';
    $curimage++;
    closedir($handle);
    return($files);
    echo 'var myImg=new Array();';
    returnimages()
    ?>
    and here is the code for the javascript sort:
    function sortNumber(a,b)
    return a - b;
    myImg.sort(sortNumber);
    // Tell browser the type of file
    myImgEnd = ".jpg";
    var i = 0;
    // Create function to load image
    function loadImg(){
    document.imgSrc.src = myImg[i] + myImgEnd;
    Any ideas as to why Firefox is behaving this way?

    After you check the box to sort on the column, are you making sure to select a sort order for the same column?
    Earl

  • Sort function not working

    I have a SQL report with different fields. At the report attribute when I checked sort, it gives me error "ORA-00911: invalid character". Any idea?
    My report is working fine without selecting sort function.
    Thanks,
    Mushtak

    After you check the box to sort on the column, are you making sure to select a sort order for the same column?
    Earl

  • Sort Fields Not Working Properly?

    If I do Get Info on a track, and change the Sort Artist to anything, then I Right Click on the track in the library > Apply Sort Field > Same Artist it changes the Sort Artist of all tracks by that artist to what I entered.
    However, I want to delete all the Sort Artist data. I do exactly the same thing, and change the Sort Artist data to nothing on a track. However when I try to apply the sort field to all tracks by the artist it leaves them alone! It doesn't change all the Sort Artists to nothing! It only does this when I enter no data. Any string at all and it works correctly.
    How can I change all the Sort Artists to nothing i.e. delete the Sort Artist data?

    Hi there.
    How about, instead of leaving the Sort Artist field blank, entering a name that is identical to the actual Artist field instead and then use the Apply Sort Field > Same Artist option.
    You can then go to the iTunes View menu > View Options command and uncheck Sort Artist so that it will no longer appear in your iTunes Library display.
    Does that bring you anything in the way of satisfaction?

Maybe you are looking for

  • Voice memos in iOS7, on new iphone 5s cuts off recordings

    Hi, Voice memos has always been super reliable in previous versions but on a new iphone 5s with ios7 I'm finding it cuts off recordings very unpredictably - sometimes after less than a minute sometimes after a quarter hour or so. I've seen other thre

  • INDESIGN GLITCH: Creating an XML file from Indesign Layout - Issue "Using more than one line of GREP" & "Map Styles to Tags"

    I currently create XML from InDesign CC by Mapping Style to Tags. - The Paragraph Styles are manually apply to text. These styles include multiple lines of GREP to automatically apply character styles. - I map some of the paragraph and character styl

  • Back up in PSE 8

    I always back up my catalogue using Organiser and an external Hard Drive. Suddenly I am experiencuing a duplication of the catalogue folders. When the back up starts it records the usual pictures but on completion then goes onto record a second set o

  • Auto-login then Fast User Switch out?

    I've got a few programs (e.g. Chronosync) that need to launch as a user upon login. I need these to launch at boot time. Of course, I could auto-login to this account, but that would leave the machine sitting there with an admin account logged in (so

  • Yellow ink prints with a greenish hue (sometimes streaky)

    Overall colors appear to be muted - not vibrant or vivid Yellow almost always prints with a greenish hue -s frequently streaky I have run print alignments; the appear to be ok I have  run the clean cartridge test; Somewhat dull looking not brilliant