Bug in report sorting? Sort doesn't work in last group level.

Is this a known error? Is there documentation from Oracle about it?
My query is a simple select from a table. I then created three group levels. Each group contains a value for sorting (up arrow next to column). However, data is not sorted by the value in the third group.
Try:
create table test_sort (a number, b varchar2(5), c varchar2(5));
insert into test_sort (a, b, c) values (1, 'A', 'X');
insert into test_sort (a, b, c) values (1, 'B', 'Y');
insert into test_sort (a, b, c) values (1, 'B', 'Z');
insert into test_sort (a, b, c) values (1, 'A', 'Z');
insert into test_sort (a, b, c) values (2, 'A', 'Z');
insert into test_sort (a, b, c) values (2, 'A', 'Y');
insert into test_sort (a, b, c) values (2, 'A', 'X');
insert into test_sort (a, b, c) values (1, 'A', 'Y');
insert into test_sort (a, b, c) values (1, 'B', 'X');
Create a query tabular report with the wizard (select * from test_sort). Then make the groups: first a, then b, then c. Make sure that there is an arrow next to the values (sorting).
The report only displays a and b values sorted.
Edited by: user489847 on Jun 3, 2010 1:19 AM

Hello,
This is the normal behaviour documented here :
http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwcontxt/props/pi_col_break_order.htm
Restrictions
Break Order has no effect on columns that belong to the lowest group of a particular query.
Break Order only affects columns in groups that are above the lowest child group of a query.
You have to add an "ORDER BY" in the SQL query in order to sort the columns belonging to the "lowest group"
Regards

Similar Messages

  • Sort function doesn't work E12

    the sort function doesn't work half the time on Elements 12 organizer.

    What about FUNCTION CLOCK_INFormula
    RETURN NUMBER
    IS
        l_hours_worked  NUMBER;
        l_to_return     NUMBER;
    BEGIN
        l_hours_worked := TO_NUMBER(NVL(:ATX_CLOCK_IN,'0'));
        IF (MOD((l_hours_worked - 0.02),0.25) = 0) THEN
            l_to_return := TRUNC((l_hours_worked - 0.02) * 4) / 4;
        ELSE
            l_to_return := TRUNC((l_hours_worked + 0.23) * 4) / 4;
        END IF;
        RETURN (l_to_return);
    EXCEPTION  
        WHEN VALUE_ERROR THEN
            RAISE_APPLICATION_ERROR ( -20100
            ,   'ERROR, Cannot represent '
            ||  :ATX_CLOCK_IN
            ||  ' as a number.');
    END CLOCK_INFormula;?
    This function assumes :ATX_CLOCK_IN is always positive.
    T.

  • SPGridView - sorting Dates doesn't work properly & how to display the title column as link?

    Hi,
    I've got a SPGridView that is being filled with data from several lists. Some of them are a date-field and a title-field. I already added sorting, paging and filtering options and at first look they seem to work fine. But now I noticed that sorting dates
    doesn't work as expected. If I select ascending sorting, the result is something like this:
    01.08.2014
    02.08.2014
    17.07.2014
    18.07.2014
    23.07.2014
    If I select descending sorting, the result is this:
    23.07.2014
    18.07.2014
    17.07.2014
    02.08.2014
    01.08.2014
    This isn't what I want obviously. 
    I just added the EventReceiver for the sorting like it is shown in several tutorials:
    (The date field is a BoundField.)
    grid.Sorting += new GridViewSortEventHandler(grid_Sorting);
    private void grid_Sorting(object sender, GridViewSortEventArgs e)
    if (ViewState["FilterExpression"] != null)
    gridDS.FilterExpression = (string)ViewState["FilterExpression"];
    And my second problem is how to add a link to the title column. In my grid I'm displaying tasks from different lists and I want to link the title to the related task. I stumbled accross HyperLinkFields and tried this:
    HyperLinkField hyperLinkField = new HyperLinkField();
    hyperLinkField.DataTextField = "Titel";
    hyperLinkField.DataNavigateUrlFields = new string[] { "Titel" };
    hyperLinkField.DataNavigateUrlFormatString = "{0}";
    hyperLinkField.HeaderText = "Titel";
    hyperLinkField.SortExpression = "Titel";
    grid.Columns.Add(hyperLinkField);
    The resulting link is something like ...sites/MySite/_catalogs/masterpage/A1-V1-2 where "A1-V1-2" is the name of the task and also shown in the title field.
    The actual link should look more like ...sites/MySite/Lists/mytasklistname/DispForm.aspx?ID=.... or something like that to display the task details. How could I achieve that?
    Thanks in advance

    http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/MS-SharePoint/Q_27718782.html
    Here is the exact code you need to use:
    http://social.msdn.microsoft.com/Forums/ar/sharepointcustomization/thread/c463a8c6-4806-4233-b6a4-8db8369c5fc2
    http://sharepoint.stackexchange.com/questions/53459/change-title-linked-to-item-with-edit-menu-to-different-column
    Open the AllItems.aspx page for the specific list.
    Search for the <ViewFields> tag
    List item LinkToItem="TRUE" to whichever column you want the link:
    <ViewFields><br/>
    <FieldRef Name="Attachments"/><br/>
    <FieldRef Name="LinkTitle"/><br/>
    <FieldRef Name="linkThisColumn" LinkToItem="TRUE"/><br/>
    <FieldRef Name="data_x0020_column"/><br/>
    <FieldRef Name="Another_x0020_column"/><br/>
    </ViewFields><br/>
    http://sharepoint.stackexchange.com/questions/58954/link-title-in-list-to-value-in-url-column
    Create calculated column.
    Insert following formula -
    ="<a href='"&UrlFieldName&"'>"&Title&"</a>"
    Set "data type returned from this formula is" to integer.
    As a result on list view you will see the title with link to your url.
    UPD: It seems that URL field is not valid for calculated column, as workaround you can copy url value in a receiver into the another text field, which is not shown on the view.
    If this helped you resolve your issue, please mark it Answered

  • [svn] 4028: Bug: Draining of buffered messages doesn' t work correctly with long-polling.

    Revision: 4028
    Author: [email protected]
    Date: 2008-11-06 09:04:26 -0800 (Thu, 06 Nov 2008)
    Log Message:
    Bug: Draining of buffered messages doesn't work correctly with long-polling.
    QA: Yes - please make sure both nio and regular long-polling channels work with throttling.
    Doc: No
    Checkintests: Pass.
    Details: Made sure that buffered messages are drained properly with all polling channels (polling, long-polling, and nio-long-polling).
    Modified Paths:
    blazeds/trunk/modules/core/src/flex/messaging/client/FlexClient.java

    Sounds like you've probably already looked but the CUPS article in the wiki led me through setting up a printer without any problems.  http://wiki.archlinux.org/index.php/CUPS
    The first section describes how to troubleshoot CUPS and printing problems.
    I've also found a few other posts and links that may help.
    http://hplipopensource.com/hplip-web/mo … eries.html
    http://ubuntuforums.org/showthread.php?t=419163
    Hope this helps!

  • Bug - iTunes 5 - Postcasts - Sorting columns doesn't work

    Podcast columns in iTunes 5.0 (34) do not sort. The only clickable column is release date, and nothing changes except for the arrow. Would be nice if the other columns were sortable as well.

    Hello,
    This is the normal behaviour documented here :
    http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwcontxt/props/pi_col_break_order.htm
    Restrictions
    Break Order has no effect on columns that belong to the lowest group of a particular query.
    Break Order only affects columns in groups that are above the lowest child group of a query.
    You have to add an "ORDER BY" in the SQL query in order to sort the columns belonging to the "lowest group"
    Regards

  • Sort Albums Doesn't Work

    I have a bunch of albums in iPhoto that I am trying to sort, and it just doesn't work.
    When I select them, right-click, and choose "Sort Albums" from the context menu, either *nothing* happens, or else the order of the albums is altered in some seemingly random way but the results are not alphabetical order.
    I don't see how the program could somehow not understand "alphabetical" so there must be something keeping it from actually doing the sort.  Anybody have any clues?

    When there is a selection, if "Sort Albums" will do nothing then the option should be greyed out.  Otherwise, it should sort those items which are selected.  Doing nothing and giving the user no feedback is not acceptible.
    You are right, that is confusing.  It is either a bug or a poor design.
    You may want to send feedback to Apple - use the form: Apple - Aperture - Feedback

  • HT1933 Report problem it doesn't work perfectly. What am I doing?

    Why report problem doesn't work?

    There are 9 different versions of iPhoto and they run on seven different versions of the Operating System. The tricks and tips for dealing with issues vary from version to version and OS to OS. So before anyone can help, they need information to work with. Basic stuff:
    - What version of iPhoto.
    - What version of the Operating System.
    - Details. What were you doing when the problem arose?
    - Did it ever work properly?
    - Are there error messages?
    - What steps have you tried already to solve the issue.
    Anything else you can think of that might allow someone else to understand your issue.

  • [Solved] xmodmap bug? Remapping Caps Lock doesn't work

    When I program I like to swap these keys:
    Esc <-> Tab
    Ctrl <-> Caps Lock
    In ~/.xmodmap, I have specified these re-mappings:
    keycode 66 = Control_L
    keycode 37 = Caps_Lock
    keycode 23 = Escape
    keycode 9 = Tab
    The Escape and Tab keys swaps, no problem, but instead of Caps_Lock and Control_L swapping, both those keys becomes Caps_Lock.
    Whatever I try to do, the Control keys doesn't get assigned to Caps_Lock(keycode 66). If I leave the keycode 66 = , the key is un-assigned, but when I assign Control_L or Control_R, it just doesn't work. But, if I assign some other key, for example, keycode 66 = Tab, it gets assigned, no problem.
    Its like xmodmap just doesn't want Caps Lock and Control keys to be swapped. Really frustrating. Any help/pointers would be really helpful.
    Last edited by Gits (2012-04-12 07:09:37)

    Solved: http://unix.stackexchange.com/questions … oesnt-work

  • Sort Now doesn't work

    Hi.  I'm working in Numbers 3.2, and realized my Sort Now button is greyed out.  I can't access it, and can't sort anything.  I tried opening a new document and it's greyed out there as well.  Any ideas about how to fix it?  Thanks

    Hi ccwhiz,
    First, click on Add a Column...
    Now sorted by Column B (Count).
    Another way is use the contextual menu in any Column Label. Here sorting by Column B:
    Regards,
    Ian.

  • CS4 Bridge Star sorting system doesn't work

    I have been using Photoshop and Bridge for years, but just started using Bridge in CS4 (Windows XP Pro). The sorting system where Bridge will display only those images with a specified number of stars simply does not work. I have never had this problem before, on any machine and with any version before CS4. (In other words, I know hot shi works because I've used it in CS2 and CS3, but it simply does absolutely nothing in my Bridge CS4!) Any recommendations?

    I know it's curious why I'm just getting to his now. I have had the software installed for a long time. I just haven't used it.
    I have been using Photoshop since PS 7, and this is a registered upgrade that I've had for quite a while. But I am slow in converting, and I have still been using CS2 up until recently. (I have some routines and actions built into CS2 that I'm not good at re-building or converting into a new version.
    So be assured this is legitimate software. I'm a businessperson and I do everything legit. www.paulwphotogaphy.com
    It might be because I still have CS2 and Bridge from CS2 still loaded on my PC. I don't want to lose CS2 yet. (I know, it's a familiarity thing.)
    All that being said, and ideas?

  • Sorting albums doesn't work for some

    Hi,
    I added several files which have the same album name and same album sorting name, however, itunes add them under seperate albums?!?!

    Most common problem is different artists (in which case consider compilations). If not that, it can be a bunch of things. Check out http://samsoft.org.uk/iTunes/grouping.asp or http://discussions.apple.com/message.jspa?messageID=9910895#9910895

  • Report Generation Toolkit doesn't work after patches A thru I.

    For LV7 Express, RGT demo doesn't run any of its operations, Word, Excel,... See attach for cause. Can anyone tell me how to fix this?
    Attachments:
    RGDemo1.doc ‏36 KB

    Hi,
    When you get this error, it's normally because the version of the Report Generation Toolkit VIs in your VI that you are trying to open is different from the one on your PC. Normally you can just right click on the bad VIs on the block diagram and choose "Relink To SubVI".
    There's a KnowledgeBase that describes another issue when using different versions of Microsoft Office.
    Best regards,
    Philip C.
    National Instruments
    - Philip Courtois, Thinkbot Solutions

  • Purchase billed several times and report a problem doesn't work

    Hello I was trying to get 1 month subscription to a newspaper, got an error during the process. Now in the purchase history I see that the my purchase billed 5 times. Tried to follow the steps to report a problem, but when I click on the "report a problem" link next to the purchase it sends me to the iTunes Support page on the browser. Anybody knows what to do to get my money back?

    Same problem here, also on Snow Leopard, but I am not planning to move to Lion (I have it on another Mac and it doesn't seem worth upgrading to me...).
    Did you resolve the broken Report a problem?
    Worminger2

  • Bug? Updating config profile doesn't work as described

    Apple's documentation implies that if you push a new profile to a phone that has the same "Identifier" as an already active profile, then the new profile will be recognized as a replacement to the existing one; if the Identifier is different, then the new profile will be applied in addition to any current ones.
    I recently made a change to a profile, without changing the ID, and sent it to my phone. The phone won't activate the profile, though. It gives an error message: "Can't install Profile: Only one Exchange account can be set up at a given time."
    This seems like a bug. If the Exchange settings in the new profile are identical to the old one, they should be kept; if different, they should be changed. If I want to modify any settings in the profiles that I've already pushed out to users, I'll have to make a new overlay profile; if I want to change the Exchange settings, I'll have to send them instructions on how to remove the existing profile before I can send the new one. Is there a workaround?

    You need to remove any profile that has Exchange keyed into it, then you can install the new profile for Exchange.
    Windows Mobile devices work this way, as well.
    We had about 50 people that we had to change profiles for and they were able to do the remove and install themselves (the new profiles were delivered from a public web site).
    I hope this helps.

  • BUG: Record Limit per Document doesn't work for PDF in CS4 - does it work in CS5?

    Hey all - I'm attempting to export 100 data merged documents to pdf.  I know i can use "Record Limit per Document" set to 1 to create 100 InDesign files, which isn't what i want to do.  When you select "Export to PDF" in the data merge window, the "record limit per document" option exists, but no matter what, it will always create one giant pdf file - it will NOT separate into 100 different pdf files.  This is a bug in CS4.
    I am wondering if the bug has been fixed in CS5 or if there is a workaround in CS4 to generate the pdfs.
    All I found is this ancient thread in which people say the only workaround is to batch convert the pdf files later, and then degenerates into unrelated discussion:
    http://forums.adobe.com/message/1110826

    g'day there
    has there been any follow-up to this or workarounds?
    i constantly have VDP jobs which have tens of thousands of records, but the chaps printing it only want the PDFs in lots of 500 or so. being able to do ONE merge which splits the merge into bite-size PDFs for our printing section would be preferable to making them through the dialog box in the appropriate lots.
    colly

Maybe you are looking for

  • Why do we use super when there is no superclass?

    Hello, I have a question about the word "super " and the constructor. I have read about super and the constructor but there is somethong that I do not understand. In the example that I am studying there is a constructor calles " public MultiListener(

  • Boris - background for text

    Hello! I have Tom Wolsky's DVD and book - read and watched once each, but somehow missed how to do this, if I can. Using Boris for text - how can I add a rectangle of color behind the text, to help it stand out from the video behind it? Can I adjust

  • Adding new fonts to Symbian Anna on E6

    I wonder to know how to adding new fonts to Symbian Anna on my E6. Most of my Word and PowerPoint documents require some special fonts, such as Courier News, in order to display correctly. Does anyone know the solution?

  • Oracle 10g and JDeveloper 10.1.3 Java Stored procedures

    Hello, I am not able to run Java Stored Procedures created with 10.1.3 in conjunction with an Oracle 10g Database. Same procedures are just working fine, when using JDev 10.1.2, but I want to / have to use Jdev 10.1.3! What happened? Greetings.

  • From 32 bit to 64 bit

    How do I change my 32 bit 27'imac to 64 bit.Are all the applications in my machine going to support that change? Please help. The amount of ram in my imac is 6G. Thanks.