Defining the column sort - descending order

Hello

I have the Period_Name column, which contains the month and year (for example. Dec - 06, Jan - 07...) and sort order is defined by another column 'end_date '.

Due to this whenever I use the column 'Period_Name' in the command prompt, it gives me the period in ascending order. Now my requirement is to show the period in descending order. How can I make the setting to display in descending order?

Kindly help.

Kind regards
Jitendra

Use the order by columnname desc

Tags: Business Intelligence

Similar Questions

  • How can I sort the files in descending order & vice versa

    original title: files & folders

    How can I sort the files in descending order & vice versa

    The game, October 7, 2010 20:28:15 + 0000, phil7525 wrote:

    How can I sort the files in descending order & vice versa

    Make sure that you are in the Details view. Click on the heading of the field
    you want to sort. Click on it a second time to reverse growing
    descending, or vice versa.

    Ken Blake (MS-MVP)

  • Get the emails in descending order of creation date. [REST API]

    Hello I am trying to GET emaiils of the REST API in order descending creation date. So far, my URL params look like:

    emails/assets /? Search = * BN * & page = 1 & number = 50 & depth minimum = & orderBy = converted

    This seems to put in ascending order. I wonder if I can specify the order? I noticed for the contacts there is a sorting = {sortOn} & dir = desc, so is it possible

    to do with e-mails? I tried to join the above URL & dir = desc but not luck and assuming that he only is not supported from this page http://topliners.eloqua.com/docs/DOC-3083.

    Yes I can reverse my logic in the program from the end of emails received, but I wonder if I can simply specify order emails using the REST API?

    Please let me know and thank you.

    Hi John,.

    To sort by a column name, such as the 'name' field, you can simply add the following query string parameters: & orderBy = name % 20desc

    The sort directions are: asc | / / DESC

    We will share a post soon to describe how to do this. The API should support the "dir" query string argument, but it doesn't seem to work. We will look into it as well.

    Hope this helps,

    Fred

  • PivotTable: even with Page breaks, must define the column same widths on the Pages

    Hello:
    I have a PivotTable with the page breaks on column 1. Change the width of each column and therefore the total width of the table on each page.

    How can I set the widths and the overall page widths, is the same on each page?

    Thank you-

    Charlie EPEs
    Buffalo, NY

    In pivot mode
    Go to the properties of content (just above the lines)

    Additional options - then in width of formatting... give values such as 1000 or 100px

    see if it helps...

    Thank you
    Ashish

  • rank in descending order

    Hello

    How to select the rank of each record based on the value of the column in descending order

    NO, THE VALUE

    1 172

    2 172

    3 172

    4 172

    5 145

    6 145

    7 145

    8 145

    9 145

    19 210

    20 210

    21 210

    the output should be as below (210 rank #1, 172 rank #2, 145 rank #3).

    19 210, 1

    20 210, 1

    21 210, 1

    1 172, 2

    2 172, 2

    3 172, 2

    4 172, 2

    5 145, 3

    6 145, 3

    7 145, 3

    8 145, 3

    9 145, 3

    You want to rank on the whole, not divided into subsets before ranking.

    Also, since you want rows 1,2,3 without leaving space for repeated values, you want dense_rank:

    Select dense_rank() over (order by value desc) "rank" no, the value of sheet1 value desc order;

  • How to sort a table in descending order by default?

    Hi all

    I created a sample page that is research panel with table. His works well
    When searching in the table, I want to display the data in the table in descending order by default.
    For example, I have one of field's ID who's number I want to display the table in descending order.
    But we have an option that can be sorted and sort property in the behavior section. But if we want a default search, how to make.
    Can someone give a resolution?


    Thank you
    Shankar

    cant specify you desc order in the query in the t?

  • How to display the results of the database from several tables in descending order?

    I have a key word to search for images on my website that allows visitors to search for specific things. My db msysql has 15 tables and for the search function I use a UNION ALL operation to join them any visitor can find all tables at the same time. The problem is that all the results are in ascending order. How can I get the results in descending order.

    SELECT *.

    FROM table1

    Keyword WHERE AS id LIKE %s or %s

    UNION ALL

    SELECT *.

    FROM table2

    Keyword WHERE AS id LIKE %s or %s

    UNION ALL

    SELECT *.

    TABLE 3

    Keyword WHERE AS id LIKE %s or %s

    PS

    I tried this and it doesn't work:

    SELECT * FROM table1 WHERE AS %s or id AS %s ORDER BY id DESC keyword

    and I know that this is not conventional to use SELECT * with so many tables, but believe me, I have my reasons. I'm not trying to do is to wrap the whole UNION within an external SELECTION

    Once more, the order by clause can only appear at the end of the last select statement in a UNION query. You have it on all select statements.

  • DISPLAY the Menu SORT BY & GROUP BY in WINDOWS 7 ULTIMATE

    I am interested in learning all about the different boxes in sort it by and Group dialog boxes view - sort in view-group of Windows 7 Ultimate help could have details, but help text fonts are 6-8 or 9-why only officials at Microsoft Corp. know

    I am looking for more information about the dialog boxes for Fort - more Group By - more

    Please consider adding personalization of Windows themes

    After you change the Sort by or Group by folder view settings in a library, you can restore the library in it's default Sort by or Group by folder view by clicking on the revamp by drop-down list on the toolbar (top-right) and clicking Cancel changes.

    If Undo changes don't is not on the list, the library is already set to be seen by its default view Sort by or Group by folder.

    EXAMPLE: "group by" and "sort by" in Windows Explorer
    NOTE: These screenshots, use the column name to "group by" and "sort by". What you see in your window will also depend on what you have the model file and set as .

    OPTION ONE

    Change "sort by" and "group by" view by using the View Menu

    1. open the Windows Explorer folder or library window you want to change the size of icons in the view.

    2 click themenu bar displayitem and select options that arrangement either Sort By or Group by , then select a columnname and ascending or descending for how you want the window arranged by. (See screenshots below)
    NOTE: The names of columns in the view menu bar depend on what you have the model file fixed. You can also click on more to add several options of name of column.

    SECOND OPTION

    Change "sort by" and "group by" view by using the column headers

    Note
    The sort and Group at the top and the option of the stack by down are no longer available in the final Windows 7 RTM. Please their contempt in the screenshots.

    1. open the Windows Explorer folder or library window you want to change the size of icons in the view.

    2. to sort or group by the column headings name Menu

    (A) move your mouse pointer on the name of column that you want to have the organized window items by, and then click the arrow to the right. (See the screenshots below step 3)

    (B) you can now select to Sort by or Group by window by that name of column headers. (See screenshots below)
    NOTE: What you see in your window will also depend on what you have the model file and set as.

    OR

    3. to select to arrange by column name headers
    NOTE: This will allow you to change quickly of name of column titles window is organized by with always using the Sort By or Group By setting that you set in step 2 or ONE OPTION above.

    (A) click on the column header name. (See the screenshots below step 2)
    NOTE: Any name of column headers from the triangle , is one that is organized by the window.

    (B) click on the same column header name until you have the Ascending or Descending order you want. (See the screenshots below step 2)
    NOTE: When the triangle in the name of column headings is directed upwards, then it goes down. If the triangle in the name of column headings is directed downwards, then it is ascending.

    OPTION THREE

    To change to "be represented by" view folders in the libraries

    Note
    Reorganize by is only available in the folders in the library . The Arrange by options vary according to the model of folder in the library folder. All the included files and subfolders in a library will always share the same point of view of folder. You are able to have separate "reorganize by ' display the parameters in each added right-click-> New-> folder created in the library itself however.

    • The Windows search Service must be on Automatic and started to make this option work.
    • Disabling the index in Windows 7 you will be not be able to use reorganize by inlibraries.

    1. open the library folder that you want to change the display of reorganize by files.

    2 click themenu bar displayitem and select reorganize by and the option to use the files in the folder library arranged. (See screenshot below)

    OR

    3 click the toolbar option of reorganize by , then select reorganize by and the drop down menu the menu option for how you want the files in the folder library arranged. (See screenshot below)

    4 all included files in the library will now even reorganize by fixed for these institutions. The library will always open with the same setting of reorganize by he had during its last closure.

    That's right, Source: http://www.sevenforums.com/tutorials/3952-file-folder-arrangement-group-sort-arrange.html

  • Find all entries in address books and order in descending order

    I have an address book called Christmas. I don't seem to see the list of all my address books. When I find them I wish to see the names in descending order from a - z, please

    Open your address book.
    VIEW - put page to ensure that the two component directory and contact component is checked.

    Then select your address book, mode - SORT BY, and then select descending or ascending your preference.

    If this does not work, maybe download a picture of what it looks like to (smudge addresses for privacy).

  • Remove the column from the compressed tables

    NLSRTL11.2.0.3.0Production
    Oracle Database 11g Enterprise Edition11.2.0.3.064 bit Production
    PL/SQL11.2.0.3.0Production
    AMT for Linux:11.2.0.3.0Production

    Hello

    I read on how to do to remove a compressed table column - first set unused and then drop unused columns. However, in the example below on the basis of data, I ran it, it does not work. Please, can you tell me WHEN this approach does not work. What is dependent on - settings or something else. Why can't I drop unused columns?

    And the example and errors:

    create table tcompressed compress in select * from all_users;

    > TCOMPRESSED table created.

    ALTER table tcompressed add x number;

    > table TCOMPRESSED altered.

    ALTER table tcompressed drop the x column;

    >

    Error report:

    SQL error: ORA-39726: unsupported operation column add/drag on compressed tables

    39726 00000 - "operation column add/drop not supported on compressed tables. ''

    * Cause: Not support add/column operation move compressed tables

    elapse.

    * Action: When adding a column, do not specify a default value.

    DELETE column is only supported in a column SET UNUSED

    (remove the column metadata).

    ALTER table tcompressed unused column of the set x;

    > table TCOMPRESSED altered.

    ALTER table tcompressed drop unused columns;

    >

    Error report:

    SQL error: ORA-39726: unsupported operation column add/drag on compressed tables

    39726 00000 - "operation column add/drop not supported on compressed tables. ''

    * Cause: Not support add/column operation move compressed tables

    elapse.

    * Action: When adding a column, do not specify a default value.

    DELETE column is only supported in a column SET UNUSED

    (remove the column metadata).

    As you can see even after changing the table defining the column as unused X I still can't drop by DROP UNUSED COLUMNS.

    Thank you.

    If you enable compression for all operations on a table, you can delete the columns in the table. If you enable compression for the only direct-path inserts, you can't remove columns.

  • Sort the list of open windows in descending order when windows are combined in the taskbar

    Sort the list of open windows in descending order when windows are combined in the taskbar

    I like to combine windows in order to access all my programs in the taskbar. I have tons of open Outlook messages that I need to respond to the last open order to open older. The problem is that the list of the oldest opened open again, and I have to constantly scroll to the bottom of this list to access the most recent message. Is there a way view the list by e-mail open newest to oldest?

    It would be a time saving of huge productivity for me, and I saw that many of my colleagues would benefit as well.

    Thanks in advance for your help.

    Sorry there is no function like that.

    You can consider using Outlook flags instead.  Arrival of emails, you will need to respond to, click the red flag on them.  They will appear in your Outlook ' to do' list so you can keep track of those you will have to answer to and check the power off when you are finished.

  • How to view the columns (and the sequence and sort order) an index?

    Suppose I have an INDEX for an existing TABLE.

    How can I know the columns covered by this INDEX (and the sequence and sort order)?

    Which table contains this information?

    ALL_INDEXES does not work.

    Peter

    user559463 wrote:
    Suppose I have an INDEX for an existing TABLE.

    How can I know the columns covered by this INDEX (and the sequence and sort order)?

    Which table contains this information?

    ALL_INDEXES does not work.

    Peter

    --

    Select the table table_name, column_name, index_name, and position_colonne
    of user_ind_columns
    order by table_name, index_name, position_colonne;

  • TreeTableView to sort on a column by default without clicking on the column header

    I use TreeTableView (FX, 8). I need to sort a column in default date in descending when the TreeTableView rendering order. How to do this. I defined the Group of comparison for the required column. When the root is set, I called the treetableview.sort () method. But it doesn't have the default sort. Can you provide me with the code to do the same.

    Thank you.

    I have not worked with TreeTableView a lot, but I think there is somewhat similar to a TableView for sorting.

    You must specify the columns by which the sort is performed; you could have done this, but you didn't mention it. Something like

    treeTable.getSortOrder().setAll(dateColumn);
    
  • Descending order to sort (Ascending vs.) Explorer

    I usually keep my directories sorted by file name.  If I have a directory sorted (in ascending order) and I copy to a new file and right click on the open space and choose ' sort by ', then 'name', it REVERSES the order of file!  The "Crescent" and "descendant" options are grayed out.  Note: She ALWAYS reverses the order.  If I first sort by name (for example it is now in ascending order) and then copy to a file and choose "Sorting nickname", in descending order.  Now, if I copy into another file and choose "Sorting nickname", is in the order of the CRESCENT.  Help!  It's embarrassing.  I suspect that a switch from adjustable to always sort in ascending order simple registry.  Or is there another problem?

    Instead of right clicking on an empty space, try clicking on the arrow next to the display of the toolbar button and select "Details", then click on the 'Name' column and there should be a small arrow above the column indicating the order in which it is in. If you do not get the idea and merges with what is ascendant and descendant, ascendant is sort of a to z and the descent is quite the opposite. Tell me if that does nothing :)

  • conditional order by in column sorting

    Hello

    I use ADF 12.1.2. I have a table that displays the status in a column that is sortable.  Instead of sorting in ascending or descending order, I want to sort according to a condition (case ie STATUS when 'Start' then 1 the expression 'ongoing' then 2 etc.).  Is it possible to set this using sortCriterion?

    For example: I want the column to sort according to the value of the State (that is to say in the order of started, in progress, completed, archived) and not asc or desc.

    What I've tried is currently

    I have a managed bean that I'm calling from the sortListener of the table.  In the managed bean, I can put the sortCriterion to another column, but how to set the condition of SQL database.

    Thank you

    A

    Hello

    Here's what I'd do:

    1. create a transitional attribute to translate sorting (better is to do it at the level of the entity and vo). You use an expression to evaluate the STATUS attribute and set the attribute value 1 if STATUS = 'start' etc.

    2. you then expose the transitional attribute in the binding of the tree to the table (Select link PageDef tree, pencil icon press, shuffle transitional attribute for a list)

    3. change the attribute on the af sortProperty: column to point to the transient attribute name so that sorting happens on your transient attribute (see http://docs.oracle.com/cd/E28280_01/apirefs.1111/e12419/tagdoc/af_column.html)

    You don't need SQL in this way you can access the STATUS attribute on the transitional attribute by using a Groovy expression (something along the lines of the STATUS == 'start'? 1: (STATUS == 'ongoing'? 2: 3)

    Frank

Maybe you are looking for

  • Unable to open the *.hlp files

    I have the machine running Windows XP Professional (SP3) and I'm not able to open any *.hlp file.

  • Error: NTLDR lack and computer application restart

    Original title: ntldr NTLDR is missing My computer says Click Control Alt Delete to restart I did it several times and nothing happens I always get the same Message Can you help me?

  • What is NTDVM CPU

    I try to update the drivers on XP & began to get the message below.  I tried to do a system restore, but it wouldn't let me do a restore from any point I've tried.  Can someone help me with this problem.  I ordered a new computer system, but I tried

  • Paint custom button problem

    Hi, I have a custom button that must be next to a labelfield. The paint of the button code is: protected void paint(Graphics graphics) { graphics.drawBitmap(13, 0, fieldWidth, fieldHeight, button, 0, 0,); } Where '13' is the space between labelfield

  • 2013 Exchange setup/PS will fail because Exchange 2010 SP3 missing on the edge transport server... but SP3 is installed!

    I downloaded the new installer Exchage 2013 CU1 which should allow Installation of 2013 Exchange in an existing Exchange 2010 organization. But already Setup/PS the prerequisite check fails. He know that both my havn't 2010 SP3 Exchange Edge Transpor