Sorted by Key Figure

Hi People,
I´ve got a query and i need to show the records sorted by a key Figure, for exemplo:
Caracterist     -           Key-Figure
100                -              1
100                -              2
100                -              3
100                -              4
200                -               2
200                -               3
200                -               4
200                -               5
Does anybody knows how to do that ?
Thanks,
Norris.
Edited by: Norris Silva on Jul 26, 2008 5:36 PM
Edited by: Norris Silva on Jul 26, 2008 5:38 PM

Try applying a Top N condition on the key figure and use a large value of N. Update back if it works.

Similar Messages

  • Sort By Key Figure?

    I am using BEx Query Designer to build a query and I have two key figures. I would like to sort the results by one the ascending values of one of my key figures. The output seems to sort it by the characteristics by default. Is there a way to have the query sorted by key figure values instead?

    The default sort option by characteristic only. I don't  think there is an option to sort by key figure.
    However, you can use conditions to display Top N, Botton N, Top %, Bottom % records. For instance you want to show top 10 customer by Sales Amount key figure, crate a condition on sales amount key figure and select the operator TOP N and give the value 10. It will show top 10 customers by sales amount in descending order. I hope this helps.
    Edited by: sapwings on Feb 24, 2011 4:53 PM

  • Sorting a Key Figure by default in a query

    Hi,
    I'm trying to set up a query with a key figure that is sorted in descending order by default everytime.  I tried creating the following condition:
    Key Figure - Sales Volume
    Operator - Top %
    Values - 100
    This sorts the key figure in descending order to a point.  When I add a characteristic to the report (for example, sold to), the sorting is no longer active.  I would like this key figure to remain sorted in descending order regardless of the any manipulation to the report.  But, I'd still like the user to have the ability to change the sorting if they want to sort by another key figure (ascending or descending)
    I'm using the BI 7.0 Query Designer.
    Thanks!!

    Check this:
    Sort Key Figures and Maximum query result
    Organising key figures in BEx Query Designer
    ordering display in a KF
    Hope it helps..

  • Can not Sorting by Key Figure with Analyzer and Excel 2007

    Hello experts,
    We have recently changed to Office 2007, and the funcionality of Sorting by a Key Figure with BEx Analyzer is desactivated.
    We have applied the patch 10 for BEx  BI 7.10.
    Has anybody had the same problem?
    Thanks in advanced.

    Hi Patricia,
    Have you got two structures in your query?
    Please take a look at the following notes:
    1378796 - Disabled Sorting when there is one struct. in the drilldown
    1332267 - BExAnalyzer: changes in cell properties dialog / sorting
    these should explain why the sort feature is no longer available in certain scenarios.
    many thanks
    Orla.

  • Sorting by Key figure

    Hi Guys
    How can I sort the query by a key figure or calculated key figure when I run the query, I know I can do it by rigth click on the key figure after the query is executed but I want the query to be sorted by the key figure as soon is executed.
    Thanks
    Edited by: Antonio Rodriguez on Jul 2, 2008 11:20 PM

    Antonio,
    Define a new condition and select your key figure and define TOP N where N is very high number let say 10000 for sorting them in ascending order and Bottom N for sorting in descending order.
    do revert back if ur prob is solved.

  • Sort the Key Figure and put a count on it

    Hi Experts,
    I have a  situation where I have to sort the value of the Key Figures in ascending order and put a count on them.
    Kindly elaborate me a little on this.
    Thanks in advance,
    Kannan

    Hi Kannan,
        If you want to do this setting at the Query Designer level, then select the Properties section for the
    desired Key figure say K1.then select the "Calculations " tab.  Under the Local calculations for "Calculate Results as" select "Counter for all detailed values".Save the query.
    Open the query (say) at Bex Analyzer. From  the context menu for the key figure K1, select "Properties"-->then under Sorting tab select the required order.
    The options mentioned above, i.e  "calculations" and "Sort" is available on web too in the context menu for the key figure.
    The above mentioned setting wil be a display setting>You can modify it as per your requirement at Query Designer.
    NOTE:
    If your requirement is such that K1, should always display the counter , then while creation of the K1 itself , you can select the Exception Aggregation of Type "Counter(all values)". Then, the setting will be permanent.(design time)
    Hope the information helps!
    Best Regards,
    Akshata
    Edited by: Akshata Shenoy on Jun 2, 2009 12:25 PM
    Edited by: Akshata Shenoy on Jun 2, 2009 12:27 PM

  • How to Sort one key figure values in two column based on single char

    hi gurus,
    I would really appreciate if some one can help me out with my question.
    I have to design a query based on a Multiprovider built on three ODS, Purchasing, Confirmations & Invoic ODS
    Purchase order Value and Number data in PO ODS, and confirmations is in CONFODS, Invoice Values in INV ODS,
    The design of the requirement is
    Vendor --> PO --> Material PO Value --> Text PO Value  --> Confirmation value --> Invoice value
    There are Two POS 1. Material PO & 2. Text PO
    I need to display all the Purchase orders for a vendor and in different columns i need to display the value of the Material PO and Text PO and their Confirmation Value and how much is the invoiced value for every PO.
    Can anybody tell me what should i do in the Query Designer to display the necessary values.
    Thank you

    Hi william,
    When i put in the PO KF in the column and also the Confirmation KF in other Column it either shows me # for both the entries or it shows me values in only one of the column
    if PO is displayed the Confirmation is not displayed and if Confirmation is displayed PO values are shown as # i dont know what wrong i am doing.
    if you have idea can you tell me what i should do when i want two different values from two ODS if there are no characteristics that are matching in either of the ODS should i go for Multi Provider and if so how should be my designing. i would really appreciate if you can tell me taking a scenerio.
    Thanks

  • Navigational Block - Key Figure Order

    I have a structure that appears within the navigational block. To meet the needs of the user we created a key figure for Shipments, etc for each month. When the user click on the filter to pick what they want, the month of Feb displays at the end of the list. Also the query displays the results with the  month of February at the end. Is there something in web template or query to sort the keys figures properly? Thanks, Steve

    I guess this is why I am confused. All the months/key figures are correctly ordered in the query. It is a time the query is executed and the user goes into the structure through the navigation block that the order is incorrect. I also thought the order in the query should dictate the order the user sees and the query display.

  • Key Figure Sorting in Workbook

    Hi Experts,
    I am creating a workbook where the key figures are supposed to be sorted in descending order. I tried using a Condition the displays the Top 100% of the results (because I want to display all, I just want to sort). The condition is working fine during the first run. However, when I save the workbook and re-open it again, the sort does not work anymore. Please advise. Any help is greatly appreciated.
    Thanks,
    Juice

    Hi Juice,
    Why dont you use the key figure sorting property present in the the Bex Analyzer.?
    Steps:
    1.  In analysis mode, select a key figure cell in the analysis grid and access the context menu. This can be done in 2 ways..
    ○       Choose the cell with your right mouse button (secondary mouse button).
    ○       From the menu, choose BEx Analyzer --> Context Menu for Selected Cell
    2. Choose Properties.
    The properties dialog box for the selected key figure appears.
    On the Sorting tab, you can configure the different sort options for the selected key figure.
    Hope this helps you!
    -Pradnya
    Edited by: Pradnya Rane on Mar 24, 2009 5:20 AM

  • Sort Key Figure in a Query

    I have a situation where I have to use a query (not possible to use a view - long story, but limitations on views make it so)
    I have a simple query that has products on rows, and Month and Sales Value on the columns.
    I want to sort the Sales value descending.
    ie
    product   Sales Value/8.2005
    prod1      500
    prod2      400
    prod3      300
    How do I tell the query to sort on the Key figure value descending as shown above???
    I have managed to achieve this by putting a condition on that returns the top 100% of the query, however there must be a better way??? (although I am slowly losing confidence in SAP's thinking (or lack thereof))
    Thanks in advance for any assistance.
    Regards
    Richard

    Hi JKyle,
    Thanks for your response.
    I am aware that you could sort by using the Properties on the context menu of the key figure, but this is no good for a default view without hacking the URL, which becomes quite tedious. (My users are not capable of entering even the simplest of variables, let alone using a context menu to sort every time they run a report.
    You can also bookmark once it has been sorted, however have had problems with bookmarks disappearing in the past, and so I don't really consider this to be a solution either.
    I guess I thought that this was such a fundamental requirement that it would be included, and that I was missing some setting somewhere when developing the query.
    Thanks again for your response.

  • Is it possible to sort by two Key Figures?

    Hello experts,
    This is our situation: On a Key figure we have created a condition to display the BOTTOM N by value and by giving it some value which will be never met by within this key figure we’d like to sort a second one to display the TOP N, something like this:
    KF1   KF2
    1      20
    1      10
    1     5
    2      15
    2       5
    3      40
    3      20
    3      10
    Has anyone ever come across a similar situation?
    Many thanks in advance,
    Inma

    Thanks Thomas
    Unfortunately, this solution did not work for me, cover flow still shows multiple instances of the same artwork for various groups of tracks from the same album.
    The thing I don't understand is why sorting by the "sort album artist" field does not group all the tracks from an album together.
    My specific example (I still can't get a screenshot posted):
    I have two Gwen Stefani albums, both ripped from CD (not imported from the itunes store). both albums have a majority of track where Gwen is the only artist and two or three track with featured artists. I have filled the "album artist" and "sort album artist" tags to all read Gwen Stefani, however, if I sort by either of these columns (in cover flow mode), what I get is this:
    all the tracks from one ablum where Gwen Stefani is the artist
    then all the tracks from the other album where Gwen Stefani is the artist
    then (in alphabetical order by featured artist) the remaining tracks from both albums - ie, the albums are mixed up
    for each group of track I see an cover flow art work.
    I should say that I have turned off the compilation tag on all of my albums because this ends up saving the file in a compilation folder, not in the artist folder on my hard drive - but it doesn't make a difference either way to the way I see the files sorted in itunes.
    It's really frustrating!

  • Sort descending by a key figure?

    Hello,
    This question relates to our Top 10 Vendors query. The default version of the report sorts in ascending order for total invoice value. I can change this from the right click context menu to be in descending order, but I can not figure out how to make this the default setting. The properties in the query do not have an option to sort by this key figure in an ascending or descending fashion. Can anyone tell me how to sort by a key figure?
    Thanks very much,
    Bob

    You can make a descending sorting for your key figure using the condition TopPercent (Top%) and take the value 100. To sort ascending, use the BottomPercent (Bottom%) condition on your key figure.
    Then 100 % of the values of your key figure will be shown in a descending sorting by default in your query (without using a view).
    I used the feature in the newest BEx Query Designer (7.x) and it works fine, I don't know if it's available in the older version (3.x).
    Please assign points.
    Kind regards,
    Ben De Windt
    Belgium

  • How to make data sorted by default by key figure?

    hi experts,
    how to make data sorted by default by key figure?

    Hi ,
    Try to make the selections for the filter of the query..
    Check this link ..
    http://help.sap.com/saphelp_nw70/helpdata/en/f1/0a5625e09411d2acb90000e829fbfe/frameset.htm
    Regards,
    Shikha

  • Sort data by key figure in Query Designer

    Hi Gurus,
    Is it possible to sort a query according to a key figure from Query designer?
    Thanks

    Using condition TOP N is the solution

  • How to sort key figures

    Hi Gurus,
    Thanks in Advance...........
    How to sort key figures & Way to find out customers with 0 sales.
    Thanks,
    Venkat.

    Hi Rakesh,
    Thanks for your info, i assigned point to you.
    any idea on Way to find out customers with 0 sales....
    Thanks,
    Venkat.

Maybe you are looking for

  • Problems with local DNS after 10.6.8

    Have a Snow Leopard server that's been running quite well. After (I think) the 10.6.8 update, I've encountered a really weird error regarding dns - the internal DNS doesn't recognize the top level DNS domain (companyname.net), so internally we can't

  • Query registry with powershell for certain value

    Hi, Ever since Windows 7 we are having trouble with USB-printers. For some reason they get disabled ever so often. The only solution we have then, (that works) is to fully remove and re-install the device. However, we give our printer a specific name

  • Can i block my Iphone when get Stolen?

    Any one know how to Block that Iphone when get Stolen? Need help...

  • FADING OUT AN AUDIO FILE

    Hi there, it's my first time on this discussions site and I'm just wondering if out there anyone can help me out, because i'm losing my mental sanity... I am trying to do something I thought would be quite simple...to fade out an audio file imported

  • Autotext function in Word - is there a Pages equivalent?

    I use the autotext function in Word a lot to save keystrokes, but cannot find an equivalent in Pages. No-one else has raised this so I may be missing something really easy.