Sorting NULLS LAST in BI Publisher

Hi all,
Is there a way that I can sort column in descending order with NULLS LAST? Need to do that in BIP not in a querry.
Thanks in advance,
Stefan

hi all,
thx for the reply.
i can display the data in all column. the point is i can't sort using EventParentName column.
maybe some of you has experience like this, please share with me.
thx
dityo
Edited by: user13655637 on Apr 12, 2011 7:17 PM

Similar Messages

  • How to sort Nulls Last

    Hi:
    I would like to sort data desc and Nulls Last. However, in NQSconfig.ini, I already set NULL_VALUES_SORT_FIRST = OFF; and in the Administrator Tool, Features tab of Database properties, I also uncheck NULL_VALUES_SORT_FIRST. Still, nulls were sort at the top. How can I make nulls last? (I am using Oracle 11 + BIEE 10.1.3.4).
    Thanks

    Hi:
    I ready restart the server and purge all cache, I even reboot my computer. But still cannot fix it. Now I have to convert Nulls to something else, however, I dont think it's a good idea. Any other hints?
    Thanks
    Larry

  • Sort in OBIEE Answers - Desc Nulls Last

    I want to sort Desc on a Answers column, but want NULLS last. Where do I set it?
    For instance I can write SQL
    select * from T1 order by c2 Nulls first;
    NULLS last is default behavior in Oracle SQL
    However, via OBIEE Answers, I see when I use DESC Nulls are on top, I want them on bottom.
    Where should I set it?

    Hi shyamvaran,
    What is the value of your "NULL_VALUES_SORT_FIRST" parameter in your NQSConfig.INI file? By default, this is set to OFF. Which is probably what your seeing i.e. if NULLs are last, and you are sorting in descending order, then you would expect to see NULLs first.
    If you want NULLs to show up last when sorting in descending order, then set the above parameter to ON and bounce your services. That should take care of you.
    Otherwise, you can do a work around. Create a hidden column in your report. Set it's formula to IFNULL(C2,'aaaaaaaaaaa') . This way it'll be alphabetically first i.e. last in descending order. Set this column to sort descending and then set it to hidden. It should sort your report in the desired order and it should be hidden from view.
    Good luck and if you found this post useful, please award points!
    Best regards,
    -Joe

  • Sorting with nulls last on the fact column

    anybody tell me how to do the sorting with nulls last in the template? i can't change anything in data model or anywhere other than template.
    i did try to put the descending order,but null values are coming in between positive and negative values.
    <?sort:FACT_Column_Name;'decending';data-type='number'?>
    could anyone please tell me how can i do that in template?
    Thanks in advance.
    Edited by: user12255470 on Apr 12, 2012 5:29 PM

    Hi to all,
    i've solved, is very simple using decode inside the select:
    SELECT
    ID,
    FK_HTMLDB_ITEM, DECODE(FK_HTMLDB_ITEM,1,HTMLDB_ITEM.DATE_POPUP(3,rownum,VAL,'dd-mon-yyyy'),2,HTMLDB_ITEM.TEXT(3,VAL)) VALORE
    FROM TESTID
    my table is:
    CREATE TABLE "DEV"."TESTID"
    (     "ID" NUMBER NOT NULL ENABLE,
         "FK_HTMLDB_ITEM" NUMBER,
         "VAL" VARCHAR2(4000 BYTE))
    Bye Bye

  • Column header sorting: NULLS first/last

    Column header sorting doesnt seem to support the NULLS FIRST /LAST feature of the SQL ORDER BY clause.
    So, if my data has nulls in it, I cant control where they appear when I click on the column header to sort it.
    Is this added to the upcoming 2.0 version?
    Thanks

    Same question over here: in the J2EE app that I'm rebuilding with Apex, we use NULLS last in all pages, wether order is descending or ascending.
    Is 'nulls first/last' supported in any way now?
    Are there workarounds to achieve this?
    Thanks,
    Toon Koppelaars

  • 3.1 Bug - Add row not working if Sort Nulls defautls to first.

    In some situations when you click "Add" to add a new row of a tabular form you are not provided a blank row, although you can see the row count is incremented in the lower right corner.
    This occurs if the setting of Sort Nulls first/last is allowed to default in the region attributes. By default nulls are sorted first. If your tabular form has a sort on any column and you try to add a row, the new row sorts to the top. If you have more than a screens worth of rows your blank row is not visible because APEX places focus to the last page of the result set. A work around is to go to the region's Report Attributes tab and look for "Sort Nulls" and set it to last.
    But even if you do this you may still run into problems. For example if you sort on a column that has a lot of null values, your blank row may still not appear as the last row and so may not be visible.
    I'm wondering if this is a know issue and if there are plans to correct.
    I mentioned the bug to David Peake when he was out here this week, but I didn't realize what was causing the weird behavior. Too bad I couldn't get his opinion about the cause.
    Thanks!
    Ken

    I'm seeing something that might be related to this, might not. I've setup a tabular form (Apex 3.1.0.00.9) and added a select list (Select list with submit) to help control the number or rows displayed.
    Let's say I select 30 rows to be displayed. Then I click the Add Row button. I'm getting my new empty row at the bottom of the list of records, however I'm only seeing 5 rows of data displayed above my new empty row, rather than the complete list of records (I only have 15 rows in the table right now).
    Another oddity is that the the pagination shown in the pagination select list shows "row(s) 1-15 of 16" even though the report is showing only 5 rows of data. It's almost as if some pagination value has been cached and not updating.
    Anyone got any ideas?
    Earl

  • Birthday calendar on iCloud sort by last name first name like my contacts

    birthday calendar on iCloud sort by last name first name like my contacts

    Curiously, the most recently inputted entries do sort properly, as do all company entries.
    Does that mean "most recently inputted" AFTER you upgraded to Snow Leopard?
    If that is true, it would mean that something about your existing records before the upgrade, for the records that are people contacts (with first and last names) instead of business contacts, do not agree with Snow Leopard and/or Snow Leopard's version of Address Book.
    This may not be feasible, but if you exported the records with this problems and then imported them, maybe they will be re-inputted so that are properly sorted.
    If you use Time Machine, maybe you can use the +flying through space+ interface to restore one of the records with this problem to see if the restore process makes the record sort properly.

  • How can I get the address book to sort by "Last" name (using v 31.3.0).

    After a computer crash, I had to load Thunderbird (v31.3.0) back into my machine running Windows 8.1, and I successfully imported my address book back up file into Thunderbird (v31.3.0).
    My problem is that I don't see an option to sort the address book by "Last" name, which was available with the version of Thunderbird I had before the crash.
    How can I get the address book to sort by "Last" name?

    In 'Address Book'
    Select address book
    'View' > 'Show name as' > 'Last/First'
    The you can sort by Name.
    Either click on 'Name' column header to change sort order,
    If reversed, then click on 'Name' column header again to reverse the order.
    Or
    'View' > 'Sort By' > choose 'Name' and 'Ascending'

  • How to make Address Book obey Preferences? I run MacBook Pro 4.1 laptop,  Mac OS X 10.6.8  Address Book 5.0.3 (883) Preferences set at ... General First name following Last name   Sort for Last name Address Format Canada Font size Large Phone format set a

    How to make Address Book obey Preferences?
    I run MacBook Pro 4.1 laptop,  Mac OS X 10.6.8
    Address Book 5.0.3 (883) 
    Preferences set at ...
    General
    First name following Last name 
    Sort for Last name
    Address Format Canada
    Font size Large
    Phone format set at
    +1.123.456.7890
    When application quits - it's all forgotten and it self-resets to
    unwanted configuration.

    Whenever you remove system modifications, they must be removed completely, and the only way to do that is to use the uninstallation tool, if any, provided by the third-party developers, or to follow their instructions. If the software has been incompletely removed, you may have to re-download or even reinstall it in order to finish the job.
    Here are some general guidelines. Suppose you want to remove something called “BrickYourMac.” First, consult the product's Help menu, if there is one, for instructions. Finding none there, look on the developer's website, say www.brickyourmac.com. (That may not be the actual name of the site; if necessary, search the Web for the product name.) If you don’t find anything on the website or in your search, email the developer. While you're waiting for a response, download BrickYourMac.dmg and open it. There may be an application in there such as “Uninstall BrickYourMac.” If not, open “BrickYourMac.pkg” and look for an Uninstall button.
    If you can’t remove software in any other way, you’ll have to erase your boot volume and perform a clean reinstallation of OS X. Never install any third-party software unless you're sure you know how to uninstall it; otherwise you may create problems that are very hard to solve.
    Trying to remove complex system modifications by hunting for files by name often will not work and may make the problem worse. The same goes for "utilities" that purport to remove software.

  • When I sync my contacts with Outlook, the iphone shows them sorted by first name.  I want them sorted by last name.

    I have my contacts stored in Outlook (sorted by last name).  When I sync to my Iphone, the contacts are sorted by first name.  I have checked the Settings and show and file are checked as Last, First.  What can I do to change this sort?

    On the phone, go to Settings>Mail, Contacts, Calendars select the account you want and scroll down to the settings for Contacts.  You can change display and sort order there.
    Matt

  • Contacts - Sorting by last name

    I've read that Android 2.2 allows you to sort your contacts by last name, but I can't seem to find a way to do this on the Droid 2.  It seems that the feature has been disabled either by Motorola or Verizon.  Does anyone know of any plans to restore this functionality?  Sorting by last name seems so natural -- it's a mystery why anyone would consciously remove it.

    On the Nexus One it's
    Open contacts --> Menu button --> View contact names as
    I am unsure as I do not have a Droid 2 on hand, but am considering purchasing one sometime in the near future.  Of course above will vary between manufacturers since Some devices will have custom UI's built on top of Android.

  • Sorting by last name

    How do I get the artist list to sort by "last name, first name" but display as "first name last name"?
    Thanks for the help

    Use the new Sorting fields.
    If you Get Info on a track and select the Sorting tab, you can enter lastname firstname (e.g. "Cash Johnny") into the Sort Artist field, and iTunes will from then on alphabetize that track by last name (with the C's, in my example). The display name will be unaffected.
    Since iTunes doesn't know how to divide up artists into first and last names, there's no easy way to automate the process — you'll need to do it by hand. But once you've changed one track by an artist, you can control-click that song in your library and select "Apply sort fields..." from the contextual menu that pops up to copy the sorting information to all songs by that artist.
    You can do this with many other fields, too — you can, for instance, delete initial quotation marks so those songs aren't erroneously sorted to the front of the alphabet.

  • Sorting by Last Name with One Field

    In other words, how would I sort by last name when it's a single field that looks like FirstName_LastName?
    Ex:
    Alex S
    Derek A
    Bob Z
    to
    Derek A
    Alex S
    Bob Z
    I would suppose there is a way to make it read only the data after the space and sort it that way somehow?
    I have other problems but this is the biggest one I have at the moment.

    Dgn wrote:
    The thing is the I don't specifically remember hearing this in class and it doesn't appear in my book unless it goes by some other name.
    I'm dealing with a multi class program if that has any relevance.
    And I'm supposed to sort the names into a alphabetical last name format.Are you supposed to use your own sorting alogrithm or are you supposed to use Java's built in sorting algorithms and API?

  • I use iCloud to store my contacts but in Outlook it only sorts by first name. Although in iCloud it can be set to sort by last name, I cannot get it to do that in Outlook.

    I use iCloud to store my contacts, but in Outlook it only sorts by first name. Although in iCloud it can be set to sort by last name, I cannot get it to do that in Outlook. I have thousands of contacts and cannot sort though all the first names to find one.How do I get it to sort by last name in Outlook?

    By reading this:
    http://office.microsoft.com/en-us/outlook-help/display-the-contacts-list-in-last name-firstname-format-HP001034286.aspx

  • Why can't I find the option to sort by last name?

    I see posts from some people with Android 2.2 that their phone gives the option of sorting by last name or by first name.  However, following the procedure they give, I don't see "display option".  I have seen other people who say they have the same problem on other forums, but no solutions were offered other than that it might be motoblur.  Is it motoblur?  if so, can I remove motoblur so I can sort?  Or is there another workaround?  This continues to be a major annoyance for me when I want to make a call...  Any help is appreciated.

    mjgreen66 wrote:
    I see posts from some people with Android 2.2 that their phone gives the option of sorting by last name or by first name.  However, following the procedure they give, I don't see "display option".  I have seen other people who say they have the same problem on other forums, but no solutions were offered other than that it might be motoblur.  Is it motoblur?  if so, can I remove motoblur so I can sort?  Or is there another workaround?  This continues to be a major annoyance for me when I want to make a call...  Any help is appreciated.
    A fix is to download an alternative dialer from the market.  I use Dialer One (free) which allows you  to sort by last name.
    It also shows time/date of all calls, vs the strange format used for recent calls (e.g. "6 hours ago") by the default dialer.
    You can keep both, switching back to the stock dialer if you need to.

Maybe you are looking for