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..

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 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.

  • Key Figure in a Input Ready Query

    I have 9 key figures in my input ready query. 5 of them are not input ready and being loaded through a job and 4 are input ready. There is a problem with one key figure, I am able to see data for the key figure when i have START QUERY IN THE CHANGE MODE turned off. But once I turn it on it is not showing any data for the key figure. This is happening only wiht that key figure, all the other key figures are working fine. Could someone help fixing this
    Thanks
    Rashmi.

    Hi,
    I do face this type problem during my BI IP implemenation project. Pls chk thoroughly the following points.
    1.The planning mode of your real-time infocube should be on always on( you need change from load to planning mode, while inputting data).
    2.The START QUERY IN THE CHANGE MODE , should be on.
    3.In the planning tab of key figures, ensure you enable the button : Data can be changed using planning functions.
    4.In the advanced tab of key figures, pls make sure to enable the right button( Master data).
    5.Pls make sure  , the real time infocube, aggregation levels, filters etc, should be refreshed & active,if make any changes in planning model in between, in Aggregation levels,filters etc.
    6. Pls chk the locks( SM12) always, and delete all of them, if any.
    7. Log-off the  Server (BEX/DWWB) and restart the BEX ,then open your Input query, it should work .
    Regards
    CSM Reddy

  • Do i have to select all the key figures when i design a query off of a cube

    Do i have to select all the key figures when i design a query off of a cube? i have three keyfigures on the top of the three keyfigures it says calculated keyfigure. kind of lost dont know what to do. please let me know.
    Thanks!
    York

    No, you have to select at least one.
    Calculated keyfigure (CKF) means it's a formula of two or more other keyfigures. You can select, right-mouse click, display properties and you see how it is composed.
    Under calculated keyfigures you see all available keyfigures of the infoprovider you build the query on. Just move them by drag-and drop from the left to the right into the columns.
    You can have also restricted keyfigures (RKF). This means a keyfigure is restricted by one or more characterstics and their values.
    Hope you got an idea.
    Regards,
    Juergen

  • 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.

  • 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.

  • 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

  • Calculated Key Figures Corrupted in a BEX Query

    Hello SDN's,
    We are facing an weird issue in BEX Query. As part of Enhancing the query, We have created a new CKF and added in the Columns for the required CKF. It prompted for a Transport request and saved the Query elements for more than hour. Now the Query is throwing an Error messages where in more than some 30 CKF's got corrupted. When i check the CKF definition for all the corrupted key figures there is not Formula or Calculation.
    Below is the message which we can see in the BEX query for Corrupted Calculate Key Figure.
    Diagnosis
    Element ' XXX ' cannot be analyzed by the analytic engine without a definition.
    System Response
    Without a valid definition, the element will be ignored by the analytic engine.
    Procedure
    Provide a valid definition for element 'XXX'.
    Could anyone please help me to retrieve query back to normal ???. Your are inputs are appreciated
    Thanks,
    HA

    yo could try rsrt in bw and try to regenrate the query thats all i got. .otherwise always make a copy before you start working on a query. if it still is coruupted then you will have to recrate it. if the query is in your bwq maybe the basis can do a transport( not recomended)back. good luck..

  • Key Figure Attribute not displaying in Query Designer

    Hello Experts,
    I have an InfoObject which has Key Figures as attributes.  When creating a query I <b>once</b> was able to see these Key Figure attributes in the Query Designer.  Howerver, recently I am not able to see them anymore in our DEV environment. 
    In our QA and PROD environment I am to see these Key Figures attribues in Query Designer.  Is there a setting that I am overlooking?  We are currently on BW 3.5 with SP 19.
    Please help!
    Thanks in advance,
    BQ

    Hi Jaya,
    Thanks for the quick response.  But how to I check the authorization for 1KYFNM and what am I looking for?
    Thanks,
    BQ

  • Dynamic Texts from Bex ( for Key Figures ) not coming to WEBI Query

    Hi Gurus,
    We have a Query in BEx : Each  Key figure column text changes dynamically - Like based on Present month
    it will Display Month +1 Month +2  up to Month +12.  Used  dynamic Text variables .
    But when i created the universe and Webi report , i am missing the text in the column for Key figures .
    How should i get the column text in Webi which is same as in Bex : Points will be awarded for helpful
    answers.
    Thanks
    Magge

    Hi,
    text variables with replacement path are supported in BO4.0, see following document: SAP BusinessObjects BI4 - Supported BEx Query Elements
    As an example after entering 2012 in the prompts window, the name of the corresponding key figure will dynamically change:
    After refreshing and selecting 2013, the column name will update:
    Im not sure though if this is the case with unv universe access to BEx queries.
    Best regards,
    Victor

  • Creating Formula Key Figure in BEx 3.5 Query

    Hello,
      I'm trying to create a formula key figures that gives me the Absolute Value of the Difference of two quantities.  The calculation needs to happen at each plant/material level.  It works great as long as you drill down by plant/material.  The users, however, would like to see the results only by plant.
    Is this possible in the query?
    Any Help Would Be Greatly Appreciated!
    Thanks!
    Tina

    Hello,
    Please try the following steps:
    In the query go to Hierarchieparameter and select expand till level and select secound level and check the results.
    Thanks.
    With regards,
    Anand Kumar

  • Dynamic choose which key figure to be showed on query

    Hi, everybody.
    I'm trying to build a query where, based on the user selection (maybe a variable input) the key figure A or B is showed. The key figure, due design requirements, is restricted in several lines inside a structure on query.
    For example, the structure seems like this:
    +Sold Quantity (restricted key figure: 0QUANTITY)
    +Revenue (restricted key figure: 0AMOUNT + DOC_TYPE = 'XYZ')
    +Returns (restricted key figure: 0AMOUNT + DOC_TYPE = 'ABC')
    What I want is, depending on a user input, change the key figure restricted in 2nd and 3rd rows to oher, for example, ZAMOUNT.
    Any tips or any idea if it is possible?
    Thanks,
    Henrique Teodoro

    You can do it by using the basic formula <user input> * 0amount + <user input inverse> * zamount.
    you can create that formula in calculated key figures.
    here the user should be able to enter <user input> only 0 or 1...where 0 will give zamount values ....input value 1 will allow 0amount value to be shown..suppressing the other keyfigure.
    Let me know if its clear ... else i can explain in further detail.
    Award points if useful.
    Thanks
    Sharan

  • Key figure attribute not displaying in query

    Hello experts.
    I have a key figure attribute called Credit Limit.  It is an attribute of Customer.  The key figure is type CURR with 2 decimal places. 
    When I maintain master data for Customer, I can see the value fine e.g. 2,000.00
    When I run a BEx Query the very same value displays as 0,00.
    Does anyone have any idea why this could be?
    For info we run BW 3.5.
    Thank you.

    Hi,
    1.please ensure that your master data is activated (right click the IObj, Activate Master Data)
    2. how do you display this attribute? as attribute of the customer? as Nav? as a formula variable ?
    let us know
    Olivier.

  • Dynamically select Key Figures before executing web-based query

    Hi,
    I want to select(through checkbox) the Key Figures to be presented in a query before executing the query. The query is web-based.
    Has anybody an idea how to achieve this?
    Kind regards,
    Ton van Velzen

    You will need 2 templates.
    First one use the Checkbox item to list all the keyfigure structure elements, read the user selections using JavaScript, form the URL with the Filters for the key Figures and call the second template which will display the data.
    See the attached for passing filter values to BW Web templates.
    http://help.sap.com/saphelp_nw04/helpdata/en/59/edfe395dd76846e10000000a114084/content.htm

Maybe you are looking for

  • Windows vista error 1910

    im running windows vista(i know P.O.S.) but i cannot get itunes to stay running it is a new problem i just incountered, it says windows detected a problem checking for solution, finds nothing and kicks out of itunes,  im getting a error 1910 short cu

  • Adobe Bridge Freezes While Previewing Animation Presets

    Hello I know this question has been asked several times over, but I do not have a resolution so I thought would ask again.  Like the previous posts, when I browse presets from the Effects and Animations menu, Adobe Bridge opens.  I can scroll through

  • Nokia 5230 T-Mobile

    I am so frustrated with this phone, I can't get to my text messaging menu.  I click on the menu icon and it takes me to my inbox with no other options.  How do I get from there to the text messaging menu.  I try clicking the options button and it doe

  • Selection of usage decision based on % of rejection done thorugh Insp Lot

    My business scenario is as follows:- I have created new usage decision codes as mentioned below through QS41and assigned the same to code group RI-UD and catalog 03.  I3     INITIAL REJECTION >75% to <=100 % (1)  I4     INITIAL REJECTION >50% to <=75

  • Need some assist - Load button for file retrieval

    Hi All I am trying to retrieval a simple text file to memory but some how I can only load the first item to memory. I am a beginner, hope some one can guide me Thanks       * This method initializes jButton3       * @return javax.swing.JButton      p