Calculating Average across 3 custom dimensions

Hi,
How can we calculate across 3 custom dimensions Entity , Product and Customer ?
I have set the account to TBAvg so that it gives me an average against time dimension.
The below formula works fine to calculate average across Customer dimension but how should I change it to incorporate Entity and Product dimension.
@AVGRANGE(SKIPMISSING,"Margin Percent",@CHILDREN(@CURRMBR("Customer")));
Thanks,
SK

Hello,
what about @MINSRANGE ?
http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/minsrange.html
Inventory_MIN = @MINSRANGE(SKIPBOTH, "Inventory" , @LIST("config1","config2","config3"))
should give the result,
if you FIX @RELATIVE("Part",-1) to grab level 1 members.
and you can extend expression something like
Inventory_MIN = @MINSRANGE(SKIPBOTH, Inventory , @CHILDREN(@CURRMBR("Part")))
Hope it helps,
Ahmet

Similar Messages

  • How to find the Minimum value of a Measure across a Custom Dimension

    I am having Trouble figuring the best approach for the given below scenario.
    I have a measure called Inventory which is basically by Product by Part by Geography across a Time period.
    Part dimension is 3 levels Deep.
    Part
    --Configuration_NAME
    - Part_ID
    the Requirement is to Pick the the Minimum Inventory Values of a product across the Configuration_Name and Store this information in another measure called Inventory_Min.
    here is how the data mock up looks like
    config1 - product1- Inventory - 100 (Period1)
    config2- product1-Inventory-200 (Period1)
    config3-Product1-inventory-400 (Period1)
    now the output expected is
    Config1-Product1-Inventory_MIN - 100(Period1) since for this product across 3 configs, 100 is the minimum inventory.
    I am trying to use @RANGE,@MINS but i am not sure how to tell essbase to go down the Part Dimensions, level 1 members and not across the Period.
    any help or points will be appreciated.
    Thanks,
    Sriram

    Hello,
    what about @MINSRANGE ?
    http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/minsrange.html
    Inventory_MIN = @MINSRANGE(SKIPBOTH, "Inventory" , @LIST("config1","config2","config3"))
    should give the result,
    if you FIX @RELATIVE("Part",-1) to grab level 1 members.
    and you can extend expression something like
    Inventory_MIN = @MINSRANGE(SKIPBOTH, Inventory , @CHILDREN(@CURRMBR("Part")))
    Hope it helps,
    Ahmet

  • Custom Dimension

    Dear All
    At present I am using Business Area in ECC 6.0 (EHP4).  The requirement is to derive Financial Statements at a Branch/Plant level.  I was told that Business Area functionality is out of use and there wont be any further enhancements in the functionality of Business Area.  I can create Profit Center for a combination of Legal Entity/Product/Branch.  However, I will be ending up with more number of Profit Centers which will be difficult to Manage.
    I came across a functionality 'Custom Dimension' wherein a Custom field can be added to capture Branch or Plant in all the Financial & Logistics documents accross the Company Code.  I would like to know more about Custom Dimension and whether it is available in ECC 6.0 EHP4 version.
    Thanks in Advance
    Janakiraman

    Hello,
    is this with the Product Hyperion Financial Management?
    If yes, you might close the issue here and post it in the HFM group.
    Regards,
    Philip Hulsebosch

  • Custom Dimension - Customer Field

    Dear All,
    Please help in following questions:
    1. Whether 'Custom Dimension' is interchangeably used for 'Customer Field' in ECC6.0 New GL?
    2. If no, where are the IMG activities for custom dimension?
    3. If yes, do I need to create a master record for individual item in a customer field? For eg. customer field is created for 'Vehicle No.', for each vehicle, do I need to create a master record for capturing the vehicle code (where vehicle code is defined in other system running parallel to SAP & through interface for creating an accounting document, we are taking the same into SAP)
    4. Whether creation of master record for customerr field is always an IMG activity?
    Your earlier reply will help me in closing certain issues faster.
    Thanks & regards,
    Amish.

    Hi Kan
    What kind of field do you need to add? Dimension or Measure?
    Based on your initial investigaton, I will asume that its a dimension (SPM also has multiple custom measures per object).
    I guess the confusion arises with the nomenclature (which will be cleared in the next release - they will be all named Custom Dimensions 1 - N).
    0XSARC001C1 to 0XSARC001C7 and 0ASAC001C1 to 0ASAC001C8 are available for customizations. They total to 15 custom dimensions. The ones 0XSAR* are defaulted into the data model and wired up from the inbound all the way to the cube. The remainder of the eight dimensions 0ASA* are also available for custom usage but might or might not be wired into the data model out of the box. For the cases where the custom fields are not part of the data model, feel free to bring them in as part of your customizations.
    What you need to be mindful of is that the way these dimensions are plugged in, as an example the field 0XSARC001C1 is set to be a "Line Item Dimension" in the 0ASA_C02 - Invoice cube.
    The other mis conception, especially for people new to analytics and BW, is that these are custom "fields" for the respective objects. Thats not really the case, since they are joined "at the hip", so to speak, in the reporting layer multiprovider. The custom dimensions would need to MEAN the same across objects. For example if you set the custom dimension 0XSARC001C5 to mean Procurement Sustainability Factor in invoice, then this field has to hold its meaning of being Procurement Sustainability Factor across all of the other objects (Contracts. POs, etc...).
    Hope that helps.
    Regards
    Rajesh

  • How to delete a custom dimension in planning - 9.3.1

    Hi
    some one please let me know how to delete a custom dimension in planning
    Thanks

    I never promote the method the deletion unless you understand the underlying tables of planning, if you search on the forum you will see posts on the subject just like this one - Delete dimension from planning application
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Error while running Webi report that uses Custom Dimension object(SAP BW)

    Hi,
    I have a universe that is based on SAP BW.I have created a custom dimension object that displays the maximum date.
    The object syntax is
    <expression>Max(@Select(CPS Online\Calendar day))</expression>
    The object parses successfully.
    The object 'Calendar Day ' is a defaultobject created during universe creation from the BW query.It is defined as [0CALDAY].[LEVEL01]
    I tried  to create a Webi report using this object and a measure .On running the query it throws the following error:
    A database error occured. The database error text is: The MDX query WITH MEMBER [Measures].[EBC10672-C0DA-4998-93,80,D3,FF,C3,E8,A2,22] AS ' Max{[0CALDAY].[LEVEL01]} '  SELECT  { [Measures].[EBC10672-C0DA-4998-93,80,D3,FF,C3,E8,A2,22], [Measures].[4JCOSFOKKCUR3RMBPNROFKQQD] }  ON COLUMNS , NON EMPTY [0CALDAY].[LEVEL01].MEMBERS DIMENSION PROPERTIES [0CALDAY].[20CALDAY] ON ROWS FROM [ZCCPSONL/ZCPSONLINE]  failed to execute with the error Invalid MDX command with (. (WIS 10901)
    I have tried every possible syntax I could think of but I keep getting this error each time.I have set the object type to Number (even though it is actually a Date), I have tried writing the MDX inside the Max instead of the @select , but nothing seems to work.Could anyone please let me know why this error is occuring?Is there anything wrong with the syntax or is there any setting in Webi needed before a custom dimension object can be used on it.

    Can you see data for Custom object @ BEx level??
    YES, then just try to re-create the same variable and Save the BW query.
    Now do View - refresh Strusture @ Universe. And you can see Filter for the same, just Parse it, just whether it is OK or not.
    OK -- then Export the Universe and create WebI reports, this will come as Prompt.
    Hope it will helps you.
    Thank You!!
    Sent from iPhone

  • Can We Create Custom Dimension ontop of BI Infocube

    Hello Guys,
    I need help on below questions. i appreciate all your help in advance.
    Can we create Custom Dimension ontop of SAP BI Infocube ? Does it support all functions like SQL and ORACLE database supports ? Can any body have list what kind of function it supports ? Does it support If..else ..if condition ??
    Ex. If Account = 410000 and Profit center inlist 100,200,500,999 Then u201CSales Revenueu201D else ifu2026.etc., Can we write this kind of condition in Universe on top of SAP BI Infocube ?
    Regards,
    Komik Shah

    Hi,
    here are some examples of what you can create:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0a45246-ce76-2b10-e688-f5c8206203eb
    Ingo

  • RE:calculated Average Valuated Stock Value

    Hi ALL,
    how to calculated Average Valuated Stock Value  logic (The sum of the daily stock value for the time frame of the analysis divided by the number of days) please guide me.
    regards,
    ravi

    Please ...........................
    guide me.......................
    how to created formula for this logic
    (The sum of the daily stock value for the time frame of the analysis divided by the number of days)
    Regards,
    ravi

  • How to consider only values 0 when calculating Averages

    Hi,
    Currently, I am using Avg (table.column) function to caluclate averages. However, one of our user wants to only consider records that are >0 when calculating averages. For example if a result set as 10 records, and only 2 of them has values >0 then typically Avg function would caculate based on (sum of 10 records/10). But per our user's requirement, he wants to consider (sum of 2 records/2) and ignore the remaining 8.
    Can you please tell me how to do achieve this?

    I found the solution after much deliberatiion myself :-). I used the following formula instead of the AVG function and it worked.
    Note that "Fact - +fact name+".column is a numeric column and can have null values.
    SUM(IFNULL("Fact - +fact name+".column, 0)) / COUNT("Fact - +fact name+".column)

  • Roll up hierarchie in custom dimension

    Hello,
    I'm trying to add the cost of materials so the node member could collect the total cost of the group.
    I have a dimension P_Material where materials are organized in groups by hierarchie:
    ID         Descr                              PARENTH1
    matA    Materials class A
    0001     xudud                             matA
    0002     yszysy                           matA
    Every material has a cost, represented by a member in a custom dimension P_Ratio.
    The problem is, once I have the cost of every material in the group, I don't get the subtotal cost rolled up.
    I made a BEX query and I got the subtotals but with a BPC report it seems to have no data.
    Could you please help me with this issue? give me some ideas?
    Thank you!

    Hi Ethan,
    My EvDRE structure is :
                                                                     P_RATIO        
    P_PRODUCTION     P_MATERIAL     
    And the member of P_RATIO is totcost.
    Thanks for your time!

  • Can We generate Check report based on Custom Dimension in FDM

    Hi All,
    We got a requirement in our project to generate the check report based on custom dimension. As far as i know the check reports that got generated in FDM are based on Entity Dimension.
    So, will you please let me know whether it is possible to generate report based on any one of the custom dimension.
    Thanks.

    I guess I am not understanding the question here?
    The check report is based on the location/entity that you are running the report for.  You can pull values for a specific intersection in the target application with the check report, so you could specify the custom dim in the intersection.

  • Loading Parent Keys in Customer Dimension

    I have a question about how to setup my mapping for my Customer Dimension. A subset of the dimension attributes is below:
    Customer_Key (Surrogate Key)
    Customer_Number
    Parent_Key
    Bill_To_Key
    My source table has the following fields:
    Customer_Number
    Bill_to_Customer_number
    Parent_Customer_number
    I am having difficulty in visualizing this because I can see where the current record may be for customer 10 and its parent is customer 20. Since I have not loaded the record for customer 20, I cannot use a lookup to get the surrogate key for customer 20 as it does not exist. So, my only thought was to load the dimension without the parent and bill_to keys and then run a post-mapping process to update the missing fields. This works, but takes an extremely long time (4 hours) as there are over 300,000 records that it has to update. Maybe my post-mapping process was just inefficient, I am not sure. What I am doing is running an update command on my dimension and looking up the customer-numbers from my staging table, then looking up the surrogate key in my dimension.
    Is there a better, more efficient, way to do this?
    Thanks,
    Jason

    I did a little more work with this and have developed at procedure in the post-mapping process that updates the necessary fields in about 3-4 seconds.
    Sorry for taking up extra room in the OWB forum with a sql efficiency issue.
    Thanks,
    Jason

  • Custom Dimension sql names in version 11.1.2 HFM Data Extract

    Does someone know how to reference the Custom Dimensions in Hyperion 11.1.2 in Hyperion 9.3 they were custom1_item, Custom2_item,custom3_item, and custom4_item but I am not sure what they are now called? any help would be appreciated.

    I'm not clear on what you're after, but I think your question is about the item tables in HFM's database? If so, the custom dimension table is now appname_custom_item for all of the custom dimensions. Each custom is then distinguished by LDIMID field, which contains the custom dimension's number "1", "2", "3", "4". I've not examined the same for 11.1.2.2 for an application having more than four dimensions.
    --Chris                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Filtering and calculating averages of array subsets

    I've got a 2-D array coming out of a loop and I need to calculate average for subsets corresponding to iterations 0-9, 10-19, etc..  Additionally, I need to filter out values above and below acceptable limits before calculating average.  Any suggestions for how to approach this?
    Solved!
    Go to Solution.

    My suggestion is to slog through each array subset, use a for loop to add up the values you want, keep track of the number of values, then divide out for the average. 
    Every tenth reading you could clear the sum and counts.
    The results would be saved in an array that only adds a value every tenth loop.
    You could keep track of the one to ten value separately from the number of values accepted ( a.k.a. Filtering).
    So my slog suggestion would be a for loop, two counters ( # accepted values and one to ten count), an array to store the averages and a numeric to hold the sum.
    The filter criteria would produce a Boolean that would toggle adding to the sum and adding to the # accepted values.
    The Sum and the counters need to be shift registers, and as I mentioned, there would be some logic to clear these shift registers every time the 'one to ten' count got to ten
    Mark Ramsdale

  • Macro to call custom dimension

    Hi ,
    What macro command i can use for showing the dimension members.
    like., MNU_ESUBMIT_MEMBERSELECTOR_E gives the list of all  members of entity dimension, I want to use this macro for calling a custom dimension P_Activity.
    Is there any code that can make this functionality possible.
    Thanks in advance,
    Sridhar sundaram

    Hi Sridhar Sundaram,
    To elaborate more, for example if your userdefined dimension has a type of U1 it corressponds to Ua, U2 to Ub, etc. then replace x with the appropriate letter. Ex. MNU_ETOOLS_MEMBERSELECTOR_Ua
    Regards,
    Marvin Santos

Maybe you are looking for

  • How to Block the posting from a Comapny code

    hii any abody please clarify my doubt .  I have two  comapny codes i.e 1000 and 2000 those are  having same chart of accounts and posting period variant and fiscal period . Now i want to block the comapny code 1000.  I did so many postings made in co

  • Transferring analog cassette tape to GarageBand 3

    Hi- My daughter has a cassette tappe of gymnastics floor music and wants to put it into GarageBand so she can make a CD of it. Is there a good way to do this and what sort of cables would I need to do this? Thanks- DMitz

  • Message Resend Option in Message Monitoring

    Hi Everybody, I am working on a Idoc to SOAP Scenario. The message is successfully processed in Integration Engine(No errors in SXMB_MONI) but due to connection issues with the receiver the message fails at reciever SOAP adapter. Can we resend the me

  • Simple Date parsing Error

    Hello, I have used Simple Date extensively and have recently found what I think may be a bug. The API says that any string or character can be ignored in the input pattern by simply putting single quotes around it. If I have a date in raw format as f

  • How to save objects in file

    Hello, I am concerned with how to save a Vector into a file. Can anyone help me ?