Sorting graph values

Hello All,
I have a Bar Vertical Stacked graph where i have placed 2 dimensions and one measure. This is WEBI Xir2.
The dimension i have placed at the top right end of the graph shows values which i need to sort. But unfortunately
after spending lot of time i was not able to do it. Can anybody help please?. The values are something like this -
Europe, US, Asia etc. I have sort this alphabetically
Also, in the same graph i have values on x axis which i need to sort. Can anybody help please. Appreciate it very much
Thanks

Anand,
I am looking at a stacked bar chart I've made right now. I have custom sort so that the legend appears in the order I want. The order of the blocks on each bar goes in the opposite order.
In your case if the legend reads from top to bottom, Asia, Europe, USA, then the bar chart would be stacked with Asia on the bottom, Europe, and then USA as the top block on the bar.
From what I can tell, there is no way to customize the order of the bar chart blocks independent of the legend order. After all, they are using the same sorted variable.
In short, you should put Asia at the top of your sort order so that it appears as the bottom block of the bar.

Similar Messages

  • Sort variable values in selection box in BEx web report.

    Hello friends,
    In my BEx web report I have cal/month selection. When I do dropdown to select values it starts with 01/1960 and I have to click 10 times to get to 01/2006, 02/2006 and so forth.
    Is there a way to sort these values so I can get most current cal/month in first list?
    Thanks in advance.
    Regards,
    BJ

    I would consider changing the read mode for the dropdown box.  Are all of those dates actually relevant?  Check out the properties of the dropdown box in WAD. 
    Thanks,
    Jeff

  • Sort the values in Bex query variable screen

    Dear Experts,
    Is it possible to sort the values of a dropdown list for variables on BEX variable selection screen ? 
    For example, For calender month selection, the values are by default sorted by ascending order.
    Is it possible to sort by descending order ? 
    Regards,
    ravindra

    Hi Ravindra,
    yeah it is possible by writing an abap code for the field calmonth/week...etc this is depends on the F4 help of the selection field. so you need to write a code for F4 help for making it in descending order. hope it helps.
    Thanks,
    Vachan

  • Sort F4 values in BEX variable screen

    Hi ,
    Does anyone know how to sort F4 value help in BEX variable selection screen. This query has come up time and again in SDn and there seems to be no proper reply to this. If anyone has worked on this do let me know.
    Thanks,
    Vaishnavi

    Hi Nara,
    Kindly have a look at below thread,
    Sort the values in Bex query variable screen
    Hope this helps.
    Regards,
    Mani

  • Is it possible to sort dimension values in order different from alphabetic?

    Is it possible to sort dimension values in order different from alphabetic. То use this sorting in BI Beans. In 10g r2 with awm 10.2.0.2. I try to add attribute like it was show in this forum, but nothing changes.

    Could be usefull if you use java AW api... here's the java code I'm using to create the sort_order attribute
    Dimension myDim = yourAW.findDimension("DIMNAME");
    Attribute myAttr = myDim.createAttribute();
    myAttr.setName("freename");
    myAttr.setClassification("DEFAULT_ORDER");
    myAttr.setIsDefaultOrder(true); // TO NOT FORGET
    myAttr.setDataType("INTEGER");
    myAttr.Create(AWConnection);
    globalAW.Commit(AWConnection);
    It creates a variable - integer - that defines the default order of the dim values. I'm viewing it with AWM and BIBeans. The order is respected with Level-based and Value-based hierarchy but my hierarchies are really simple and unique for all the dimensions.
    BUT !!!! Be carefull, if you don't have any hierarchy in your dimension, you must have at least one level - the default NONE level. Otherwise, it won't work ???

  • Sorting the values in Map

    Hi,
    In my application, i want to use Mapping in the case
    Key -Value
    A - 2
    B - 3
    C - 7
    D - 5
    For that I used HashMap. But I want to sort the values and place in map as from Highest order. For that in google it is suggested to refer SortedMap. But this SortedMap is sorting the Key content only not Value content.
    For sorting the Value's what I have to do under Collection?
    Any idea?

    DHURAI wrote:
    I will explain my concept in detail.
    I am having a String array; a[]={qw,q,as,l,kj,q,q,l}
    From this i am mapping
    key value
    qw 1
    q 3
    as 1
    l 2
    kj 1
    using HashMap.
    From this I want to fetch q whose value is greater. How can I do this?
    Hope this explains better.You still haven't said how often you want to do that. What I explained will work, but it might not be what you want if you often change values.

  • Graph values on the Vertical Bar

    Hi,
    Is there any possiblity of the of the graph values to be there on the Vertical bar graphs.
    Generally the vertical bar graph values will display on top of the vertical bar graph.
    Thanks in Advance.
    Siva

    Here is a link that will walk you through setting up each of your Device Profile pages for your iPod:
    http://ipod.about.com/od/tes1/ss/ipod-touch-setu.htm
    Cheers,
    GB

  • Error: Find criteria must contain at least one sort field value.

    Hi
    I am getting the followng error in Sort.as when I click on a column in a DataGrid that is bound to a nested property (e.g. parent.name)
    Error: Find criteria must contain at least one sort field value.
    I can see why this is failing.
    In the findItem function of Sort.as the code tests whether there is data in line (456) hasFieldName = values[fieldName] !== undefined. This fails and so an error is raised later in the function by:
         if (fieldsForCompare.length == 0)     {
         message = resourceManager.getString("collections", "findRestriction"); 
              throw new SortError(message);     }
     The code needs to traverse down the object hierarchy to get the field so that error is not thrown .
    The code needs to traverse down the object hierarchy to get the field so that error is not thrown .
    In the case of a non nested property, everything works fine.
    There is lots of discussion about nested properties in DataGrid and there is this jira:
    http://bugs.adobe.com/jira/browse/SDK-9801
    There is talk of using a labelFunction or an itemRenderer and other third party solutions (extensions of DataGridColumn).
    Is this a bug?  is there a workaround using labelFunction or itemRenderer which can stop the error in Sort.as?
    James
    Here is the code of findItem in Sort.as of SDK 3..4.0.9271
    public  
    function findItem(items:Array,values:Object,
    mode:String,
    returnInsertionIndex:Boolean =
    false,compareFunction:Function =
    null):int{
    var compareForFind:Function; 
    var fieldsForCompare:Array; 
    var message:String; 
    if (!items){
    message = resourceManager.getString(
    "collections", "noItems"); 
    throw new SortError(message);}
    else if (items.length == 0){
    return returnInsertionIndex ? 1 : -1;}
    if (compareFunction == null){
    compareForFind =
    this.compareFunction; 
    // configure the search criteria
    if (values && fieldList.length > 0){
    fieldsForCompare = [];
    //build up the fields we can compare, if we skip a field in the
    //middle throw an error. it is ok to not have all the fields
    //though
    var fieldName:String; 
    var hadPreviousFieldName:Boolean = true; 
    for (var i:int = 0; i < fieldList.length; i++){
    fieldName = fieldList[i];
    if (fieldName){
    var hasFieldName:Boolean; 
    try
    hasFieldName = values[fieldName] !==
    undefined;}
    catch(e:Error){
    hasFieldName =
    false;}
    if (hasFieldName){
    if (!hadPreviousFieldName){
    message = resourceManager.getString(
    "collections", "findCondition", [ fieldName ]); 
    throw new SortError(message);}
    else
    fieldsForCompare.push(fieldName);
    else
    hadPreviousFieldName =
    false;}
    else
    //this is ok because sometimes a sortfield might
    //have a custom comparator
    fieldsForCompare.push(
    null);}
    if (fieldsForCompare.length == 0){
    message = resourceManager.getString(
    "collections", "findRestriction"); 
    throw new SortError(message);}
    else
    try
    initSortFields(items[0]);
    catch(initSortError:SortError){
    //oh well, use the default comparators...
    else
    compareForFind = compareFunction;

    I have tried a sortCompareFunction:
    var sort:Sort = new Sort();
    sort.compareFunction = compareFunction;sort.fields = [sortField];
    data.sort = sort;
    data.refresh();
    this makes no difference.
    James

  • WAD Graph-  Value Axis display value with commas

    Hi Gurus,
    In the WAD graph Value Axis displaying the value from 0 to 40000 like below
    40000.
    30000.
    20000.
    10000.
            0.
    But we want to display with comma for every 3 digits(1000). like
    40,000.
    30,000.
    20,000.
    10,000.
              0.
    Please do needful.
    Regards,
    Kiran A
    Edited by: Kiran A on Oct 21, 2009 6:00 PM

    Hi Kiran A,
    you can do it as follows:
    Edit Chart->Refine->Value axis->Line->Format-> here you have to put: 0,
    That is all
    Regards
    Erwin

  • Sorting dimension values

    Is it possibe to sort dimension values in hierarchy in order diffirent from alphabetic?

    When you define a dimension you should notice on the first tab an option to set the type of dimension. The options are: User and Time. For a Time dimension you need to select type Time and this will automatically sort the members into calendar order for you. However, your source table does need to contain some additional metadata such as Time span (number of days for each time period; week=7, month=28 or29 or 30 or 31 Quarter=90 or 91 and Year = 365 or 366) and End Date for each time period. These two additional attributes are used for both sorting and to enable the time based calculations such as:
    Year To Date
    Prior Period
    Future Period
    Moving Total
    Moving Max
    Moving Min
    Does that help?
    Keith Laker
    Oracle EMEA Consulting
    OLAP Blog: http://oracleOLAP.blogspot.com/
    OLAP Wiki: http://wiki.oracle.com/page/Oracle+OLAP+Option
    DM Blog: http://oracledmt.blogspot.com/
    OWB Blog : http://blogs.oracle.com/warehousebuilder/
    OWB Wiki : http://wiki.oracle.com/page/Oracle+Warehouse+Builder
    DW on OTN : http://www.oracle.com/technology/products/bi/db/11g/index.html

  • Sorting the values in the HashMap maintaing the key-value relationship

    Hi,
    I want to sort the HashMap based on the values. I have tried several other ways but the closest I can get is sort the values but have to loose the keys. I wanted to sort the collection based on the values but at the same time maintain the key-value relationship. Is there any way I can get this functionality either by using any collection API or by some other way?
    Thanks and appreciate your help....
    --coolers                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    I believe that Commons Collections from Jakarta has something like that.
    http://jakarta.apache.org/commons/collections/
    But I'm not sure.

  • Sorting the values of a map.

    I have been stuck on this problem for a while. I have a TreeMap, which can be changed to a HashMap if needed, with a set of keys as Strings and values which are Integers.
    EXAMPLE
    String1, 123
    String2, 333
    String3, 222
    String4, 758
    I need the values sorted in decending order (9-0).
    Thanks in advance for all your help.

    I have been stuck on this problem for a while. I have
    a TreeMap, which can be changed to a HashMap if
    needed, with a set of keys as Strings and values which
    are Integers.You must be the first one who changed a TreeMap into a HashMap and then lived to tell about it. -:)
    Anyway a TreeMap is always sorted on key, not value. To have your dataset sorted on value you must reload into another TreeMap and invert the key/value pairs in the process. The values then become keys in the new TreeMap which means that the former values must be unique for this to work.
    I'm sure there's a simple solution but it's better if you described what you want to accomplish in general terms than to let people struggle with a solution scenario that's probably suboptimal. How do you want to access your objects and why and when do you need them to be sorted.

  • How to sort alphanumeric values in datagrid numerically

    Hi all,
    I have a datagrid column which contains AlphaNumeric values.Is there a way i can sort these values in a numerical order
    eg:
    having d1,d11,12,13,d2,d3,d4
    d2 should come after d1..
    order should be d1,d2,d3,d4,d11,d12,d13
    Please help me out..if any have any idea..giving below thw code which is sorting as string
    protected function ColumnSortCompare( obj1:Object, obj2:Object ):int
            if ( !obj1 && !obj2 )
                return 0;
            if ( !obj1 )
                return 1;
            if ( !obj2 )
                return -1;
            var obj1Data:String = ComplexColumnData( obj1 ).toString();
            var obj2Data:String = ComplexColumnData( obj2 ).toString();
            if ( obj1Data < obj2Data )
                return -1;
            if ( obj1Data > obj2Data )
                return 1;
            return 0;
    Thanx in advance
    Rajesh

    Hi,
    Thanks for the reply. Please dont mind if the question is simple,as I am new to flex.
    While I am using
    return ObjectUtil.stringCompare(obj1[fieldName], obj2[fieldName]);
    it is throwing error as, undefined property fieldName.
    I am calling as this
    <mx:DataGridColumn headerText=""
                               editable="false"
                               sortCompareFunction="ColumnSortCompare"
                               textAlign="left"
                               dataField="{PORT_NAME}"
                               width="150"/>
    How I can resolve this.Please guide me.
    Thanks,
    Raj

  • Is there a standard map sorted by values

    Tree Map is sorted by keys..Is there standard jdk map sorted by values ?

    You can also use a method similar to the following:
    private static final Collator PL_COLLATOR = Collator.getInstance(new Locale("PL"));
         public static <E> Map<E, String> sortMapByValue(Map<E, String> unordered) {
              Map<E, String> ret = new LinkedHashMap<E, String>();
              Set<Entry<E, String>> sort = new TreeSet<Entry<E, String>>(new Comparator<Entry<E, String>>() {
                   public int compare(Entry<E, String> o1, Entry<E, String> o2) {
                        Entry<E, String> e1 = o1;
                        Entry<E, String> e2 = o2;
                        String s1 = e1.getValue();
                        String s2 = e2.getValue();
                        return PL_COLLATOR.compare(s1.toLowerCase(), s2.toLowerCase());
              sort.addAll(unordered.entrySet());
              for (Iterator<Entry<E, String>> iterator = sort.iterator(); iterator.hasNext();) {
                   Entry<E, String> e = iterator.next();
                   ret.put(e.getKey(), e.getValue());
              return ret;
         }

  • OBIEE 11g - sorting graph axis based on metric

    Hi, I'm trying to create a graph that show employee counts by various colleges on campus. I want the graph to look something like this (sorry for a text version, don't know how to upload a screenshot..this is supposed to represent a horizontal bar graph...):
    College Employee Count
    College 1 =================
    College 2 ============
    College 3 =======
    College 4 ====
    i.e. I'm trying to list the college dimension going on the vertical axis, but I need the values sorted in order of highest employee count to lowest, not alphabetically.
    I haven't figured out how to do this with a normal graph, but I have been able to do this using a pivot table and then displaying the associated view. However, I'm still having a major issue with this. If there are a lot of colleges selected (we have about 40 total), then the graph doesn't show a axis label for every bar. Instead, it looks like only every 4th bar is being labeled, the rest have bars but no labels. This really isn't (at all) what I need. I need each and every bar to be labeled.
    One solution I guess would be to (greatly) increase the vertical size - maybe change from Canvas Height = 330 to Canvas Height = 1024 or something. Unfortunately, that would make the graph take up the entire dashboard. And if a user had filter criteria set to only have 4 colleges selected, the graph would look horrible. What I really need is a simple scroll bar that lets the user scroll up and down in a fixed window. Is there any way to do that - or any similar functionality I could use? I see something called "Enable Zoom and Scroll" but haven't quite figured out how that works.
    Thanks in advance!
    Scott

    Actually, I've figured out that "zoom and scroll" is exactly what I want...sort of...
    To make the graph show up properly, I can zoom twice on the vertical axis and everything works great. Only problem I'm having is that if I save the graph, exit and go back in, the "zoom" setting isn't saved. Anyone know a way to get the zoom setting to "stick"?
    Also, is there a way to make the zoom icon (the little hourglass) always show up, instead of just when you happen to hover over it? An end user might not know it's there if it's not visible.
    Thanks,
    Scott

Maybe you are looking for

  • How do I transfer all my itunes to a different computer

    I own a 3rd Generation Ipod touch and an Ipad 2. I also own a PC that has all of my Itunes music apps and things on it. But recieved a work Macbook that runs snow leapord. I want to sync both my devices to this Macbook but dont want to erase their co

  • Duplicate Characters In Pro X 10.1.8 Mac

    Just updated my Acrobat Pro to 10.1.8 and discovered a weird possible bug... When I use the text selection tool and copy text, some of the pasted text has multiple duplicated characters. The problems seem to be with i, t and l and it is creating 3 ex

  • Discoverer Database Username

    Hi, I want to developt Web Application but I must use Microsoft Product( Asp ) and IIS 4.0 as the HTTP Server. Can I combine with Disco 4i and one more thing I want to use Application username ( for security purposes ) since Discoverer use the databa

  • FICO Score Projection

    First wanted to say thank you  to the people who post on these forums.  About 2 years ago I started on my journey with a 589 and am well on my way to what I hope is north of 700.  I would not have been able to get there without the adivce I found her

  • Problem in the pop up language

    Hi Experts I have a issue where after making the changes in the order in the change mode, while saving the order we have pop up box which gives the message in various languages when we login in German pop up in german text is coming ,but logging in E