Question on Sorting Characteristic in Bex query (3.5)

I have a report that has a few key figures and 7 or 8 characteristics.  I would like to sort the whole report on one characterictic that lies in the 4th column from the most left of report without actually swapping it with the characteristic in the first column?  I have tried just right clicking on the characteristic and using the sort option (ascending/decending), and this does not sort that column at all.  It seems all columns by default are sorted by order starting at the most left hand side (first column - first characteristic).  If I display that characteristic in the first column, it works, but I do not want to lose my original layout.  I would like to achieve this without doing any swaps?  Anyone, have any ideas on this?

i dont know this issue is visible to u
when i tried i had 2 options for sorting for all characteristics in columns in query
they were
AS IN QUERY
CHARACTERISITC
so for all characteristics i have follwong sorting options
so y dont u try to select sort by chara in 4th columns
and keep rest of chars sorting option by AS IN QUERY.

Similar Messages

  • Constant Selection in BEx Query Designer on BI7

    Hi guys
    According to this blog <a href="/people/prakash.darji/blog/2006/09/19/the-hidden-secret-of-constant-selection Selection</a>, we can create constant selection on both Characteristics and Key figures. I understand how to do it with restricted key figures.
    Can anyone give me a step by step guide on how to create constant selection for a Characteristic in BEx Query Designer on BI7. I can't find options for 'constant selection'
    Or is this the same thing when you include or exclude values?
    Message was edited by:
            jimi ogun

    Thanks Krishna
    I am actually using a Multiprovider for my queries but business requirements mean I need to create joins.
    I am trying to avoid Infosets and I believe another way is to use the Constant Selection feature in Query Designer.
    Going back to my previous posting, I know how this is done with a restricted KF but I don't know how when it comes to characteristics.
    Can anyone help?

  • How to define variable for value range in Bex Query?

    Hi
    How to define variable for Keyfig. value range on runtime like characteristic in Bex Query?
    Example: On runtime user select one of the following condition:
    1)User want to those records where amount is greater than $1000
    2)User want to those records where amount is greater than $1000 and less than $5000
    3)User want to those records where amount is greater than and equal to $1000

    Hi ,
    Need to Use exceptions & conditions for this scenario's  & need to create variable for exceptions based on condtions.
    Below document provides steps how to make selections at run time for a kfg.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60b33a28-dca2-2d10-f3b2-d2096b460b1e?QuickLink=index&overridelayout=true&48842368468641
    Regards,
    Seshu.P

  • How to remove pound symbol # and preserve leading zeros in BEx Query

    Hi,
    I have two questions regarding the display in BEx Query.
    1. How can I remove the pound symbol # for blanks in BEx Query?
    2. How can I preserve leading zeros? At the moment, value "001" will be displayed as "1". But I need the leading zeros.
    Thanks.
    Joon

    Hi ,
    You can apply these settings in Bex query designer.
    If you need to remove pound symbol jsut make a new formula and use NODIM function you will find this function under data functions.
    So NODIM(Your price keyfigure) this will remove the Pound symbol.
    For # just find out against which  characterstic you are getting # then go to default values panel there you will find all your characterstic which you are using in report---Rt click -Restrict-single valuesdirect input-#-Move to selection(That forward arrow)--select that # and choose exclude from selection (That red square icon).
    And yes for leading zeros check out this thread
    Leading zeros not displaying
    Hope it helps you.
    Regards,
    AL
    Edited by: AL1112 on Jun 9, 2011 1:43 PM
    Edited by: AL1112 on Jun 9, 2011 1:47 PM

  • BW Bex query and Webi question

    Hi All.
    Just a quick question on Bex queries. We are selecting a Bex query as a source for universe. However on the webi side we only want to see a subset of the data.
    1) The question is Would this rerun the entire BEX query on the BW side ? Or is there a better way to design the universe ?
    2) Also are there any best practices on how to desing Webi reports from BW BEX queries and also Infocubes etc ?
    Thanks in advance.

    Hi puneet,
    The WebI builds a query on the BEx results. The query is related only to those items used in the WebI report. However, the BEx query must have the results in it, as the WebI does not execute it. I am not aware of a best practices document.
    Regards
    Alan

  • Sorting in BEx query

    Hi,
    While generating a BEx report, we applied sorting to the column.
    When I run query in BEx analyzer the sequence of the columns is fine, but when I run the same query through the portal, the sorting applied to the query is not working.
    Do you have any idea why such a thing happens?
    Thanks

    Hi,
    The note (1256102) I sent you in my last response is valid for the java runtime. Have you already checked whether this note solves this issue? Please also let us know which Support Package you are on and which patchlevel you are using for the bi java components BI-BASE-S and BIWEBAPP.
    Best regards,
    Janine

  • BEX Query Web-Convert Key Fig to Characteristic-Right justify characteristi

    Hi,
    I have converted a Key Figure into a characteristic. Let's call the new characteristic Z_NUMCHAR.
    When Z_NUMCHAR is displayed in the BEX Query (HTML), it is left justified.
    I have concatenated additional SPACES to the front of Z_NUMCHAR. However when Z_NUMCHAR is displayed, the spaces are removed.
    I have also tried concatenating a letter to the front of Z_NUMCHAR and then a string of spaces, but the spaces are removed. 
    Does anyone have any suggestions on how to right justify a characteristic?
    My worst case solution is to add leading underscores.  _____5482.214
    But would rather see it look like a Key Figure.                           5482.214
    Thanks

    Hi Sebastian,
    I have a similar problem. Can you help me? How did you set the entry in Member Presentation of Command SET_PRESENTATION to display key and text? I just found the values to set the only text or only key.
    best regards,
    Barbara

  • MDX for a BEx query with a characteristic structure

    Hi,
    I have a BEx query with a characteristic structure in the rows.
    Material     Structure     Measure1
    a-Material     a-Structure     ....
    a-Material     b-Structure     ....
    b-Material     a-Structure     ....
    b-Material     b-Structure     ....
    I am looking to run the query via MDX. Is that possible? If yes, how should be the mdx statement.
    Thank you in advance for your help.
    Regards,
    McGreen

    Hi,
    it will work, so long as you also include the Structure object in the WebI Query panel as a results objects.
    the SELECT syntax is much the same as a 'normal' MDX statement.
    the quickest way to tell them appart is how the Measures are called. normally, it starts:   SELECT [MEASURE.ABC123] NONEMPTY(CROSSJOIN( ...   ) )
    however, when you have a Structure, all the declarations from the start of the statement looks like : SELECT [ABC123.ABC123] NONEMPTY(CROSSJOIN( ...   ) )
    i hope this helps.
    Regards,
    H

  • BEx query needs to count unique characteristic values

    Is there any way to build a query using BEx query designer to count the number of unique values of a characteristic.  For instance, my cube has detailed transactions for claim information.  Each claim number can have multiple products.  My query need to show the number of claims that exist for each product.  I don't want the detail of the claim number, just how many claims exist.
    Product          Gross Paid Loss        Claim Count
    Total Auto                $ 43,865.01              ?
    Total Property  $ 4,068,321.57              ?
    Not assigned                19,426

    Hi,
    Creat calculated  keyfigure with data functions Count value and save with technical name.
    Right click on that go to propertes, select count with exception aggregation - Claim Number,
    also use after aggregation and decimal places '0'.
    Regards
    Malyadri

  • BEx query characteristic description change

    Hi all,
    We have some BEx queries that we have changed one of the characteristic description - title only (by dragging the characteristic to the rows, right click, attributes, description).
    Lately when we try to refresh the queries the description that shows up is the original one.
    Only after saving the query and then execute we can see our own defined description.
    Does anyone have an idea to solve this issue for all the queries together?
    Thanks in advance.

    Thank you A J for your reply.
    I want to specify my problem:
    We have about 100 BEx queries that were designed by the same person (a top user) at the passed year and are viewed through our SAP Portal by many people every day. When the queries were designed some of the Characteristic's descriptions were change (For example: The characteristic 0MAINTROOM description was changed from ROOM to SITE in some of the queries).
    At the passed few days, we have noticed that the description at the portal is the original one (ROOM). We opened the BEx query and we saw that the 0MAINTROOM has the description of SITE . but... After that – if we execute the query (by clicking only "Quit and use Query"), the query result is with the description ROOM. Only by saving again the query and then execute - we will see SITE at the result.
    We also tried to generate all the queries by using RSRT --> Environment --> Generate Queries but with no success to solve this issue.
    Thanks again.

  • Universe on BEX query - Measures Question !!

    Hello All,
    I am building a Universe on BEx Query.
    We have the following environment:
    SAP BOE XI 3.1 SP2 FIX Pack 2.5
    Integration KIT SP2 FIX PACK 2.5
    SAP BW 701 Level 6
    I see that in the BEX query the KF have technical names as "ZZRKF_Amount".
    But, when this query is brought into Universe, I see the tech names as
    [[4J922TWKO24NHTROOEY3WXK72]].[[4J922URARWJHKBXHBR7H15F26]]
    I would like to see this as [[MEASURE]].[[ZZRKF_Amount]].
    Does anyone know how to do it?
    Your help & time is appreciated.
    Thanks

    Hi,
    In the Universe Designer, select Tools ->options. In the OLAP tab, there is option to select as generate technical names as details.
    I guess this may help you.
    If still facing the same issue, then follow the user guide from the below link:
    http://help.sap.com/
    -Noor.

  • Sorting Promts in Webi from BEx Query

    Hi Everybody,
    is it possible to control the order of the prompts which are coming out of variables in a SAP BEx Query?
    I know this is possible when using other sources than SAP BI.
    Regards

    Prefix the prompt text with numbers in an ascending order of your prompt preference.
    1.Enter Counrty name
    2.Enter Region name
    3.Enter city name

  • BEx QUERY - pre filter characteristic values (material group)

    hi gurus
    i have a bex query where the user is asked to enter a material group value, this query is for planning some kind of material groups, so i need to show in the match code for material group (variable screen) just the material groups related to this query.
    For example, material group 0matl_group in rsdmd looks like this:
    M1
    M2
    M3
    M4
    M5
    M6
    M100
    I just wanna show in variable screen the first five material groups so the user can select one of them, i dont wanna show all the 100 material groups
    regards
    joker

    Hi ,
    I am not sure but You can try writing a customer exit code .
    create a interval variable of type customer exit .
    In the customer exit code write the code :
    In I_step = 1
    read the material group master data table in your case or the source from which you get the material group .
    write a code to read the first five records .
    In the low value read the first record.
    and in high value read the fifth record .
    your user should get only the first five materials to input in this case .

  • Exporting BEx Query results to CSV or other files.

    Hi All,
    We have a report designed in WAD, which uses a BEx query to display department’s information. Because of amount of data in the results it crashes when u get all the Free Characters into ROWS(Error is : Result set too large(552244 cells); data retrieval restricted by configuration (maximum =500000 cells).  It is a requirement from the user to have all the free characteristics in the rows( which I can understand is not the right way to go ahead). As it is crashing when you add last characteristic(WBS Purpose)  into the rows, they aren’t able to export data into spread sheet from the results. (as there are no results)
    Now my question is…..is there any way we can export the results from BEX query into any format for example text or csv? If yes, can we schedule that process? Please note that this characteristics are displayed as hierarchies.
    Am new to SAP BW and its been only six months since I have been in this role. Any help would be much appreciated???
    I looked online and some where in the forum it was mentioned of using program RSCRM_BAPI, but looks like it needs some sort of downloads from SAP.
    Is there any other way to export the BEx query results?
    Cheers
    Sandeep

    Hello Sandeep,
    You can use the Item "Context Menu" in your WAD and in the properties by default you can see the Options:
    Export to Excel & Export to CSV will be there and also there are many options which you wanted to see.
    It works for you!!!
    With Regards,
    PJ.

  • Sorting problem in BEx/Portal

    Hi all,
    I am facing a problem while sorting an Infoobject in BEx or in portal.
    For e.g I am having a PO Status Report  in which I have PO, Trasaction description and calday.Now when I am executing that report in BEx and on right clicking -> Sort PO with Ascending/desceding by key/ Text it is working fine but while sorting the other characteristics like Trasaction description or calday the sort functionality is not working.
    Please let me know why this is happening.
    Thank you.

    I have also tried with changing the sort characteristic setting in the display properties of query designer but no outcome.
    Is it something like sort functionality will work with only master data or key fields or transactional data.
    Please let me know if this is the case with sort functionality.
    Because for my queries the sort function is only working for key fields which is defined at the Infoprovider level.
    Thank you.

Maybe you are looking for