Concatenate within Cross Dimensional Reference

I am trying to write a calc script in Essbase 7.1.3. I am trying to assign a value to one dimension based on a cross dimensional reference. In the CDR, I want to make it dynamic. I am trying the following. The syntax will not check. What am I doing wrong? I have checked other posts and can't find a solution. I can't make this a member property, it has to be a calc.<BR><BR>Thanks for any help!<img src="i/expressions/face-icon-small-confused.gif" border="0">

No typo. I slimmed down the calc a bit so it would be more discussion board friendly.<BR><BR>We have input currencies and reporting currencies. The data is loaded to input and translated into the reporting currencies. For example<BR><BR>CR_Loc = CR_Loc_Input + (CR_USD_Input*USD Rate)<BR> where USD rate is found using the range formula above<BR><BR>Real world example:<BR><BR>A Japan user input 100000 yen for a data point as well as 100 USD for the same data point. If we create a pure local currency view the math would be <BR><BR>100,000 Yen + (100 USD * 100 Yen/USD) so CR_LOC = 110,000<BR><BR>We use the range formula to retrieve the currency rate as stored in the data intersection for the account (1 oer currency) and the CR_USD reporting currency. So 100 is stored in CR_USD->AC_JPY_Rate.<BR><BR>I know this is probably far more detail than you needed but thought it might be useful for others if they encounter the same problem.

Similar Messages

  • Alternatives for 250+ cross-dimensional operators

    Our geographical product segmentation has altered. I have to change the outline. We have departments and products. Normally we could report on the sum of departments and on the sum of products. Now because of the switch in segmentation we can only report on products. Some of the same products are made by mutiple regions. I have to make an hierarchy which can report on products for regions. In this instance in the outline, there is one product member and two department members. I have made formulas to pull the product apart to regions.
    I have done this with cross dimensional operators:
    For example product A is made by department 1 and 2. I made two formulas in the product dimension ProdAdep1 and ProdAdep2:
    Member formulas:
    ProdAdep1 = Product A -> Department 1;
    ProdAdep2 = Product A -> Department 2;
    Product A is now made ~ and ProdAdep1,ProdBdep1, ProdCdep1 count up to Total products department 1.
    I made all these formulas dynamic calc. Both the product and department dimension are sparse. There are now 250+ formulas and the caculation of the database became very slow. In my Essbase bible 'Look smarter than you are with Essbase 11' I found that the usage of a lot of cross dimensional operators is unseemly and slow.
    So I figured out an alternative, a calcscript with a fix.
    FIX("Product A")
    ProdAdep1 = "Department 1";
    ProdAdep2 = "Department 2";
    ENDFIX
    But this doens't work either. Can anyone help me to think out the best solution?

    Thank you Steve, its a bit more complicated.
    Departments roll up to regions, products also roll up to regions, but we also have shared (central) products.
    For example department 1 in region X (department dimension) can have product A (product dimension) and department 2 in region Y (department dimension) can have product A (product dimension) also. The wish is to report on products and have a full view of the regions within the product dimension.
    How it is now:
    Department dimension:
    Total Region X
    |- Department 1
    |- Department 3
    Total region Y
    |- Department 2
    |- Department 4
    Product dimension:
    Total Region X
    |-Product C
    |-Product D
    Total Region Y
    |- Product E
    |- Product F
    Central Products
    |- Product A
    The Wish:
    Department dimension:
    Total Region X
    |- Department 1
    |- Department 3
    Total region Y
    |- Department 2
    |- Department 4
    Product dimension:
    Total Region X
    |-Product C
    |-Product D
    |-Product A (for region X based on department)
    Total Region Y
    |- Product E
    |- Product F
    |- Product A (for region Y based on department)
    Central Products
    |- Product A ~
    It isnt possible to add a dimension, because the problem occurs on level 0.

  • Optimisation of cross dimensional calculations

    Hi,
    Here's a script which should not take too long to run. However, this script runs for hours. Any suggestions would be great. I have added some more details about the dimensions involved.
    Outline of the script:
    /*Script Begins*/
    SET UPDATECALC OFF;
    SET CREATENONMISSINGBLK ON;
    SET CACHE ALL;
    SET CALCPARALLEL 5;
    SET CALCTASKDIMS 2;
    SET NOTICE LOW;
    SET MSG SUMMARY;
    FIX (@ATTRIBUTE("Existing"),@Relative("Location",0),@RELATIVE("Entity",0),&pln_scenario,"BU Budget",&plan1_yr,@RELATIVE("BOM",0), @RELATIVE("YearTotal",0))
    "RMQ" = "location wise Sales Volume"->"UBOM" * "RMQ per Unit SKU"->"All locations"->"YearAgg";
    ENDFIX;
    ENDFIX;
    /*Script Ends*/
    UBOM is a member of BOM, "YearAgg" is a dummy member in period dimension and "all locations" is a dummy member in location dimension.
    Dimension details: Evaluation Order which has been thought through.
    Dimension Members Density
    Account 352 Dense
    Period 35 Dense
    Version 3 Sparse
    Scenario 8 Sparse
    Location 7 Sparse
    Year 9 Sparse
    Entity 20 Sparse
    Product 416 Sparse
    BOM 938 Sparse

    Are you sure that changing the cross-dimensional order of members makes a difference?
    "location wise Sales Volume"->"UBOM" * "RMQ per Unit SKU"->"YearAgg"->"All locations";instead of
    "location wise Sales Volume"->"UBOM" * "RMQ per Unit SKU"->"All locations"->"YearAgg"really improves how Essbase reads its index and page files?
    It seems to me that Essbase is pointing to the same block, no matter the order of the dimension combinations.
    The same goes for a FIX: I can't see how the dimension order within a single FIX statement is going to cause Essbase to touch blocks differently as it will be the same list of blocks (and cells) however it's combined.
    Have you benchmarked the cross-dimensional member order? I'd be really interested to hear re any differences in performance.
    Regards,
    Cameron Lackpour

  • Creating a static library with XCode cross-project references.

    I have a project and am trying to move a lot of the code into a static shared library, and added a cross project reference to this library in my app.
    However, when I moved a file from my app to the library (removing the reference in my app and moving the file to the library's project directory), and try building my app, I get compiler error messages as if the file I have moved doesn't exist.
    When I build my library project, it says the build has succeeded, but the library.a file remains red. It is also red in the my referencing app project.
    If anybody has any experience setting up cross-project references in XCode, I'd appreciate any help.
    If it helps identify where the problem is, I've performed the following steps to setup the library and cross-project reference:
    1. I created a new Cocoa Touch static library project in XCode which would house the shared code.
    2. I changed the global settings in XCode to place the build products in a shared build directory (rather that the project directory), and made sure the intermediate build files are placed with the build products.
    I changed this using the Preferences menu, but have also gone into the project info for both my app project and the library project and made made sure it is set to place the build projects in the custom shared build directory.
    3. I then added a Source Tree, and made sure that the Path of the project directory of the library project.
    4. I added a project reference to the library project's .xcodeproj file in my application project. I changed the library project reference so that it was relative to JIGSAW24LIBRARY.
    5. I configured the library dependencies by going to my app's target's info, and adding a direct dependency to the library project.
    6. In my app's info build tab, I changed the user header search paths so that it uses the search tree I setup (I used the $(SEARCHTREE_NAME) notation, but checked that this resolves to a valid path). I also made sure that the Always Search User Paths checkbox is checked, and that the Library Search Paths is blank.
    7. I click-dragged the library.a file under the library project so that it was under the Link Binary With Library sub folder of my app's target.
    For step 5, I've also tried adding the reference to the other project as a linked library, rather than a direct dependency, but this doesn't seem to work either.

    I managed to fix the problem. The steps above seem to be correct. The problem seems to be related to the source trees that are defined...
    I was previously using an absolute path for the source tree which pointed at the folder containing the library project. I changed this to a relative path to the same folder (relative from the calling project) and this seems to fix it.
    I'd double checked that the absolute path specified was correct, so it looks like the user header search paths specified must be relative to the current project.

  • Substitution variable in a cross-dimensional operator

    All,
    Essbase doesn't like this:
    "Jan"(
    ("Actuals"->"2011"->"001"->"abc") = ("Run1"->"2011"->"000"->&varAP);
    can I have a substitution variable inside a cross-dimensional operator?

    The basic construct works for me in Sample.Basic. When you say Essbase doesn't like it, what exactly happens - fails syntax check, errors on execution or just doesn't produce the right results?
    Sometimes it's necessary to include quotes in the subvar value itself, e.g. setting your subvar to *"X Y Z"* including the quotes rather than X Y Z.
    I would guess you've already tried this, but does the script validate and run successfully if you replace the subvar with the value of the subvar?

  • Local variables with cross dimensional operator

    Hi,
    I have a business rule, which has the following calculation :
    VAR TOTPROD;
    TOTPROD = "Prod1"+"Prod2"+"Prod3";
    "MBR1" = "MBR2"->"Jan"->TOTPROD/"MBR2"->"YearTotal"->"TotalProducts";
    The above statement does not run for obvious reasons that TOTPROD is not a member name.
    Is there a way to use a local variable in a cross dimensional operator statement?
    I want to use the local variable in order to avoid making an alternate hierarchy.
    I am using Essbase / HPB 11.1.2.2
    Please help.
    Thanks.

    Hi
    As you state, I dont think the approach that you have is going to work.
    What about either
    a. Creating a dummy product member in your outline and place your result on it (or use an existing 'dummy' product member)
    b. Re-write your code to handle what you wish to do....something like (assuming you are adding Prod1, 2 and 3):
    "MBR1" = ("MBR2"->"Jan"-> "Prod1"+"MBR2"->"Jan"-> "Prod2"+"MBR2"->"Jan"-> "Prod3")/"MBR2"->"YearTotal"->"TotalProducts";
    Not sure if I am missing anything here, but do either of these suggestions help?
    JB

  • Cross Dimensional

    Hi. it is possible to be used with members dynamically in cross dimensional???

    If you are asking can the cross dimensional calc operator (->) be successfully used in a dynamic calc member formula, the answer is yes. If you are asking a different question, please clarify.Todd

  • Cross Dimensional Security in Planning

    Got a scenario where the customer is asking for cross dimension security in planning and not sure if it's possible
    Simple Example
    Assume 2 dimensions. Account and Entity
    Entity has 2 members E1234 and E1235
    Account has 2 members Axxx1 and Axxx2
    User is User1
    User should have the following access (assume it's all ReadWrite)
    Axxx2 but only for E1234 (so can't ReadWrite for Axxx1 in E1234)
    Axxx1 but only for E1235 (so can't ReadWrite for Axxx2 in E1235)
    Based on the SecFile.txt
    I could write
    User1,Axxx2,ReadWrite,Member
    User1,Axxx1,ReadWrite,Member
    User1,E1234,ReadWrite,Member
    User1,E1235,ReadWrite,Member
    But I have now given him/her access to everything.....
    I'm worried the answer is that you can't do it. I know you could do it in Essbase itself but can't figure out something for Planning.
    My problem is actually far more complicated than this but if I could do understand this simple example I think I can do everything I need.

    One way to get around this issue is to physically merge the dimensions where you need cross-dimensional security. It's not a great solution, and with large dimensions can be completely impractical due to the number of potential combinations. But if one of your dimensions is small, it can work.
    In our case, we wanted cross-dimensional security on Entities and Departments. We didn't have to create a member for every combination of Entity/Department, because not all combinations were valid (or had data), so we were able to limit the combined dimension's size somewhat.
    - Jake

  • Dimensional References for Cinema VESA Mount Adapter

    I would like to know the dimensional references based in the displays outside edges (vertical and horizontal) for each of the four screw holes available for the Cinema display VESA Mount Adapter.
    Rogerio Pinto
    Apple 30" CinemaDisplay    
    Apple 30" CinemaDisplay    

    Hi,
    There is no custom made for the machine. VESA mount is a standrad and it will fit if your machine also has this standard. They sell many shapes and sizes around, you can find one at your local TV shop given your PC supports VESA mount. Please use the following article to check your machine at the back:
       http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&lc=en&docname=c03437336
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Cross dimensional analysis

    Hi,
    I'm not sure if this is possible or not so bear with me.
    We've got quite a complex cube used for sales reporting and the users want to be able to extract some additional data.
    To simplify it down, assume we have a number of products sold through a number of channels and sold by a number of different companies.
    For the set of companies that a product can be sold through, this is dependent on the relationship between product and channel.
    For example
    Product 100 + Channel A = Company Z
    Product 100 + Channel B = Company X
    Product 200 + Channel C = Company Z
    and so on.
    The difficulty is that there is no pattern to say that every product 100 or everything in Channel A is sold through Company Z.
    I wondered if Alias Combination would work but that I'm not sure that is the correct way of doing things.
    I next looked at whether I could set up a Company dimension and use the cross dimension operator (->) within a member formula to calculate the values. This didn't seem to work very well.
    Is there some other way of doing this that I'm not aware of or is it even possible?

    Hi GlennS,
    I can see that your suggestion should work in the situation where a product or channel both have a unique mapping to a company ie. Product 100 maps to company Z no matter which channels its sold through and everything sold through Channel B goes to Company X no matter which products.
    The mapping to company in my example is at the combined relationship between Product and Channel. So for Product 100, if sold through Channel A then that could be Company Z, however if sold through Channel B then that might be Company X.
    For Product 200 it might be that sales through Channel A go to Company Y, while sales through Channel B go to company Z.
    In your example I would have to mark Product 100 as being either Company X or Z, when it reality it could be sold through either company depending on which channel its sold through.
    Don't ask me why our sales structures are so complicated!?!
    I guess if I think to how I would do something like this in excel, for each data value I would probably concatenate the product and channel together to get a unique reference. I could then test this reference using a lookup table of some sort to determine which company it relates to.
    Does that make sense?
    It's something that feels possible in Essbase but perhaps its a bit too complex to try and implement fully...

  • Global items for cross application references in Apex

    Hi,
    With reference to discussion (Re: Setting Application Items across APEX Applications) , I would like to know if we can pass values from one application's global item to another application?
    The above mentioned discussion didn't seem to reach to any conclusion.
    Scenario is -
    1. Application 1 has a global item G_USER_ATTR1 which gets fetched with certain attributes when user logs into the application, at page 101.
    2. There is a link between App 1 and App 2, where it is expected to receive values for G_USER_ATTR1 from App 1 to App 2, when you navigate from App 1 to App 2, where authentication is handled by cookie.
    3. On App 2, the value for G_USER_ATTR1 does not get fetched.
    Am I missing something here?
    Also, when what is the preocess flow on page 101 when a user gets authenticated by cookie while navigating from App 1 to App 2?
    I used a page process to fetch the values again in the item on App 2's page 101's post processing pl sql block. But it didn't solve my problem. Please help.
    Other than this, the badge report template on Apex 5 Universal Theme doesn't work. I named the columns in query to match with the substitution strings in report template, but it didn't work. The card template for report however works fine . What can be the issue?

    Farhan,
        look at Grassroots Oracle: Shared authentication across multiple APEX applications blog for shared authentication,
    if you miss something to set share authentication.
    Farhan Siddiqui wrote:
    1. Application 1 has a global item G_USER_ATTR1 which gets fetched with certain attributes when user logs into the application, at page 101.
    2. There is a link between App 1 and App 2, where it is expected to receive values for G_USER_ATTR1 from App 1 to App 2, when you navigate from App 1 to App 2, where authentication is handled by cookie.
    3. On App 2, the value for G_USER_ATTR1 does not get fetched.
      First check whether Application Item name in both application is same and
    set scope of application item in both application set to global.
    Farhan Siddiqui wrote:
    Am I missing something here?
    Also, when what is the preocess flow on page 101 when a user gets authenticated by cookie while navigating from App 1 to App 2?
    I used a page process to fetch the values again in the item on App 2's page 101's post processing pl sql block. But it didn't solve my problem. Please help.
    No need to write plsql block for set value of Application item in application 2.
    simply refer or use :G_USER_ATTR1 as value in Application 2.

  • New to Cross Dimensional Calcs

    Can someone tell me or point me in the direction of the best way to get started with cross dim calcs? Is there any documentation; papers, books, newsletters, examples, etc. that can help me get started?Any help will be greatly appreciated. Thanks Ptayes

    Well, aside from the Online Help or database admin guide, there isn't really much out there.Perhaps you could post what it is you are looking to do, or what problem you are trying to solve and someone on the forum can give you some pointers (no pun intended).Regards,Jade-------------------------------Jade ColeSenior Business Intelligence ConsultantClarity [email protected]

  • Can a subquery hosted within a table reference that hosting table?

    I have a large table that tracks Orders and Deliveries ("OrderAssign"). The OrderID column has a dropdown with a query that references some other tables that cover order details, like when each Order is due.
    I'd like the dropdown query to only display order details for Orders that haven't been filled ("OrderAssign.Filled = 0"). The problem, I think, is that this would mean the query would reference the table that hosts it. Is this possible? I tried
    to set up a test case, and got a generic syntax error I've seen many times before when the syntax is correct, but I'm using a SQL structure that Access doesn't like. 
    This table is linked to SQL, so I could also write a SQL view or function if that makes a difference.
    I'm using Access 2010. Thanks!
    EDIT: Huh, so I figured out a way, I think. I created a SQL view that filtered the records the way I wanted; then used the Linked Table Manager to create a linked view; then used that linked view in my dropdown subquery.
    So I guess my follow up question to this is: is there any reason I SHOULDN'T do this? Will there be any issues with existing records in the table whose values will no longer show up in the constraining dropdown subquery?
    EDIT 2: And I think I found the deal breaker. The field doesn't display the first column with the "real" info, the ID#. It displays the second. Once you add a query that doesn't display every row in the table, that query no longer has results to
    display for the filtered records. So some of the records display the "real" info, which the users don't want to see, and the open records show the second field. Messy.
    hydrogonium

    I might not be using the right terminology. I have a lot of experience with SQL Server, relatively little with Access. I am doing this for a client who is used to entering data directly into the table, and wants minimal changes. However, the dropdown literally
    has thousands of entries, which could be pruned by ~80% if filled orders are filtered out.
    The table has "dropdown subqueries" (probably not the right term), which were created like so:
    - Go to the Design tab.
    - Click on the field you want to modify.
    - Go to the lookup tab.
    - Change the Display Control to 'Combo Box'
    - Change the Row Source to a query, in my case, 'SELECT * FROM LinkedSQLView'
    - Format the list as you want it displayed; in my case, the actual ID# is hidden in the first column, and the other ten columns are displayed.
    The fields in question are:
    - OrderRequestID (Number on Access / Int on SQL Server) - has a dropdown.
    - OrderFillID (Number on Access / Int on SQL Server) - has a dropdown.
    - OrderFilled (Yes/No on Access / Bit on SQL Server).
    Purpose / Background: This table is basically a clearinghouse for entities making orders and other entities filling them. My client sits in the middle and matches everything up. It can get very complicated, because different products qualify for different
    orders, and the amount supplied can be smaller or greater than an individual order.
    hydrogonium

  • Preventing Various Cross Dimensional Combinations

    I have a data form with divisions and cost centers as separate dimensions in the page view. Certain combinations of divisions and cost centers are not valid for e.g. Division 7,Cost Center 13. How do I prevent users from selecting invalid combinations?

    No I don't think so. That poster seems to be trying to pull up a set of cost centers based on divisions selected. Seems like there is nothing out of the box for that, though if there was it would solve my problem.
    I am trying to avoid the situation where a user erroneously selects say division 7, cost center 13 which is an invalid combination business wise. I'm wondering if there is some sort of control for that. Otherwise users can enter any division/cost center combination whether it actually exists in the business or not.

  • FDM Cross Dimensional Scripting problem

    Hi,
    The below script isn't working. I'm trying to get just the 812 & 813 to map to 10145. I usually never use this many variables, so not sure why this isn't mapping correctly. Any help would be appreciated.
    Thanks,
    JF
    StrAccount=Ucase(VarValues(14))
    StrLid=Ucase(VarValues(25))
    StrCC=Ucase(VarValues(23))
    Select case StrAccount
    Case "9999", "7455", "6464", "7665", "6466"
    Select case StrLid
    Case "ALLO"
    If StrCC = "812","813" then
    Result="10145"
    Case Else
    Result="10144"
    End if
    End Select
    End Select

    Actually, since your End If seems to be in the wrong place, maybe the If statement should be contained on a single line?:
    If StrCC = "812" Or StrCC = "813" Then Result="10145"
    In all, I'm guessing that your code should look like this:
    StrAccount=Ucase(VarValues(14))
    StrLid=Ucase(VarValues(25))
    StrCC=Ucase(VarValues(23))
    Select case StrAccount
         Case "9999", "7455", "6464", "7665", "6466"
              Select case StrLid
                   Case "ALLO"
                        If StrCC = "812" Or StrCC = "813" Then Result="10145"
                   Case Else
                        Result="10144"
              End Select
    End Select

Maybe you are looking for

  • Can I use Front Row with macMini (PowerPC)?

    Is Front Row compatible with macMini PowerPC version and Tiger? Or does it need Intel?

  • Using Arrays in a program

    First, I would like to thank everyone in this forum for all the help they have given me over the past few weeks. With that said, I am currently trying to alter the following code to accept and use arrays to end to produce three seperate results. The

  • What is the SLD HTTP Port number?

    Hello All, What is the HTTP Port number that U should provide while doing the NWSP14 WAS installation. Regards DK

  • Business Package for DMS Connector for KM

    Hi, We have installed the Business Package for DMS Connector for KM 1.0 after downloading from the SolMan. After the install we wish to configure it to point to the proper repository in our R/3 landscape. But when we go to System Administration->Syst

  • Os x mavericks 10.9 can't open app store

    I have updated to OS X 10.9 last night as of this morning I can not accsses app store. I did all updates from the app store after the 10.9 update and left the system over night. Today I tried to open app store and nothing, I have rebooted the system