Need dimension members in Ascending order

Hi All,
We have a dimension with four Generations and in each generation their are some thousands of numeric members I want to make the numeric members in Ascending order I tried with Ascending option in outline Editor but it is making the Gen2 members in Ascending order and rest of the generations members are not in Ascending order. Please let me know is their any alternate method to make them in Ascending order.
Thanks in Advance,
Raj.

In the load rule that builds the dimension go to dimension build settings and select sort ascending. It will re-roder the members on loadl. If you are trying to sort by alias, then it's a little trickier. you would have to make sure your source file is in the correct order, then have two load rules. The first using a dummy member with remove unspecified checked to remove all the members in the dimension, then the second rule to load your sorted file (You would not check sort ascending in the rule).
If you are trying to do it in EAS, the sort button as you found out on;y sorts the children of the selected member, to sort everything this way, you would have to go to each aprent and click on sort.

Similar Messages

  • Sorting Attribute dimension members

    Other then reloading attribute dimension members in a different order. Is there a possbility with ODI or the SortMember.cmd utility to perform such a task?
    I ask since I know presently while reloading the attribute dimension with ODI it drops the latest member to the bottom. This is not the order I need it in. I tried to mess with the load in ODI and still no fix. I tried to use the SortMember and it only appears to work on all dimension but currency, period, and years as it reads in the planning admin guide. This is for 11.1.2.1.
    Does anybody have any input? If so please reply.
    Thanks,
    DjSmeadly

    It is one area that has never been addressed so sorting attribute members is not so easy, as far as I aware the sortmember utility does not work on attribute dimensions.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • 7.5 NW: Uunable to delete dimension members from the entity dimension

    Hi,
    I would really appreciate a solution to this. We are planning on implementing an IFRS consolidation using the SAP IFRS Starter Kit. We have created a copy of the IFRS Starter Kit, without any data. In order to customise it for our purposes, we have decided to keep the sample dimension members in Accounts, Flow and AuditID but delete the data in other dimensions. We have managed to delete the sample dimension members from the Time,  Inter-company and Conoscope dimensions but are unable to do it for the Entity and RateEntity dimension.
    Can anyone please explain why this is happening? There is no data in the application and so, why is this happening? We are on Service Pack 5.
    Many thanks in advance.

    Hi,
    Before going into the BPFs, i am sure you would have already checked, I would do the following:
    -Try to process the entity dimension in offline mode. I have seen this happening with some dimenions  that i know there is absolutely no transaction action. Just check processing the entity in offline mode. Do not untick 'take the appset offline'.
    - You would have done this. Double check for the transaction data.
    - Regarding BPFs, its not easy to check this. we had this situation earlier. Please go into the backend and in se16 you will find all the BPF tables with UJB*
    There would around 10-12 such tables. Have alook in them. Not all tables need to be looked into. But please have a check there.
    - Also check if entity has been referenced to any other dimension. Its good to check if you have INTCO dimension to see if it is referenced there.
    Thanks,
    Sreeni

  • How To: Sort Numbers in Ascending Order in a Generated List

    Greetings! How do I set up a Generated List of Paragraphs so that it sorts in true ascending order? What I want is:
    1.1
    1.2
    1.3
    1.4
    1.5
    1.6
    1.7
    1.8
    1.9
    1.10
    I have tried every trick I can think of with the sort order listed on the reference page. But all I can get is something that sorts by individual number (ignoring the numeric value) like:
    1.1
    1.10
    1.11
    1.2
    1.20
    1.21
    1.3
    Any help is much appreciated!

    Hello there, Michael! Thanks so much for looking at my post! Alas, the LOP will not work. I should have explained more, but it was so complicated I thought folks would give up reading.
    Here's the best I can render it without getting permission to share a good example document. I do not blame anyone if it's too cumbersome or convoluted to wade through...
    This is a requirements document which has sort of a "legal" tinge to it--as the document evolves we must maintain traceability for individual requirements. This means, for example:
    Version 1 - I have requirements 1 and 2.
    Version 2 - I need to add a new requirement, which should appear before requirement 1 in the document. Even though it comes before requirement 1 in the document, numerically it will be requirement 3 and requirement 1 will remain requirement 1.
    Version 3 - I need to remove requirement 2. Even though I now have only 2 requirements, their numbers will not change (they remain requirements 1 and 3, appearing in reverse order).
    Version 4 - I need to move requirement 3 to be after requirement 1. Again, the requirements keep their original number, even though their position has changed and there is no longer a "requirement 2" number in use.
    Originally, I told the team (I'm doing this for a different dept), that they would have to hand-number requirements, which they did for a while. But that was getting very cumbersome, and the scenarios above are limited to one or two occurrences per document. So I created an auto-number sequence for them to use in the initial version and added a little smoke-and-mirrors work process to take care of changes in later versions. The last bit of chicanery I cannot get to work is the index...
    Even if there are no changes to the requirements after the initial version, the index still does not sort in ascending numeric order. It was working with the hand-numbered requirements because they were using leading zeros. But without being able to include leading zeros in the auto-numbering formats (I tried the "use a zero as a tab leader" solution and like to have thrown my new monitor out of the window), I cannot find a solution.
    Or rather, I think the solution is "you have to hand-number requirements".
    For anyone who has made it this far, I truly appreciate your time and patience!
    SFT

  • How can I manage access to dimension members in a layout?

    Hello,
    I have a dimension member list of materials (400) on a "material" dimension. But some people have access to one portion of the whole group and others may have access to other groups. But the materials can be shared between groups so I cannot group them in differents hierarchies.
    The problem is in the layout you need to select a hierachy to show various rows (the whole group of materiales). The layout shows all the list of materials. Even if the user only have access to 10 of them. I don't know how is the best way for presenting this to the user? It should presents only the 10 rows corresponding to his materials.
    One way that I found (but I don't find it acceptable because of the hard effort that represents the maintenance) is to create differents member access profiles and denied the access to each material (dimension member - 390) that the user cannot modified. Then in excel I have to run a macro that hides all the rows that have an empty description in the cell of the material name.
    How can I achive this?
    Is there a function in BPC to see if a user have access or not to a dimension member?
    The only way to show in a layout various rows is to set in the view a hierarchy?
    Thanks & Regards
    SU

    hi
    pl. verify whether this will suit your requirements:
    Material           UG1           UG2
    MAT1               Y
    MAT2                                 Y
    MAT3               Y
    MAT4                                 Y
    MAT5               Y               Y
    Now UG1,UG2 diff user groups and property in Material. Assignment of Y is one time job.
    At the time of accessing the dimension members can restrict on the basis of UG1="Y" or UG2="Y" property
    Here MAT5 is common in both UG1 and UG2
    (Hardly may have 3-4 set of users: Accordingly can have UG1,UG2,UG3,UG4 etc.)
    sri

  • Using intersection of dimension members in a SINGLE column/row name

    I need help understanding how a single row/column name in a report can be populated with an intersection of two different dimension members of an Essbase cube (ASO). For example, suppose I have two dimensions members in my cube - Sales and Qtr1. Now I want to create a single column-name in my Smartview or FR report called "Sales in Qtr1" that would store values for Qtr1->Sales. Also, i want to have a single column name such as (Qtr1->Sales % Qtr2->Sales).
    Is this done via a report script or some other method?
    My report would look as follows:
    Sales in Qtr1 | Sales in Qtr2 | Qtr1 Sales as a percent of Qtr2 Sales
    Region1 100 | 200 | 50%
    Region2 25 | 100 | 25%
    Would appreciate any guidance.
    Thanks.
    Axe

    Getting the data the way you've described is really easy, just nest the dimensions in Excel (or whatever reporting tool), one dimension over the other.
    It's the same for rows as it is columns (okay, in rows instead of columns).
    Essbase is very good about doing asymmetrical reports. Take a look at the DBAG and scroll down for the section labelled "Generating Symmetric Reports" -- the second example shows a asymmetric report.
    Making the label one cell? A bit hard in Excel -- you'd have to create separate retrieve ranges and report ranges or play a game with hiding rows. Very easy indeed in Financial Reports -- you basically hide a row and put whatever custom label you want in the dimension that remains (technically speaking you could hide both rows and do this with a text row -- whatever you prefer -- but I've generally seen this with the former technique.
    Regards,
    Cameron Lackpour

  • SSRS with calculated dimension members SSAS

    Hello everybody,
    I have an interesting scenario involving a SSRS report with a matrix connected to a SSAS cube containing calculated dimension members.
    One of the parameters is "Reference Week".  Based on that parameter, I need the measures for the previous 5 weeks.
    So I created an anchor dimension "Analysis Weeks" with the members "Week -1" to "Week -5".
    Everything is working fine.  The only problem is the names of the columns on the report.  
    Currently I have "Current Week", "Week -1", etc. as column names, I'd like to show the real dates.
    For example, if I choose "2014-02-15" as the reference week, I want the first column to show "2014-02-15" instead of "Current Week". The second would show "2014-02-08" instead of "Week -1", etc.
    I tried to get the current column position in the matrix, which I could use the with @ReferenceWeek parameter, but I can't access that property.
    Any suggestion?
    Thanks

    If I understand correctly, your column group is on "Analysis Weeks", is that right? If so just get the value of that field and use it to get the dates.
    =DateAdd("d",-1*CInt(Right(Fields!AnalysisWeeks.Value,1))*7,Fields!ReferenceWeek.Value)
    "You will find a fortune, though it will not be the one you seek." -
    Blind Seer, O Brother Where Art Thou
    Please Mark posts as answers or helpful so that others may find the fortune they seek.

  • How to sort  the arry value in ascending order

    I have a string array where i need to sort the below values in ascending order in the same format...can anyone give me clue on this?
    9.3
    3.1
    9.1
    19.1
    19
    9.4
    9.1.1
    the sorted order should be
    3.1
    9.1
    9.1.1
    9.3
    9.4
    19
    19.1

    You may have easier luck writing your own comparator for this. These are headings in a table of contents, right?
    Write a comparator that tokenizes a string on the '.' character, or use a StringBuffer to remove them, and then order the elements according to the combined numbers. Since alphanumeric would order this list as you want it anyway you could just order that way once the '.' are removed.
    In other words your comparator would do this in the "compare" method:
    public class MyComparator implements Comparator, java.io.Serializable {
    private static Comparator stringComparator = java.text.Collator.getInstance();
    ...constructor(s), your own private "instance" variable of type MyComparator, a getInstance() method of your own, yadda yadda...
    public int compare(Object item1, Object item2) {
    try {
    value1 = removePeriods((String)item1);
    value2 = removePeriods((String)item2);
    if (value1 == null) {
    return (value2 == null) ? 0 : (-1);
    return compare(value1, value2);
    } catch (ClassCastException cce) {
    System.err.println("Wrong Object Type, JackAss!");
    protected int compare(String str1, String str2) {
    return MyComparator.stringComparator.compare(str1, str2);
    private String removePeriods(String value) {
    StringBuffer sb = new StringBuffer(value);
    int decimalIndex = value.indexOf('.');
    while (decimalIndex != -1) {
    sb.delete(decimalIndex, (decimalIndex + 1));
    }

  • Accessing the records in ascending order using index hint

    I am getting a problem in selecting the rows using the index hint which in i want to query in the ascending order.
    for eg.
    select /*+ index(temp_itr_header,tmp_itrhdr_1#IDX2) */ person_id
    from temp_itr_header

    Oracle knows that it doesn't have to resort data if it accessed individual rows from an index with the same sort order. In other words, adding the ORDER BY clause need not cause Oracle to do any extra work. Adding the ORDER BY does guarantee that the results will be sorted and will tend to cause Oracle to use the index, assuming it can avoid the sort that way. If you don't have an ORDER BY, Oracle is free to return rows in whatever order it would like regardless of your hint.
    If you want to use the index hint, the syntax is
    SELECT /*+ INDEX(temp_itr_header <<index name>>) */Note that you do not want to have a comma in your hint. Of course, if your statistics are accurate, you shouldn't need to resort to a hint here-- the CBO should pick the most efficient path.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • How to auto-update of script logics after adding new dimension members?

    Hi Experts,
    Just wanna ask if BPC has a functionality that would automatically update/validate and save my script logic whenever I add new dimension members. I've added new PL accounts but they are not automatically added to my calculated BS Net Income. I had to re-validate and save my logic for it to be included in my logic and for the amounts to be computed correctly.
    Thanks,
    Marvin

    Hi Marvin,
    There is no functionality as such. we need to configure the script as and when we make any changes in the dimension members.
    Regards
    Raman

  • Apache: showing images in ascending order by name

    hi:
    i have several detail pages where i show images contained in
    a folder:
    $folder = dir($path);
    while ($folderEntry = $folder->read()){
    if ($folderEntry <> "." && $folderEntry
    <> ".." &&
    substr($folderEntry, -6, 2) <> "00") {
    echo '<li><img src="'.$path.$folderEntry.'"
    /></li>';
    $folder->close();
    in the local server they appear in the way i want, in
    ascending order by
    name (img_01.jpg, img_02.jpg, img_03.jpg, ...) but in the
    remote server
    they appear in, apparently, random order
    i activated FancyIndexing in the httpd.conf file but it
    doesn't solved
    the problem:
    # Directives controlling the display of server-generated
    directory
    listings.
    # FancyIndexing is whether you want fancy directory indexing
    or
    standard
    IndexOptions FancyIndexing
    # End of indexing directives.
    i know i can store the filenames names in an array an sort it
    but i
    prefer to control it in the server
    local (OS X 10.4.10)
    Apache/1.3.33 (Darwin) PHP/5.1.6
    remote (Red Hat Linux 2.6.9-34.ELsmp)
    Apache/2.0.52
    tia,
    jdoe

    Templeton's suggestion is best if needing help with Microsoft Entourage. Since I know the answer is "not possible" I can at least steer you toward an AppleScript that will give you a workaround. Have a look here <http://www.barryw.net/weblog/files/category-5.html>.
    Further questions about this script should be directed either to its author or to Microsoft's Entourage newsgroup <http://groups.google.com/group/microsoft.public.mac.office.entourage>.
    Hope this helps! bill
    1 GHz Powerbook G4   Mac OS X (10.4.9)  

  • Output to appear in ascending order

    Could someone please help me to get the contents of my output file in ascending order.
    I am reading a file mnf.xml kept inside my jar, the contents of it are
    <assets>
    </assets>I am writing the contents of the file mnf.xml to an output file, and am also adding the pdf filenames found in the directory.
    The contents of the output file after running the program are
    <assets>
    <pdf_files name="assets/123_001_ch_03.pdf"/>
    <pdf_files name="assets/123_001_ch_02.pdf"/>
    <pdf_files name="assets/123_001_ch_01.pdf"/>
    </assets>
    But I need my output to be in the following order
    <assets>
    <pdf_files name="assets/123_001_ch_01.pdf"/>
    <pdf_files name="assets/123_001_ch_02.pdf"/>
    <pdf_files name="assets/123_001_ch_03.pdf"/>
    </assets>
    My code is
    void fileMNF(File RootDir, String jTextField1Text)
         String filename=jTextField1Text.substring(0,jTextField1Text.lastIndexOf("."))+"_mnf.xml";
         String Assetsdir=RootDir+"\\"+"assets";
         File files=new File(Assetsdir);     
         String[] lists=files.list();
         try
              int val;
              char ch;
              InputStream is=getClass().getResourceAsStream("/Inputs/mnf.xml");
              File dstfile=File.createTempFile("mnf", ".xml");
              dstfile.deleteOnExit();
              FileOutputStream fos = new FileOutputStream(dstfile);
              int b;
              while((b = is.read()) != -1)
                   fos.write(b);
              fos.close();
              File inputfile=new File(dstfile.getAbsolutePath());
              File outputfile=new File(filename);
              BufferedReader in = new BufferedReader(new FileReader(inputfile));
              BufferedWriter out = new BufferedWriter(new FileWriter(outputfile));
              String line;
              while ((line=in.readLine()) != null)
                   if(line.startsWith("<assets>"))
                        for(int i=0;i<lists.length;i++)
                             if(lists.endsWith(".pdf"))
                                  line = PDFLineInsert(line,lists[i]);
                   out.write(line);
                   out.newLine();
                   out.flush();
              in.close();
              out.close();
         catch(Exception e)
              System.out.println(e.getMessage());
    private String PDFLineInsert(String line, String PDF)
         String res = "";
         res = line.replace("<assets>", "<assets>\n\r<pdf_files name=\"assets/"+PDF+"\"/>");
         return res;

    Your PDFLineInsert method is inserting your lines at the beginning of the file.
    You should change your logic to write the new lines as you get them. something like this:
              while ((line=in.readLine()) != null)
                   if(line.startsWith("<assets>"))
                       out.write(line);
                       out.newLine();
                        for(int i=0;i<lists.length;i++)
                             if(lists.endsWith(".pdf"))
                                  out.write("<pdf_files name=\"assets/"+lists[i]+"\"/>");
                                  out.newLine();
                   out.write(line);
                   out.newLine();
                   out.flush();
              in.close();
              out.close();
    ~Tim
    EDIT: remove the extra '>' in the write statement inside the for loop. it is caused by a bug in the forum software
    Message was edited by:
    SomeoneElse

  • Cannot maintain dimension members in SAP BPC

    Hello, Masters in BPC
    I have just create mention and want to input data, I used maintain dimension members CUSTOMER in SAP BPC but It seem not effect although I press Process dimension already and I open excel and paste data also saved them already. When I open other dimension and reopen CUSTOMER but nothing is shown.
    Please give me a advice to resolve the problem.
    Thanks you so much.
    Best Regards
    Chinh

    Dear Raju,
    Yes, I did it some times but nothing is happen,
    I maintain dimension members, I did it as below:
    - Choose maintain dimension members
    - copy data from excel file and paste into the dimension
    - click process dimension
    Show a dialog
    - Uncheck Take system offine
    This task is successful.
    but I go to dimension ACCOUNT in order to insert data,
    I came back maintain dimension members : CUSTOMER but I see no data is displayed.
    It is the same for ACCOUNT when I want to see data on that dimension
    when I try one more time , I click save to server, The Error message show that : Dump Error
    I reinstall BPC client and its patch but nothing to change
    How can I do???
    Thanks

  • Doesn't Sort data in Ascending order in Hash Table?

    Hello
    I am using JSP, Servlets. After quering in servlets, putting data in HashTable then set attribute in servlets, get attribute in JSP & retrieving data from HashTable in JSP & putting in select html element, data is not coming in ascending order in select drop down box. I need A,B,C,D but it is coming b,d,c,a. When I run query in DB, it shows in sequence but after putting in HashTable, it is not coming in sequence.
    How to make it ascending?
    Looking forward for an early reply.
    Thanks.

    Hi
    Something to do with TreeMap(TreeSet). I tried with TreeSet but it didn't work. Here is the code :
    In servlet :
    Connection lConnection = getConnection(pRequest);
    String lSQL = "";
    Statement lStatement;
    ResultSet lResultSet;
    Hashtable lLtypeHashtable = new Hashtable();
    lStatement = lConnection.createStatement();
    lSQL = "SELECT RCID,RCMEANING FROM REFERENCECODES WHERE RCDOMAIN = 'LOCATIONTYPE' AND RCROWSTATE > 0 order by RCMEANING";
    lResultSet = lStatement.executeQuery(lSQL);
    while(lResultSet.next())
    String lRcid = lResultSet.getString(1);
    String lRcmeaning = lResultSet.getString(2);
    lLtypeHashtable.put(lRcid.trim(),lRcmeaning.trim());
    if(lResultSet != null) lResultSet.close();
    if(lStatement != null) lStatement.close();
    pRequest.setAttribute("LtypeHashtable",lLtypeHashtable);
    //Below Query is executed when one data from select element is selected
    String lLType = DisplayUtilities.getString(pRequest.getParameter("LType"),true);
    //LType is name of select element in JSP.
    if (lLType != null)
    lSQL = lSQL + " AND " + lUpperCaseFunction + "(LOCATIONTYPE)" +
    " = " + DBUtilities.formatString(lLType.toUpperCase());
    pRequest.setAttribute("rLType",lLType+"");
    In JSp :
    <%
    Hashtable lLtypeHashtable = (Hashtable)request.getAttribute("LtypeHashtable");
    %>
    <TR>
    <TD width="15%"> <div align="left">
    <select name="LType" size="1" >
    <option Value="">< Select ></option>
    <%
    if(lLtypeHashtable != null)
    Enumeration enum = lLtypeHashtable.keys();
    while(enum.hasMoreElements())
    String key = (String)enum.nextElement();
    String value = (String)lLtypeHashtable.get(key);
    String flagBack = "";
    if(key.equals((String)request.getAttribute("rLType")))
    flagBack = "selected";
    %>
    <option Value="<%=key%>" <%=flagBack%>><%=value%></option>
    <%
    %>
    </select></div>
    </TD>
    </TR>
    How should I implement TreeSet?
    Looking forward for an early reply.
    Thanks.

  • Changes in hierarchy dimension members causes EVDRE Errors retrieving data

    Hi everybody,
    I am facing the problem while retrieving the data in Evdre  this is the following situacion:
    1. BPC 7.5 NW SP 08 is used.
    2. Suppose that you have a template where you defined SELF,DEP for an account dimension, you expand and refresh normally, and retrieved data OK.
    3. Your business case makes that you have to move one of the dependant member of the hierarchy  to another parent
       then you go to mantain dimension member and change the parent of  the member in question, finally you process dimension,  and put available set status.
    4. Yo re-open Template or refresh dimension members from the server in order to see update hierarchy in account dimension
    5. After expanding and refreshing the evdre, shows and error "...while retrieving the data.. "
    6. I suppose the way to fix it is to reverse the change in dimension member, so I change for initial parenth but error continue.
    What do you recommend  for fix it? is there any note which solve it?

    Hi Sabine,
    Hi Sabine,
    Thanks for your answer, we followed all the steps you suggested, but the problem continue,
    Could you confirm us what is the the path of that XML file of dimension thought BW - UJFS?
    The only thing that correct problem is doing the following but not should be the best way:
    1. Supress Account dimension in application
    2. Delete dimension
    3. Recreate Dimension and process it
    4. insert dimension into application
    5. Refresh Evdre and then works fine!
    Is there any Sap note about it or something else to check?
    Thanks For your help

Maybe you are looking for