Sorting dimension member based on two properties

Hello,
I am using SP BPC NW 10.0 SP04 (801).
I have a query regarding sorting dimension member based on two properties. In Report Editor under Sorting and Grouping tab there is option for grouping based on single propery only.
I have taken Profitcenter in Row axis. There are two properties TYPE and SEGMENT I have taken along with it as local member. A SEGMENT can have multiple TYPE(defined in TYPE property). I have sorted SEGMENT using Report Editor Sorting and Grouping. Now I want to sort TYPE of a segment also.
Same thing is possible in MS version with SortCol1, SortCol2 etc.. How this can be possible in NW version. Can anyone help in this.
Thanks & Regards,
Deepak Palsaniya

Hi Raju,
Thanks for reply.
I am using EPM add-in SP-18 Patch01, Although this is not possible in this patch also.
Any help in this?
Best Regards,
Deepak

Similar Messages

  • Change description of dimension member based on selection in other dimension

    Problem
    Let’s say that I have two dimensions Dim Account and Dim Company.
    Dim Account consists of Account and Account Description. Each Account has one description for each Company.
    I want the description in Dim Account be based on which Company that is selected.
    So if Company 1 is selected the description should be set to Account_Company1_Desc if Company2 is selected Account_Company2_Desc should be selected and so on…
    If more than one company is selected, the Account_General_Desc should be used.
    I would be very grateful if anyone has
    an idea of how this problem could be solved.
    Best Regards
    AL

    Hi AL_T,
    According to your description, you want to have the description show general_desc when selection multiple companies. Right?
    In this scenario, since each company has one description, we should already build the relationship between company and company_desc. However, in Analysis Services, it's not supported to apply MDX expression to make a relationship dynamically. And we
    can't make it show different members of a dim based on number of another dimension member selection in query. So your requirement can't be achieved currently.
    Regards, 
    Simon Hou
    TechNet Community Support

  • Sorting based on two columns in report

    Hi,
    we have one issue on sorting based on two columns in report.
    In the report we are doing sorting on two columns(week_id and stage_name). I have attached the screen shot for the same. The sorting is first done on the week_id and then on the stage_name. The issue comes when we have no data for the stage 1 - Prospect in W1. The stage goes to the second position.
    Please suggest if there is any work around to show the 1 - Prospect stage in W1.
    Regards,
    Ambika Nanda.

    what is w1? where is screenshot? and is stage seoncd sort? if so what is the issue?

  • Sorting by Member's Alias name during dimension build

    I dynamically build/update an Employee dimension each month. I want to sort the members by their alias name, which in this case is the employee name. Has anyone done this before? The data file which I'm using to build the outline is already sort by employee name. The problem I have is each month when I do an update build, all the new members drop to the bottom. The option in the load rule definition to sort members is no good because that sorts the member by their ID and not by their Alias.Thanks for helping!!Peter

    The best method is to clear all the members of the dimension and rebuild the entire dimension from scratch.This can be done manually through the Outline editor from the Essbase Applicaiton Manager or using an Incremental Build Dim from Esscmd or Maxl.Using Esscmd you it would be easiest to have a dummy build file with a single member and process that file first then process the real file. Use the remove unspecified option and set sorting to none. Regardless of method do NOT restructure the data between deleting all the old members and processing the updated file.If you restructure between these steps you will need to reload all data.Joseph HoganSenior Essbase Lead ConsultantHyperion Solutions203.703.3300 x6364

  • Dimension Overrride with Two properties referencing Excel Cells

    Hi Gurus,
    I'm using a Dimension override as the one below. It works fine. I can reference two properties and one of them is an Excel cell:
    =EPMDimensionOverride(D31;"D_PO";"P_ALOC_NR=03 AND P_CTRY="&D3)
    However, I would like to add some flexibility to the first property, too. I would like to also reference it to another Excel cell instead of hardcoding the value 03. I've been trying several commands but nothing seems to work.
    Any clue? BPC NW 10.0 Add-in SP17
    Thanks,
    Alberto Sabate

    I think the issue was due to leading zero of the property value P_ALOC_NR=03
    Try "P_ALOC_NR=""03"" AND...
    Or "P_ALOC_NR='03' AND...
    Ups, sorry, the linked cell has to be formatted as text to accept 03 without conversion.
    Vadim

  • Need to change dimension member in context based on the member property

    Hi,
    When i select the one particular entity i.e. E_1100 , it having the currency property is INR, this currency has to change  the RPTCURRENCY dimension member i.e. INR. in the context member.
    Context is locked for the users.
    for example:
    In context i have Entity dimension, RPTcurrency dimension
                               E_1100               INR.
    In report user having the select parameter for the Entity Dimension. Now he has selected the E_1200  in the report , but it has currency property is USD
    now the RPT Currency dimension should have to display the  USD in the Context.
    Please anybody help me.
    Regards.
    Surya

    Hi Surya,
    you can achieve this using simple VBA code. Use below vba code for overriding the context member. assign this code to button. it will change the context member.
    Copy paste below code in one module and assign this code to the button.
    First Enable FPMXLClient
    Dim epm As New FPMXLClient.EPMAddInAutomation
    Sub change context()
    Dim CONNE As String
    CONNE = epm.GetActiveConnection(ActiveSheet)
    'To set context
    epm.SetContextMember CONNE, "CURRENCY", Range("A1")
    'To refresh
    epm.RefreshActiveWorkBook
    End Sub
    where CURRENCY==> use your dimension name whose context want to change
    Range("A1") ==> In A1 cell Populate property using EPMMemberproperty()
    Basically we will set context member and refresh the workbook.After selection of the entity click on button so macro will run and context member will gets override in the Context Bar.
    Regards,
    Sushant

  • Performance issue:Show id and Description for same dimension member

    Hi,
    I am connecting a cube to another reporting system and i need to show the id of member resulting of a query.My first thought was to use this kind of code (bellow) however when i do the same thing with many dimension (many cross join ),it slow down a lot
    my query.So how can i have in the same DImension member showing a description and id ? I also have a lot of statement,so i can't have just two columns in the dimension or i will need to duplication the mdx and i could drop down the performance.
    So i am trying to get as a result
    Dim1 | Dim2| Dim3| Measure
    1 50
    32 25.2
    and also be able to get
    Dim1                            |   Dim2                                  |  Dim3  
                                |                Measure
    NameElement1Dim1 NameElement50Dim2
    NameElement32Dim3 25.2
    Thanks in advance
    with MEMBER [Measures].[IdElement] as 
    <element>.currentmember.properties("KEY")
    select
    CROSSJOIN({[Measures].[IdElement]},{[METRIC].[Description].[All]}),
    CROSSJOIN({[Measures].[value]},{<listmetricmdx>})
    } on columns,
    <pointofview>
    <element_and_function>
    <TimeBreakdown>
    } on rows
    <list_filter_clause>
    ) as list
    where ((ElementName is null AND IdElement=0) OR (ElementName is not null))
    <list_condition_metric>
    but i have multiple 

    Hi Vincent,
    In your query, you use CrossJoin in it. Crossjoin function will cause the performance issue if there are a lot of properties that need to be displayed. If you cross-join medium-sized or large-sized sets (e.g., sets that contain more than 100 items each),
    you can end up with a result set that contains many thousands of items—enough to seriously impair performance. For the detail information, please see:
    http://sqlmag.com/data-access/cross-join-performance
    In your MDX query, ensure only retrieval the required data. Here are some useful links for your reference.
    Configure memory setting:
    http://social.msdn.microsoft.com/Forums/en/sqlanalysisservices/thread/bf70ca19-5845-403f-a85f-eac77c4495e6
    Performance Tuning:
    http://www.microsoft.com/downloads/details.aspx?FamilyID=3be0488d-e7aa-4078-a050-ae39912d2e43&displaylang=en
    http://www.packtpub.com/article/query-performance-tuning-microsoft-analysis-services-part2
    Regards,
    Charlie Liao
    TechNet Community Support

  • Top n  filter in universe based on two measures(MDX expression)

    Hi,
        I have to do filter at universe level based on two measures. for example, i have
    BusAr       year       value
    ddddfd        1997      435433.
    I can able to do filter using mdx expression for busniess area wise top 10 values in universe. using the following syntax
    <FILTER EXPRESSION="Rank([0BUS_AREA].CurrentMember, Order([0BUS_AREA].CurrentMember.Level.Members, [Measures].[D7G51I90GYJ8POGFSYVFPX24F], BDESC))">
    now i want to filter using year wise and business area wise top 10 filter  in universe.   where to add the second member yearwise in Rank () function.
    how to achieve this.
    Regards,
    Shanthakumar.

    Hi,
    I am not sure you want to make a Top n filter on 2 different measures.
    But if you want to make a Top n filter on 2 ore more different dimensions, here is the code.
    IIf(IsEmpty([Measures].[Sales Amount]),null,
      Rank(   StrToTuple( "(" + Generate(Head(Axis(1),Axis(1).Item(0).Count) AS RN,
      "Axis(1).Item(0).Item(" +
      CStr(RN.CurrentOrdinal - 1) +
      ").Hierarchy.CurrentMember",
      ",") + ")" ),
      Axis(1),   [Measures].[Sales Amount]  )    )
    Please note that the code is taking into account all dimensions involved in the rows axis, so the more dimensions yu add in the query the top n will increase the number of values.
    I have successfully tested it on MSAS but it seems that on SAP the "+" character is not allowed...
    Maybe there are some SAP notes to add.
    Didier

  • 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

  • How to Sort Dimension in Pivot Table via Order Column which is changing like Factual values

    Hi,
    Recently in of our product offerings we got stuck on this following question:
    How to Sort Dimension based on the Order Value which Keeps Changing with Factual Values??
    We have a data source laid out as (example)
    In the above the “Order” columns are changing per
    Company/(DimensionA) for DimesnsionB.
    Instead what we want is: (But only if we can get the following result without putting the “Order” Column in the “Values” Section. 
    If there are any configurations that we can make to our power pivot model for the similar data set so that the
    DimesnionB in this case can be sorted by the Order column, would be greatly helpful to us. 
    Sample File:
    http://tms.managility.com.au/query_example.xlsx
    Thanks
    Amol 

    Hi Amol,
    According to your description, you need to sort dimension members in Pivot Table via order column, and you don't want the order column show on the Pivot table, right?
    Based on my research, we can sort the data on the Pivot table based on one of the columns in that table, and we cannot sort the data based on the columns that not existed on the Pivot table. So in your scenario, to achieve your requirement, you can
    add the column to pivot table and hide it.
    https://support.office.com/en-gb/article/Sort-data-in-a-PivotTable-or-a-PivotChart-report-49efc50a-c8d9-4d34-a254-632794ff1e6e
    Regards,
    Charlie Liao
    TechNet Community Support

  • How to tag attribute member with standard dimension member in EIS

    hi,
    would any one please help me how to tag attribute member with standard dimension member in EIS
    THANK U IN ADVANCE

    In your OLAP model, view columns for the base dimension table. Go into the column properties and for the columns that have Attribute values highlight them and click the Attribute button.
    Go into Metadata Model and those fields will be available to drag into your outline as attribute members.
    Once in the outline, go into the properties of the attribute and assign the level of the base dimension they associate with.

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

    Is it possible to sort dimension values in order different from alphabetic. &#1058;&#1086; 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 ???

  • Calculate difference in value based on two date parameters

    Hi All,
    I have a table and need to calculate the difference in rent amount for a property based on two date parameters.
    I have uploaded sample data here:
    https://app.box.com/s/pu8oa4f3jhrhm0ylshdz2fuo7541vn4z
    Thanks
    Jag

    Hi jaggy99,
    Do you have the knowledge of
    Excel Add-In? If you don't have knowledge of C#/VB.NET language and Visual Studio, I don't think Excel Add-In is what you want. As I said previously, your problem is totally about the business logic, we don't provide solution for a complete requirement.
    Based on your sample data, I think VBA code is suitable.
    If you're not familiar with VBA, please take a look at the MSDN documents for scratch:
    Getting Started with VBA in Excel 2010
    The steps should be like this:
    1. Sort all the records by [Rent Change Date] field
    2. Loop throuth the records and find the FromDate and ToDate as well as the corresponding [Rent Charged] field
    3. Calculate the difference and save the data into a new range
    It's not so hard, please have a try, if you encounter any development problems, you can post in this forum.
    Thanks.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Drill down in report based on two queries

    Hi,
    I have a problem with drilling down in report which is based on two queries.
    Queries are based on different universes.
    Both queries contains almost the same dimensions but different measures.
    In my report is a calculated measure based on measures from both queries.
    In both universes are the same hierachies.
    When I drill down in report for the first time I have to chose hierarchy  but then data are filtered to the choosen  value only from one query , data from second query are not filtered and the values of calculated measure are incorrect
    How can I solve this issue without adding dimensions belonging to the hierarchies to queries.
    Please help.
    Regards.
    MG

    Hi MG,
    First of all, what do you mean by "Both queries contains almost the same dimensions but different measures"
    "Almost" is not a good word in the IT world, especially when trying to merge/join tables. You need to be exact.
    That sounds like a possible reason for the problem.
    I am also not sure about your question:
    "How can I solve this issue without adding dimensions belonging to the hierarchies to queries."
    You may have to add those dimensions to the queries. Why would you not want to?
    Thanks

  • Count Metric based on two physical columns

    I have a fact table that has Beginning Inventory On Hand (BOH) Units and Ending Inventory On Hand (EOH) Units.
    It also contains sales dollars and sales units and other facts. My dimensions are: Locations, Time, Products.
    Locations
         All Stores
         Region
         District
         Store
    Products
         All Products
         Division
         Entity
         Subdivision
         SubClass
    Time
         Week
    We have fact tables at the lowest level and we have aggregrate tables at certain points.
    We are trying to create some count metrics in the BMM Layer. We have created a metric that will count the number
    of stores that have Sales Units at each level of the product dimension. We did this by mapping the logical column
    to the physical column of Sales Units. We then defined the aggregation for this metric based on dimensions. The
    first thing we needed to do is Sum the Sales Units across Products, so we set the "Other" as a sum. We then need
    to apply the Count Distinct, so we set this at the Location Dimension.
    Based On Dimensions
    Sum(Sales Units)                              - Other Dimensions
    Count (Distinct Case When Sales Units > 0 then store number else null end )     - Location Dimension
    This will give a final rule as follows:
    Count (Distinct Case When SUM(Sales Units) > 0 then store number else null end )
    This is working great. However, we now want to create a logical metric that will count the number of stores based on the evaluation of two physical columns.
    Count the number of stores that have Sales Units > 0 OR EOH Units > 0.
    I do not know how to evaluate two physical columns and apply a count against them.
    Thanks in advance for your help.

    create same column for sum(eoh)
    Count (Distinct Case When SUM(Sales Units) > 0 then store number
    else
    case when SUM(eoh) > 0 then store number else null end
    else null end )

Maybe you are looking for

  • HT202079 Question on connecting Macbook Pro mid 2012 with 5.1 speakers

    Greetings All, I have a Mac Book Pro Mid 2012 model. I was to buy 5.1 Speakers and connect the same. I do not have a sound card. Do I need one? Will USB sound card work? - http://www.flipkart.com/steelseries-siberia-usb-soundcard-gaming-adapter/p/itm

  • Modification Log from Customer Class

    Hey guys. Its possible to get a data modification log, or something like this, from the Customer Class data? We use customer classification, with some customized fields, that store data in AUSP, but we can't found out if there is a modification log f

  • Adobe reader 11 wont load signed feature for a specific user on VDI

    Hey all, New to the forums so please if i mess something up let me know. We Run xendesktop 5 for our vdi systems and we have one user, only one user, that when they load the adobe reader there sign document feature does not load what so ever, i have

  • Need graphic above master page header

    Hello, I'm a new user and starting to catch on.  However, I need a graphic to show up a Master page header.  I looked this up and found the following: "If you want a master item to appear in front of objects on the document page, assign a higher laye

  • Pisuper Authorization error, I can't logged with any user on Int Builder

    Hi SAP Guru's , Please help me as i new in SAP XI . I am unable to logged on in Integration Builder with any user i tried pisuper, sapuser but still got the same error "Authorization error, unknown username or password" . I check with T-Codo SU01 but