Language sorting problems

In our multilingual application, we use (primary) Dutch, french and English.
On some pages, we sort tables or sort lists of the shuttle.

There is a strange behavior on these pages.
It seems like this Dutch and french differently from the English.
Dutch and french tri A-B-C-0-1-2-3
English sort 0-1-2-3-A-B-C

When we look at our nls settings I don't see a value in nls_sort, so I'm assuming that the Apex sets this property somewhere in the application. How can I change this behavior, because we always want to sort as 0-1-2-3-A-B-C, in all languages.

If you do not set NLS_SORT sorting is dependent on the NLS_LANGUAGE (and that one is defined, by default depends on the language of your browser).

Tags: Database

Similar Questions

  • SanDisk Clip + sort problem

    Hi all, I read the previous messages in the forum about this problem but nothing is me helped.  I call my mp3 music (more than 2000 of them) starting with an acronym of 3 letters for the band, and then a number that corresponds to the order I want the song to play in this particular group (ex: Frank Zappa songs = ZPA 01 first song name, ZPA 02 second name of the song, ZPA 03 third name of the song) etc.).  Many of my albums are structured with 1 song merging into another, so it is crucial that they play in the proper order.  It works fine when I go to 'Music'-> 'Play All' on my clip +.  Problem is if I go to the 'music '->' artists'-> 'Play All' they are in a competely different order!  Even when I do a different type of subselect as 'Music'-> 'Types '->' Play All'.

    I need to be able to select a specific artist, and control the order of the songs from this artist, so can someone tell me:

    (1) why this happens?

    (2) what can I enter in the MP3 tag which specific for it to sort the way I want to force?

    Thank you!

    Artist, Album, Genre are all labels. No records. The Clip concludes these labels ID3 Tags.

    But if you click on to the bottom of the artist, Album, etc., you'll see the folders. You can read the file in the order the names of the tracks.

    Play everything probably goes into music, and I play through each Album in alphabetical order by title of the album.

    Or you can fix the ID3 tags.

    Download the free program mp3tag. http://www.mp3Tag.de/en/

    When you install it let it be added to the context menus (an option during installation).

    After installed, open it and go to tools, Options, Tags, Mpeg and under writing choose ID3v2.3 and ISO-8859-1. (ISO-8859-1, this is how Windows displays the text in the English language).  Make sure that those who are saved.

    Click on an album, and then look at the tags. Click on the header name of the file to put in order - as you did the names of files - and then fill in the other fields correctly. You can labelled the album both highlighting everything and put the artist, Album, etc. in the box on the left.

    MP3 tag also has some other nifty features. One is assistant tools/auto-numbering. Make sure the files are in order, from top to bottom, reading, choose the option of leading zeros. If an album has 10 tracks and they are labeled, 1, 2, 3, etc., the Clip will play 1, 11, 12, 13, before 2.  This is perhaps what is happening. Leading zeros fixed that.

    Under Convert, you can convert your files in tag names.  It's pretty obvious, how it works, each field is shown by the artist %, etc.  So in the conversion box, you can type ZPA Track %%d % title % and he should ignore ZPA and fill in the other fields. This could be your best option, but mp3tag is very flexible, and you should understand something.

    It is best to take off the Clip files problem, fix them on the computer and return. You can also remove MTABLE. SYS of the clip - which is the database of the ID3 tags - and when you unplug it will make a fresh shiny new MTABLE. SYS to your new tags.

    Further, it takes about 5 seconds to run the wizard to autodial on each album, until you add it to the clamp and it will prevent many problems.

  • Satellite L450 - 18 d - language keyboard problem

    Hello!

    I have a Toshiba Satellite L450 - 18 d, which was purchased in England in May and then sent to me to Portugal, so I chose Portuguese as default language for my keyboard. However, for the last two weeks, I had this problem: since I installed Microsoft Office 2007 and the Office SP2 update, I had this curious situation with accents - instead of see only 1 focus whenever I click on a button, I see 2 accents (with one click).

    Something like this:
    "(1 click); ~ ~ (1 click); ´´´ (2 clicks) and so on. This is * huge *, _because we use a lot of accents in portuguese_ - for example, I should be able to write + português + (written in Notepad) and not + Português ^ ^ are +!

    Now, this does not occur when I use Notepad, but happens to all other programs (Office, Works, OpenOffice,...) and also in my browser (Mozilla Firefox). Is it possible that I can manually remove or manipulate focus associated with a specific key? I tried to change the default language of Brazilian Portuguese and uninstall Office 2007, but the problem remains... It would be associated with an update about Office?

    Thanks for your time!
    Petra

    Hey,.

    To be honest this really strange behavior...

    Interesting, it would be if you remove Microsoft Office if the problem still exists or not. If so, it seems to be related to Microsoft Office and therefore, you must contact Microsoft for the detailed response.

    Otherwise, you can check only the keyboard input language. Make sure that only one language is defined.

  • Playlists sort problems after upgrading to iTunes 12.3.2.25

    Hello.

    My system is 64-bit Windows 10 and everything was fine until I upgraded to (today) to iTunes version 12.3.2.25.

    Now I see that, although my old playlists are always sorted alphabetically, each new playlist that I create is placed at the end of my list (at the bottom, the very last, regardless of the letter, that it starts from)!

    Anyone else having this problem?

    Thank you in advance.

    p.s. Should I restore my system to the restore point that I created just before I installed this version? It will bring me to the previous version that worked without problems?

    Yes, I guess that creating a Restore Point before each update of iTunes is a necessary step in our days... Well, I learned my lesson.

    Only, I restored my system to the restore point that I took just before the update to iTunes, she went back to the 12.3.1.23 version and playlists are now sorted properly...

  • ATG 10.2 CSC ticket history sort problem

    Hello

    I am facing an issue related triage in the grid of 'Historical Ticket' of the CSC.

    In this grid, there are several columns - ticket Id, Description, creates, age, status, but the sort option only works when I click on the 'ticket Id' column.

    By clicking on the sign of the arrow next to the ticket Id, all columns are get sorted but same behavior does not work when I click on the other columns -Description, creation, status, age.

    I tried to console alert in various jsp but unable to find so exact of these columns are rendered.

    I know that these grid/table are defined in /Service-UI/Framework/Agent/config/atg/svc/agent/ui/tables/ticket/CustomerTicketGrid.properties but of jsp perspective I'm not able to understand.

    Can anyone suggest / Help on this issue?


    TicketHistory.jpg


    Kind regards

    Prateek Gupta


    I am able to fix this by myself.

    There is no need to find jsp; It is a configuration problem.

    We need only set the sortField property and sorting works fine then.

    Kind regards

    Prateek Gupta

  • Sort problem: ORDER BY the numbers all first instead of characters first

    Hello

    I need help with the problem of the following sort:

    create table test01 (sorting_column varchar2 (30));

    insert into values test01 ('Test123');
    insert into values test01 ("Test987");
    insert into values test01 ("123Test");
    insert into values test01 ("987Test");
    insert into test01 values (string 'test');

    Select sorting_column from test01 arrested by sorting_column;

    SORTING_COLUMN
    ------------------------------
    Test string
    Test123
    Test987
    123Test
    987Test

    This is not the order that I need. I really wish it were (numbers before characters):

    123Test
    987Test
    Test123
    Test987
    Test string

    Can anyone help?

    Thanks in advance,
    Marc
    SELECT sorting_column
    FROM test01
    ORDER BY nlssort(sorting_column, 'NLS_SORT=BINARY')
    ;
    

    Can be set at the level of the session as well:

    ALTER SESSION SET NLS_SORT = BINARY;
    

    Published by: odie_63 on June 20, 2011 17:45

  • Oracle matrix report - sorting problem

    I have developed a relationship of type matrix in the query I wrote the correct sort order. If I run the query in the TOAD sort order is correct. Display of the data on the report is to give the problem the sort order is different. Could you please tell me is it possible to get the desired sort order.

    In a matrix, you can manage the sort order of the rows/columns by going directly in the field presentation and changing the order of the breakdown, by default the pause command is growing... so your columns/rows are already sorted by default.

    I guess you try to get a descending order, and that's what you see not applied with your ORDER BY clause...

  • Sort problem

    It's sorting"available"by lexigraphic... I don't want coming down from the largest to the smallest.

    Can someone tell me why it is sorting this way and how to fix it?

    < pre >

    #header info

    $style = ' < style > BODY {do-family: Arial;} '. do-size: 10pt ;} »

    $style = $style + "TABLE {border: 1px solid black;}. border-collapse: collapse ;} »

    $style = $style + "TH {border: 1px solid black;}. background: #dddddd; padding: 5px; }"

    $style = $style + "TD {border: 1px solid black;}. padding: 5px; }"

    $style = $style + ' < / style >.

    $report = new-Object - TypeName System.Collections.ArrayList

    {foreach ($cluster Get-cluster)

    Get-VMHost-location $cluster | Get-Datastore. %{

    $info = "$($_.)". Datacenter).

    $info += "$($cluster.)." (Name) ".

    $info += "$($_.)." (Name) ".

    $capacity = [math]: Round($_.capacityMB/1024,2)

    $info += "$($capacity)".

    $provision = ([math]: Round (($_.))) ExtensionData.Summary.Capacity - $_. ExtensionData.Summary.FreeSpace + $_. ExtensionData.Summary.Uncommitted)/1GB,2))

    $info += "$($provision)".

    $Available = ([math]: Round (([math]::Round($_.capacityMB/1024,2)) - ([math]: Round (($_.)))))) ExtensionData.Summary.Capacity - $_. ExtensionData.Summary.FreeSpace + $_. ExtensionData.Summary.Uncommitted)/1GB,2)),2))

    $info += "$($available)".

    $avail = ([math]: Round (([math]::Round($_.capacityMB/1024,2)) - ([math]: Round (($_.)))))) ExtensionData.Summary.Capacity - $_. ExtensionData.Summary.FreeSpace + $_. ExtensionData.Summary.Uncommitted)/1GB,2)),2))

    $capacity = ([math]: Round($_.capacityMB/1024,2))

    $percent = "{0:N2}" f (($avail/$capacity) * 100)

    $info += "$($percent)".

    [void] $report.add ($info)

    }

    }

    $html = "< br br > < br > > <.

    $html += ($report |) ConvertFrom-Csv-Header 'Data center', 'Cluster', 'name', 'Ability', ' service ', 'Available', 'PctFree | 'Available' Tri-objet - descent). ConvertTo-html-head $style

    $html > report.html

    < / pre >

    You can try something like this

    $html = "

    #header info

    $style = " "

    $report = @)

    {foreach ($cluster Get-cluster)

    Get-VMHost-location $cluster | Get-Datastore. %{

    $info = "| Select the center of data, Cluster, name, capacity, put in service, available, PctFree

    $info. DataCenter = $_. Datacenter.Name

    $info. Cluster = $cluster. Name

    $info. Name = $_. Name

    $capacity = [math]: Round($_.capacityMB/1024,2)

    $info. Capacity = $capacity

    $provision = ([math]: Round (($_.))) ExtensionData.Summary.Capacity - $_. ExtensionData.Summary.FreeSpace + $_. ExtensionData.Summary.Uncommitted)/1GB,2))

    $info. Set service = $provision

    $info. Available = $capacity - $provision

    $percent = "{0:P2}" (($capacity-$provision) f / $capacité)

    $info. PctFree = $percent

    $report += $info

    }

    }

    "$html +=".

    "

    $report | Tri-objet-property available - descending | ConvertTo-html-head $style > report.html

  • Language CC problem

    My CC application on macbook pro with OS X 10.10.3 works since a few weeks, in English and not in my default language German. What can I do?

    I apologize for the confusion, kindly install applications in German, after following steps 1 & 2 mentioned in my previous post.

    Let us know if that helps.

  • Producer folio sort problem

    I want to be able to sort the folios of publication descending (year, month, day) so that the most recent editions are on the top... and for folios of 2013 that it works this way, however, he spends in 2010, 2011 and 2012 and all these questions are randomly sorted... I expect that issues of 2012, 2011 and 2010 are sorted in chronological order, so...

    ???

    Unfortunately, the organizer of the Folio producer currently isn't support sorting.

  • Apex 3.2 with a foreign language display problems

    Hi, I am a newbie in the APEX. We want to develop our new project using Apex. I did some exercises with apex 3.2 in order to test its usability. But I come with a problem demotivating with rendering of page elements. We are a Turkish company, and when an element is filled with data that has Turkish characters in it, the element containing the character causes the dislocations nasty on neighbors points (2nd link to the image below), as well as a few problems of rendering html as tag html and code-behind occurrences (1st image link). How to get on this problem?
    Ability of translation in the apex is not a solution, I think. Because we cannot translate each unique data from our tables db that are used to complete things like a LOV.
    I need a solution as soon as possible and how can I still help to articulate my problem?
    Link below contains my shots of two screens showing the problem.

    http://img69.imageshack.us/img69/3025/apexerror1.jpg
    http://img822.imageshack.us/img822/8190/apexerror2.jpg


    FYI: We cannot spend in apex 4.0, because we cannot upgrade an up-and-running v10.02.01 oracle db without knowing its consequences. It would be a terrible amount of time and effort.

    Published by: oeren on July 28, 2010 23:32

    Published by: oeren on July 28, 2010 23:48

    Published by: oeren on July 28, 2010 23:51

    This is often caused by default meet the requirements of installation and configuration APEX. Ensure that the DAD character set is AL32UTF8 and the PL/SQL Web Toolkit version > = 10.1.2.0.6.

    DAD is perhaps at the location specified in the documentation below link, or it can be also depending on the local configuration. The PL/SQL Web Toolkit can be verified using the query, select double owa_util.get_version in the workshop of SQL.

    http://download.Oracle.com/docs/CD/E14373_01/install.32/e13366/db_install.htm#HTMIG236
    http://download.Oracle.com/docs/CD/E14373_01/install.32/e13366/pre_require.htm#BABGBJJD

  • Check the printing sorting problem

    In our checks check printing program do not come in order. On research I discovered that the check numbers are considered to be rather in the form of text and number, so to solve that I am trying to convert the text to a number first check number and then use the sort expression. I am using now, but in error...

    <? sort: (<? xdofx:to_number(PaymentNumber/CheckNumber)? >)? >

    Could someone point me on whats wrong I do here?

    Thanks in advance for your answer.
    Dinesh

    use

    
    
  • Crosstab sort problem

    Hi all, I have the following XML
    <LIST_G_EXP>
    <G_EXP>
    <ORD>x</ORD>
    <ID>920486</ID>
    <NAME>MLF Ltd</NAME>
    <DATE_ID>2009-04-01T00:00:00.000-05:00</DATE_ID>
    <MONTH_YR/>
    <BEGIN_DATE>04/30/2009</BEGIN_DATE>
    <PCT>.76</PCT>
    </G_EXP>
    <G_EXP>
    <ORD>y</ORD>
    <ID>920486</ID>
    <NAME>MLF Ltd</NAME>
    <DATE_ID/>
    <MONTH_YR>2009-01-01T00:00:00.000-06:00</MONTH_YR>
    <BEGIN_DATE>2009 Avg.</BEGIN_DATE>
    <PCT>.76</PCT>
    </G_EXP>
    <G_EXP>
    <ORD>x</ORD>
    <ID>274</ID>
    <NAME>Capital LP</NAME>
    <DATE_ID>2008-11-01T00:00:00.000-05:00</DATE_ID>
    <MONTH_YR/>
    <BEGIN_DATE>11/30/2008</BEGIN_DATE>
    <PCT>.551</PCT>
    </G_EXP>
    <G_EXP>
    <ORD>x</ORD>
    <ID>274</ID>
    <NAME>Capital LP</NAME>
    <DATE_ID>2008-12-01T00:00:00.000-06:00</DATE_ID>
    <MONTH_YR/>
    <BEGIN_DATE>12/31/2008</BEGIN_DATE>
    <PCT>.608</PCT>
    </G_EXP>
    <G_EXP>
    <ORD>x</ORD>
    <ID>274</ID>
    <NAME>Capital LP</NAME>
    <DATE_ID>2009-01-01T00:00:00.000-06:00</DATE_ID>
    <MONTH_YR/>
    <BEGIN_DATE>01/31/2009</BEGIN_DATE>
    <PCT>.59</PCT>
    </G_EXP>
    <G_EXP>
    <ORD>x</ORD>
    <ID>274</ID>
    <NAME>Capital LP</NAME>
    <DATE_ID>2009-02-01T00:00:00.000-06:00</DATE_ID>
    <MONTH_YR/>
    <BEGIN_DATE>02/28/2009</BEGIN_DATE>
    <PCT>.549</PCT>
    </G_EXP>
    <G_EXP>
    <ORD>x</ORD>
    <ID>274</ID>
    <NAME>Capital LP</NAME>
    <DATE_ID>2009-03-01T00:00:00.000-06:00</DATE_ID>
    <MONTH_YR/>
    <BEGIN_DATE>03/31/2009</BEGIN_DATE>
    <PCT>.576</PCT>
    </G_EXP>
    <G_EXP>
    <ORD>x</ORD>
    <ID>274</ID>
    <NAME>Capital LP</NAME>
    <DATE_ID>2009-04-01T00:00:00.000-05:00</DATE_ID>
    <MONTH_YR/>
    <BEGIN_DATE>04/30/2009</BEGIN_DATE>
    <PCT>.726</PCT>
    </G_EXP>
    <G_EXP>
    <ORD>y</ORD>
    <ID>274</ID>
    <NAME>Capital LP</NAME>
    <DATE_ID/>
    <MONTH_YR>2009-01-01T00:00:00.000-06:00</MONTH_YR>
    <BEGIN_DATE>2009 Avg.</BEGIN_DATE>
    <PCT>.61025</PCT>
    </G_EXP>
    <G_EXP>
    <ORD>y</ORD>
    <ID>274</ID>
    <NAME>Capital LP</NAME>
    <DATE_ID/>
    <MONTH_YR>2008-01-01T00:00:00.000-06:00</MONTH_YR>
    <BEGIN_DATE>2008 Avg.</BEGIN_DATE>
    <PCT>6.90583333333333333333333333333333333333E-01</PCT>
    </G_EXP>
    <G_EXP>
    <ORD>y</ORD>
    <ID>274</ID>
    <NAME>Capital LP</NAME>
    <DATE_ID/>
    <MONTH_YR>2007-01-01T00:00:00.000-06:00</MONTH_YR>
    <BEGIN_DATE>2007 Avg.</BEGIN_DATE>
    <PCT>1.10675</PCT>
    </G_EXP>
    <G_EXP>
    <ORD>x</ORD>
    <ID>12</ID>
    <NAME>GCapital LP</NAME>
    <DATE_ID>2008-11-01T00:00:00.000-05:00</DATE_ID>
    <MONTH_YR/>
    <BEGIN_DATE>11/30/2008</BEGIN_DATE>
    <PCT>.725</PCT>
    </G_EXP>
    <G_EXP>
    <ORD>x</ORD>
    <ID>12</ID>
    <NAME>GCapital LP</NAME>
    <DATE_ID>2008-12-01T00:00:00.000-06:00</DATE_ID>
    <MONTH_YR/>
    <BEGIN_DATE>12/31/2008</BEGIN_DATE>
    <PCT>.713</PCT>
    </G_EXP>
    <G_EXP>
    <ORD>x</ORD>
    <ID>12</ID>
    <NAME>GCapital LP</NAME>
    <DATE_ID>2009-01-01T00:00:00.000-06:00</DATE_ID>
    <MONTH_YR/>
    <BEGIN_DATE>01/31/2009</BEGIN_DATE>
    <PCT>.6</PCT>
    </G_EXP>
    <G_EXP>
    <ORD>x</ORD>
    <ID>12</ID>
    <NAME>GCapital LP</NAME>
    <DATE_ID>2009-02-01T00:00:00.000-06:00</DATE_ID>
    <MONTH_YR/>
    <BEGIN_DATE>02/28/2009</BEGIN_DATE>
    <PCT>.557</PCT>
    </G_EXP>
    <G_EXP>
    <ORD>x</ORD>
    <ID>12</ID>
    <NAME>GCapital LP</NAME>
    <DATE_ID>2009-03-01T00:00:00.000-06:00</DATE_ID>
    <MONTH_YR/>
    <BEGIN_DATE>03/31/2009</BEGIN_DATE>
    <PCT>.582</PCT>
    </G_EXP>
    <G_EXP>
    <ORD>x</ORD>
    <ID>12</ID>
    <NAME>GCapital LP</NAME>
    <DATE_ID>2009-04-01T00:00:00.000-05:00</DATE_ID>
    <MONTH_YR/>
    <BEGIN_DATE>04/30/2009</BEGIN_DATE>
    <PCT>.73</PCT>
    </G_EXP>
    <G_EXP>
    <ORD>y</ORD>
    <ID>12</ID>
    <NAME>GCapital LP</NAME>
    <DATE_ID/>
    <MONTH_YR>2009-01-01T00:00:00.000-06:00</MONTH_YR>
    <BEGIN_DATE>2009 Avg.</BEGIN_DATE>
    <PCT>.61725</PCT>
    </G_EXP>
    <G_EXP>
    <ORD>y</ORD>
    <ID>12</ID>
    <NAME>GCapital LP</NAME>
    <DATE_ID/>
    <MONTH_YR>2008-01-01T00:00:00.000-06:00</MONTH_YR>
    <BEGIN_DATE>2008 Avg.</BEGIN_DATE>
    <PCT>.8865</PCT>
    </G_EXP>
    <G_EXP>
    <ORD>y</ORD>
    <ID>12</ID>
    <NAME>GCapital LP</NAME>
    <DATE_ID/>
    <MONTH_YR>2007-01-01T00:00:00.000-06:00</MONTH_YR>
    <BEGIN_DATE>2007 Avg.</BEGIN_DATE>
    <PCT>1.47333333333333333333333333333333333333E00</PCT>
    </G_EXP>
    <G_EXP>
    <ORD>x</ORD>
    <ID>135</ID>
    <NAME>Fund Ltd</NAME>
    <DATE_ID>2008-11-01T00:00:00.000-05:00</DATE_ID>
    <MONTH_YR/>
    <BEGIN_DATE>11/30/2008</BEGIN_DATE>
    <PCT/>
    </G_EXP>
    <G_EXP>
    <ORD>x</ORD>
    <ID>135</ID>
    <NAME>Fund Ltd</NAME>
    <DATE_ID>2008-12-01T00:00:00.000-06:00</DATE_ID>
    <MONTH_YR/>
    <BEGIN_DATE>12/31/2008</BEGIN_DATE>
    <PCT>.705</PCT>
    </G_EXP>
    <G_EXP>
    <ORD>x</ORD>
    <ID>135</ID>
    <NAME>Fund Ltd</NAME>
    <DATE_ID>2009-01-01T00:00:00.000-06:00</DATE_ID>
    <MONTH_YR/>
    <BEGIN_DATE>01/31/2009</BEGIN_DATE>
    <PCT>.617</PCT>
    </G_EXP>
    <G_EXP>
    <ORD>x</ORD>
    <ID>135</ID>
    <NAME>Fund Ltd</NAME>
    <DATE_ID>2009-02-01T00:00:00.000-06:00</DATE_ID>
    <MONTH_YR/>
    <BEGIN_DATE>02/28/2009</BEGIN_DATE>
    <PCT>.562</PCT>
    </G_EXP>
    <G_EXP>
    <ORD>x</ORD>
    <ID>135</ID>
    <NAME>Fund Ltd</NAME>
    <DATE_ID>2009-03-01T00:00:00.000-06:00</DATE_ID>
    <MONTH_YR/>
    <BEGIN_DATE>03/31/2009</BEGIN_DATE>
    <PCT>.587</PCT>
    </G_EXP>
    <G_EXP>
    <ORD>x</ORD>
    <ID>135</ID>
    <NAME>Fund Ltd</NAME>
    <DATE_ID>2009-04-01T00:00:00.000-05:00</DATE_ID>
    <MONTH_YR/>
    <BEGIN_DATE>04/30/2009</BEGIN_DATE>
    <PCT>.733</PCT>
    </G_EXP>
    <G_EXP>
    <ORD>y</ORD>
    <ID>135</ID>
    <NAME>Fund Ltd</NAME>
    <DATE_ID/>
    <MONTH_YR>2009-01-01T00:00:00.000-06:00</MONTH_YR>
    <BEGIN_DATE>2009 Avg.</BEGIN_DATE>
    <PCT>.62475</PCT>
    </G_EXP>
    <G_EXP>
    <ORD>y</ORD>
    <ID>135</ID>
    <NAME>Fund Ltd</NAME>
    <DATE_ID/>
    <MONTH_YR>2008-01-01T00:00:00.000-06:00</MONTH_YR>
    <BEGIN_DATE>2008 Avg.</BEGIN_DATE>
    <PCT>.705</PCT>
    </G_EXP>
    <G_EXP>
    <ORD>y</ORD>
    <ID>135</ID>
    <NAME>Fund Ltd</NAME>
    <DATE_ID/>
    <MONTH_YR>2007-01-01T00:00:00.000-06:00</MONTH_YR>
    <BEGIN_DATE>2007 Avg.</BEGIN_DATE>
    <PCT>2.26833333333333333333333333333333333333E00</PCT>
    </G_EXP>
    </LIST_G_EXP>
    My crosstab looks like below..
    (1,1)<?horizontal-break-table:1?>
    (1,2)<?for-each-group@column:G_EXP;./BEGIN_DATE?><?sort:ORD;'ascending';data-type='text'?><?sort:DATE_ID;'ascending';data-type='text'?><?BEGIN_DATE?><?end for-each-group?>
    (2,1)<?for-each-group:G_EXP;./NAME?><?variable@incontext:G1;current-group()?><?NAME?>
    (2,2)<?for-each-group@cell://G_EXP;./BEGIN_DATE?><?sort:ORD;'ascending';data-type='text'?><?sort:DATE_ID;'ascending';data-type='text'?><?($G1[(./BEGIN_DATE=current()/BEGIN_DATE)]/PCT)?><?end for-each-group?><?end for-each-group?>
    My current output for column headings is...I'm unable to provide my whole o/p here due to space constrains I guess..
                 11/30/2008 12/31/2008 01/31/2009 02/28/2009 03/31/2009 04/30/2009 2007 Avg. 2008 Avg. 2009 Avg.
    Can I get something like...Check the last 3 columns...
                 11/30/2008 12/31/2008 01/31/2009 02/28/2009 03/31/2009 04/30/2009 2009 Avg. 2008 Avg. 2007 Avg.
    Thanks in advance..
    Published by: user10280715 on May 28, 2009 13:05

    I think 4 + ways of dealing with this right now.

    One:
    Separate the grouping based on the data and the year of the avg.
    the solution is below.

    1,1 = 
    1,2 = 
             
             
             
    1,3 = 
             
             
            
    2,1 = 
    2,2 = 
             
             
             
    2,3 = 
             
             
             
             
    

    two:
    Simply adding the desc in the field of the MONTH_YR.

    1,1 = 
    1,2 = 
           
           
           
           
           
    2,1 = 
           
           
    2,2 = 
           
           
           
           
           
           
    

    Third:

    If you want to reduce sorting in RTF, that I prefer, then may be small change in the query is required.

    Delete the order of 3,1,4,5 desc of the query, since your order and the sorting is done in RTF ;)
    It is useless code, unless you need it for other reasons.

    Use the same RTF you have. and use the following query.

    SELECT 'x' ord,
           id,
          name,
           to_date(month_begin_date_id,'YYYYMMDD') date_id,
           null month_yr,
           to_char(last_day(to_date(month_begin_date_id,'YYYYMMDD')),'MM/DD/YYYY') begin_date,
           pct/100 pct
    from tables.
    union
    SELECT 'y'||10000-to_char(to_date(month_begin_date_id,'YYYYMMDD'),'YYYY') ord,
           id,
           name,
           null,
           trunc(to_date(month_begin_date_id,'YYYYMMDD'),'YYYY') month_yr,
           to_char(to_date(month_begin_date_id,'YYYYMMDD'),'YYYY') || ' Avg.' begin_date,
           avg(pct/100) pct
    from tables.
    group by 'y'||10000-to_char(to_date(month_begin_date_id,'YYYYMMDD'),'YYYY'),
             id,
             name,
             trunc(to_date(month_begin_date_id,'YYYYMMDD'),'YYYY'),
             to_char(to_date(month_begin_date_id,'YYYYMMDD'),'YYYY')
    

    Fourth:
    I prefer to reduce sorting in model;).
    I like to take the burden of the model ;) and give the beautiful Monster database to manage heavy work.

    SELECT 'x'||month_begin_date_id ord,
           id,
          name,
           to_date(month_begin_date_id,'YYYYMMDD') date_id,
           null month_yr,
           to_char(last_day(to_date(month_begin_date_id,'YYYYMMDD')),'MM/DD/YYYY') begin_date,
           pct/100 pct
    from tables.
    union
    SELECT 'y'||10000-to_char(to_date(month_begin_date_id,'YYYYMMDD'),'YYYY') ord,
           id,
           name,
           null,
           trunc(to_date(month_begin_date_id,'YYYYMMDD'),'YYYY') month_yr,
           to_char(to_date(month_begin_date_id,'YYYYMMDD'),'YYYY') || ' Avg.' begin_date,
           avg(pct/100) pct
    from tables.
    group by 'y'||10000-to_char(to_date(month_begin_date_id,'YYYYMMDD'),'YYYY'),
             id,
             name,
             trunc(to_date(month_begin_date_id,'YYYYMMDD'),'YYYY'),
             to_char(to_date(month_begin_date_id,'YYYYMMDD'),'YYYY')
    
    I assumed the month_begin_date_id columns holds the data in YYYYMMDD format.
    else use to_char function to convert it to YYYYMMDD 
    

    And in the template, remove sorting on DATE_ID. Just use spell on DSB ;)
    delete

    (1,1)
    (1,2)
           
           
    (2,1)
           
    (2,2)
           
           
           
    
  • Interactive report - French language character problem

    Hello

    I made an interactive report with this table:

    CREATE TABLE 'DEPT '.
    ("DEPTNO" NUMBER (2.0),)
    VARCHAR2 (14) "DNAME",.
    "LOC" VARCHAR2 (13),
    ENABLE 'DEPT_PK' CONSTRAINT PRIMARY KEY ('DEPTNO')
    )

    I have two rows in my table
    insert into dept (dname, loc) values('IT','Québec');
    insert into dept (dname, loc) values('IT','Montreal');

    When I click on the filter of the LOC. column I got a javascript error and the loading icon does not stop.

    JavaScript error:
    list of missing} after property
    http://Penelope/ax31/JavaScript/apex_3_1.js
    Line 1


    The problem is the 'e' in Quebec.

    Thank you.
    Sylvain Michaud

    Hello

    You use AL32UTF8 as the character set in your DAD PlsqlNLSLanguage setting?

    Kind regards
    Arie.

  • Sorting problems

    Sometimes, when I add music by the same artist, same album yet, it gets split. For example, I just added an album by Terry Reid. Each artist field is called 'Terry Reid' and all areas for the Album are labeled 'Move over for Terry Reid', but instead of all of the songs are classified in the same heading, iTunes creates two more different of the same name. This is a known error? It makes me crazy! Here's a screenshot of what I'm talking about, in case I'm not explaining well enough:

    Any Suggestions?

    Thank you

    -Adam

    Steve MacGuire alias turingtest2 - iTunes and iPod tips and tricks - grouping beaches in Albums - http://www.samsoft.org.uk/iTunes/grouping.asp (old post on Apple Discussions http://discussions.apple.com/message/9910895#9910895)

    Quick response: select all the tracks on the album, file > info (or right-click > news > Details) and give them all a single "album artist", or check the indicator of "compilation" (as in https://discussions.apple.com/message/17670085#17670085).

    If they are several CD sets, you will also need to enter the appropriate information in the fields of number of disk.  If they are not a set of multiple CDs that you must always make sure any vacuum or disc number fields are properly defined.

    Another explanation of hhgttg27 August 2015 - https://discussions.apple.com/message/27784417#27784417

    If they won't even really check this August 2008 post by turingtest2 group temporarily change labels - https://discussions.apple.com/message/7904806#7904806 or http://www.samsoft.org.uk/iTunes/merge.asp - it works often but I have had cases where securities combined when a letter has been added but divorced when he was kidnapped again.

    If they are mp3 files are trying to change the version of the ID3 tag, which can cause iTunes to re - write the tags and clarify inconsistencies.  I use iTunes 7.5 (Yes, from 2007) so I can't tell you where it is in later versions.

    I had a case of grouping stubborn reality.  The tracks will be re-group in a way that has no meaning when I changed metadata.  Without going into details, I deleted tracks iTunes completely, then add the files and they are all grouped together correctly.

Maybe you are looking for

  • Portege M200-display frequency

    Hi, I reinstalled my windows, and after this, my screen does not any frequency greater than 60 Hrz.And which is really exhausting for my eyes. I have reinstaled the driver for Nvidia, but does not work.Can someone give me an idea how I can fix this p

  • Need new inverter for my Qosmio G50-129

    HelloI have a laptop Toshiba Qosmio G50-129 and had trouble with the screen flickering and then going black. I guess it's a defective LCD inverter, but I can't find my type of model (G71C0007Y210) anywhere on the internet. The closest I can get is th

  • while loop: delay enforcement and continuous updated: VI back to fake out of time?

    Hi all I want to control the time of execution of a while loop. I want the user to have the ability to decide how long he wants to run the while loop. The while loop is used to update certain values, then it should run continuously, not only run once

  • If I increase my laptop ram to third party ram my warranty affected or not

    HII, I'm Ved of India (Delhi). I have computer laptop purchase Hp 2230tx in January 2013, its ram is 2 GB is too low for my use.But I have 4 GB of additional ram to third. If I install the ram in my laptop, "MY LAPTOP WARRANTY AFFECTED or NOT". Thank

  • Inspiron 15R Specs 7567

    Can someone tell me the standard specs on an Inspiron 15R 7567? I can't find a complete list. In addition, this laptop includes a msata for caching? Thanks for your help!