Adding a substring in a script of Essbase calc

All,

I need to do something a little unusual. I need to take the value of a member account and assign it to another, using part of the name of the account member.

For example:


Difficulty ("fy12', 'jan', 'real')

"001")

"PostAllocated"->"995"->"995_In"->"997_Out"->"* ACCOUNT_XXX *" = "PostAllocated"->"995"->"995_In"->"997_Out"->"* ACCOUNT_XXX *" +.
("Run1"->"allotted in advance"-> "000"->"IC_InLoadMember"->"IC_OutLoadMember"->"APLoadMember") * ("Run1"->"PercentAllocated"-> "000"->"001_AP"->"995_In"->"997_Out"->"NA_Entity"->"AcctLoadMember");

)

endfix

where "ACCOUNT_XXX" is where I'd like it to be 58321_XXX, for example. It will not be corrected on all specific accounts, it will apply to all accounts, so in this case, we want that she take the substring of the left side of the name of the Member account and apply it to membername_XXX, another account.


Thanks in advance!

Hi, probably, you need this syntax, and you can put inside the dimensional cross

@MEMBER (@Concatentate (@Name (@CurrMbr ("Account")), "_xxx"))

Juan Carlos

Tags: Business Intelligence

Similar Questions

  • Call the Essbase Calc of custom Script FDMEE script

    Hi Experts,

    In my reuirement, I must run Essbase calc script to export the perticular accounts data and then import these data into FDMEE to load in another planning application.

    I know we can run the Application Esbase calc script fromTarget page and after load. but in my case, executing the script should happen prior to importation.

    Aanybody may suggest an example if I can call the script to calc Essbase to a custom event BefImport script or FDMEE script? an example of the syntax would be useful

    Thank you!

    Hello

    are what version of FDMEE you?

    You have an example document to support FDMEE sample scripts (Doc ID 1613836.1)

    You can have a MAXL command in your batch file to perform the extract

    Example 5

    An example script to calc to perform an Essbase excerpt and then load the file extracted with FDMEE.

    1. Create a batch (.bat) file that performs extract Essbase.
    2. Call the scriptimport BefImport event operating system batch file
      import of subprocesses
      Import shutil
      OS.chdir ("D:\temp\\BatchFiles")
      command = ' D:\temp\BatchFiles\helloworld.bat > helloworld.out '
      p = subprocess. Popen (Command)
      RETCODE = p.wait)
    3. Load using FDMEE HelloWorld.out

    The Jython script can be created in the BefImport Script.

    Then you can have a rule of data loading with a file in it name (Ex: Essbase_Extract_XXXX) where XXXX is that five-year period.

    Your jython script should create this file, so in the case of import, the data is imported

    Keep in mind that it is an output of feature 11.1.2.4 box so if you are in 11.1.2.3.x I wouldn't put a lot of effort in a complex solution

    I hope that this puts you on the right track

  • Use of Variables in a Script of Essbase report

    I know you can use a variable in a script with Essbase report & at the beginning of the name.  Example & CurMonth.  This works very well for me.  But, you can use & FcstMonths when the value of the months are more than one Member?  It works in a calc script when & FcstMonths = March, April, may, June... etc, but, when I use it in a report script, the script will not validate the saying "unknown member of the value.  I tried to change it to January.February.March... etc.  I also tried February: December.  None of them does not seem to work.  Is it just not possible for Essbase report?  Thanks in advance.

    If you want to include a list of members in the report script, you specify the members separated by spaces.  If you set the variable...

    "Mar" "Apr" "May" "Jun" "Jul" "Aug" "Sep" "Oct" "Nov" "Dec"
    

    ... I think you'll find that it works.

  • Executing Script clear Essbase through FDM event scripts

    Hello

    Is it possible to access and run the script clear essbase through event FDM scripts? I know, a method is to modify the action of the load, but was wondering if can be done otherwise.

    Thanks in advance.

    The Essbase client is installed on the application server in FDM, then Yes. You can create a batch file that calls a calc via Essbase Client script and run it your script of the event

  • Forms and Essbase Calc Scripts

    I have several (not the rules of trade) calc scripts created in Essbase. When I create a form of some of these calc scripts will have the "members on data use" option grayed out while others are not. I can't see a difference in calc scripts.

    What I'm missing or where can I go to learn more, most of the documentation I find refer to the rules of the company and do not apply to calc scripts.

    Thank you.

    Note: When you try to publish the services shared through Essbase calc scripts I succeed with most and some, I get:

    com.essbase.eas.admin.defs.InteropCommands.PublishModel Failed: com.hyperion.interop.lib.OperationFailedException 9000: PUT failed for/Files/projects / [bbassiushy01] [FS] [hand]. Essbase/published/calculation Scripts/calc235.csc

    Edited by: J on July 11, 2011 09:32

    You should not be able to use members of the option form with calc scripts, it's for use with business rules where you can pass members of the form variables.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Run the script FDM Essbase, no .bat files

    I want to run a script directly from FDM Essbase without needing to use a .bat file.
    I went to hollow post where calls MaxL scripts are discussed, but I have not found anywhere, there is a solution for sending a script to essbase.

    I have problems connecting to essbase using already existing and subsequently adapter configurations send an essbase script to the server. This is done for example in the Load event - where the essbase data are disabled. I would need assistance on how to implement this kind of soluition in the event script for example BefImport.

    Hi Nicklas,

    A couple of things to note.

    You must pass a 1 as the first parameter to use a file as a calculation script. Note that a calculation .csc script example files that are in your database and it's called AggMonth.csc you would spend in:
    Set objHWRerurn = API. IntBlockMgr.IntegrationMgr.PobjIntegrate.varCon.DataManipulation.fCalculate(1,"AggMonth")

    If you use 2 as the parameter to the fCaculate function, which means that the calculation script is a string, you can search for 'Essbase calculation chain' in the adapter to see how it works.

    If you really want to use a .maxl script and not an Essbase calc script you do not use the fCaculate function and will shout to essmsh.exe with parameters that does not use FDM adapter functions.

    PS You can also configure features of validation in FDM and assign scripts to those and then tell FDM you use 'file '. For the planning/essbase, it makes more sense to have just a script probably the method you follow.

    Kind regards

    John A. Booth
    http://www.metavero.com

    Published by: Jbooth on March 18, 2011 09:25

  • Essbase Calc Script using Exclude

    I use the 'EXCLUDE' command in a script (see below) essbase calc
    Fix (@relative("Entity",0), EXCLUDE (@MEMBER ("Canada") ENDEXCLUDE)),
    @RELATIVE ("Type", 0), @RELATIVE("Net Income",0), @RELATIVE("BALANCE SHEET",0),.
    @RELATIVE ("CASH FLOW STATEMENT", 0), & CURPER)
    CLEARDATA "GL";
    END FIX;

    I keep getting the following error:
    WARNING: parsing formula [statement of DIFFICULTY] (line 14) 1200315 error: invalid object type
    No idea what's wrong with my script? 14 of my script is the line starting with the declaration of FIX. Any advice would be greatly appreciated.

    EXCLUDE is a simillar to FIX calc command and can be used within FIX ().
    In your case, you can use function @remove as shown below:

    Fix (@Remove (@relative("Entity",0), @list ("Canada")), @RELATIVE ("fleet Type", 0), @RELATIVE("Net Income",0),)
    @RELATIVE ("FINANCIAL REPORT", 0), @RELATIVE ("CASH FLOW STATEMENT", 0), & CURPER)
    CLEARDATA "GL";
    END FIX;

  • restrict the planning Admin see all Essbase calc scripts

    Hi - I have a few ppl who are administrators on planning, and they see all my calc scripts in Essbase. Is it possible to block to see? I have these calc scripts to run things they did not need to run.

    I use planning 3.5.1 Essbase 6.5


    Thank you
    Cindy

    Hi Cindy,.

    I guess that calc scripts you want to block from are planning to the Admin in the applications they are directors of the correct?

    The only way I can think to do is to put them in another directory on the server or on a share, you have access to and use them for Esscmd scripts run in a batch function.
    for example
    RUNCALC 3 C:\SERVER_DIR\mycalcs\calc

    Assuming the directory were on your essbase server and you plan this on your essbase server.

    This assumes that your Admins planning have not access to your Essbase server. Of course, if it were UNIX path to the script would be different.

    You may also only have the scripts on your local computer.

    Kind regards

    John A. Booth
    http://www.metavero.com

  • Custom calculation of LOAD FDQM script - adapter ESSBASE

    Hello world

    I am trying to modify the Essbase adapter default LOAD script, I entered the year to avoid the deletion of the data for all months of the year. Now I want to add another dimension, a custom8 (UD8) in the script in order to avoide compensation all data in custom8 ESSBASE dimension.i want just to filter the data on compensation for the value in the dimension custom8.

    This is the part to LOAD a script that I modified to add the year:

    If strEntity <>strCurEnt or bolFirstLine = RES. So FDMTrue

    If Len (strCurEnt) > 0 Then

    strTYear = API. . StrTargetYear of POVMgr.fPeriodKey (strPer (0))

    ' * CALC SCRIPT *.

    ' NOTE: CALC SCRIPT CAN BE MODIFIED FOR EACH CLIENT

    "This script was changed to also include the year.

    ' Clear the intersection of (year, category, period, entity).

    (strClear = «Difficulté ("") "& strTYear &" "" "," "" "& strTCat &" "" ", @Idescendants (" "" & strCurEnt & "" ")) ' & +" \n "

    strClear = strClear & "CLEARDATA" "" "& strTPer (0) &" "";"& vbcrlf".

    strClear = strClear & "EndFix".

    '***************************************************************************

    What should I add to increase the intersection to custom8 dimension?

    Regars,

    Savo

    Ok

    If you still have the same value, your solution is even easier.

    You need the performance to VR0 at the beginning of the CORRECTION or the end.

    Give it a try and let us know.

    strCust8 = "VR0.

    ' * CALC SCRIPT *.

    ' NOTE: CALC SCRIPT CAN BE MODIFIED FOR EACH CLIENT

    "This script was changed to also include the year.

    ' Clear the intersection of (year, category, period, entity).

    (strClear = «Difficulté ("") "& strCust8 &" "" "," "" "& strTYear &" "" "," "" "& strTCat &" "" ", @Idescendants (" "" & strCurEnt & "" ")) ' & +" \n "

    strClear = strClear & "CLEARDATA" "" "& strTPer (0) &"""; ' & + "\n"

    strClear = strClear & "EndFix".

    '***************************************************************************

  • Configure the Essbase Calc of FDMEE Script

    Is there a way to launch this clear FDMEE script before export?  I tried to go through the steps in the admin guide, but not luck.

    If anyone can offer a quick, installation step by step in the context of this little script, would be appreciated!

    ESS_LOCALE English_UnitedStates.Latin1@Binary

    /*******************************************************************************************

    / * Parameters of calculation

    ********************************************************************************************/

    UPDATECALC OFF SET;

    SET CACHE HIGH;

    SET CALCPARALLEL 3;

    SET AGGMISSG

    / * Perform calculations

    ********************************************************************************************/

    FIX (& CurYr, "Can be", "Final")

    CLEARDATA "real."

    ENDFIX

    Hello

    What version are you?

    Of PSU100 FDMEE offers new features to run Scripts before and after loading calculation and after consolidating.

    You can pass parameters to your calculation script using new Variables of Substitution Essbase Runtime. In any case, I recommend having the latest patch that you are able to switch next year as a parameter to the calculation script.

    In case you want to use the period and year as parameters to your POV in FDMEE, your script could be built as:

    ESS_LOCALE English_UnitedStates.Latin1@Binary

    /*******************************************************************************************

    / * Runtime Substitution variables

    /*******************************************************************************************

    SET RUNTIMESUBVARS

    {

    &CurYr;

    &CurPe;

    };

    /*******************************************************************************************

    / * Parameters of calculation

    ********************************************************************************************/

    UPDATECALC OFF SET;

    SET CACHE HIGH;

    SET CALCPARALLEL 3;

    SET AGGMISSG

    / * Perform calculations

    ********************************************************************************************/

    FIX (& CurYr & CurPe, 'Final')

    CLEARDATA "real."

    ENDFIX

    You can configure your script with other parameters such as the scenario or Version and their past as POV or static values.

    The administration guide has all the details for the Use of calculation Scripts section

    There are a few details in the following post: fishing with FDMEE: FDMEE 1st exit (11.1.2.3.100)

    Hope that helps

  • define an id scsi for a disc newly added for virtual machines via script

    Hi Experts,

    I used the script below to add disks to several virtual machines
    http://blog.mattvogt.NET/2013/03/14/PowerCLI-mass-add-hard-disks/

    But currently our requirement for change as if we must add 3 2 GB drives, the disks must the controller use SCSI (1:0) - (1:2)

    And next bunch of disks, for example, should use use SCSI (2:0) - (2:2).

    Y at - it an option to set the SCSI ID when adding new disks.
    Please let me know if there is nothing we can achieve through scripts.

    Thanks in advance.

    Kind regards
    Sourav

    Try this new version, it works for me in my test environment

    ### Get VM/Disk Count/Datastore information ### $vmname = Read-Host "VM Name to add disks to"$num_disks = Read-Host "number of disks to add"$ds = "Oracle DB Farm Datastore Group"$format = Read-Host "Disk Format (thin, thick, EagerZeroedThick)"$size = Read-Host "Disk Size (GB)"
    
    $vm = Get-VM $vmname$datastore = Get-DatastoreCluster -Name $ds
    
    ### Add $num_disks to VM1..$num_disks | %{  Write-Host "Adding disk $_ size $size GB and format $format to $($vm.Name) on datastore $datastore"
    
      if($_ -eq 1){      $hd = New-HardDisk -vm $vm -CapacityGB $size -Datastore $datastore -StorageFormat $format      $hd = Get-HardDisk -VM $vm | Where {$_.ExtensionData.Backing.UUid -eq $hd.ExtensionData.Backing.Uuid}      $ctrl = New-ScsiController -Type Paravirtual -HardDisk $hd  }  else{      $hd = New-HardDisk -vm $vm -CapacityGB $size -Datastore $datastore -StorageFormat $format -Controller $ctrl    $hd = Get-HardDisk -VM $vm | Where {$_.ExtensionData.Backing.UUid -eq $hd.ExtensionData.Backing.Uuid}  }}
    
  • adding categories to list dropdown script

    Hello

    Can't find the easy answer.

    I have a drop down when one of the categories (Limbo) is selected, it erases any other data in the form.  What I want to do now is to add 1 Limbo, Limbo 2, Limbo3... etc. at the drop down and have these categories do the same thing as Limbo.

    Here's a partial script with the kind of Limbo.

    I do not know have added in limbo 1, Limbo2 to the script

    Any help would be great!

    In INITIALIZATION:

    if (this.rawValue == "Limbo")

    {

    for(var i=0; someArray.length; i i<++)

        {

            if (i == 3 || i == 7 || i == 13)

            {

    xfa.resolveNode (untableau [i]+"..") RawValue NAR") = 0;

                for (var j=1;j<8;j++)

                {

    xfa.resolveNode(someArray[i]__+__".rating"__+__j).rawValue = 0;

    xfa.resolveNode(someArray[i]__+__".rating"__+__j).access = 'protected ';

                }

            }else{}

                for (var j=1;j<9;j++)

                {  

                    if (j<8)

                    {

    xfa.resolveNode(someArray[i]__+__".rating"__+__j).rawValue = 0;

    xfa.resolveNode(someArray[i]__+__".rating"__+__j).access = 'protected ';

                    }else{}

    xfa.resolveNode(someArray[i]__+__".ratingNO").rawValue = 0;

    xfa.resolveNode(someArray[i]__+__".ratingNO").access = 'protected ';

                    }  

                }

            }

           

        }

    }

    So Limbo1, Limbo2, etc., are in the drop-down list itself and you want that they do the same thing, then simply add them to fi statement:

    If (this.rawValue == "Limbo" | this.rawValue == "Limbo 1" | this.rawValue == "Limbo 2")

  • AGG and Essbase CALC script SUN has recently begun to cultivate our pag files

    We have an Essbase script that does nothing but AGG and CALC DIM which ran fine for months because he has not pushed our cube of labour. From late January, he began to grow his pag files. Cube of labour was 7 GB in December 2010, and then it grew to 10 GB today. I tried running it and he grew up in our 170 Mo pag files 2nd time and then to 70 MB the 3rd time I ran it. Has anyone seen this?

    F
    R
    A
    G
    M
    E
    N
    T
    A
    T
    I have
    O
    N

    Just a guess. :)

    Well, I'll throw another possibility here - if you are on a San, you'll never really know what is happening. I recently had a client whose SAN was... challenged for space. This thing was dynamically allocated disk space left, right and center. Who knew what disk pack Essbase db files were really. Who knew how much space was really there. As far as I know, they had grids of Commodore 1541 floppy drives (probably the most reliable and slow floppy drive never out - I went through several) a helping hand. The point being that sometimes the exact same Calc took 9 seconds, other times they took 5 minutes. And it was on a clear outside and loaded database. Certainly he did tuning calculations difficult, and that's an understatement.

    But I bet on fragmentation. You say that when you have disabled the database above the zero level, it took minutes of agg it back up to the top where it normally takes seconds. This quick time as part of a clear is responsible, zero level and then environment DIM CALC? It would be a pretty darn close to 100% of defragmentation of database. If you already have the level 1, 2, 3, etc. blocks, then you are in at least some form of fragmentation. Check that it in EAS and you will see.

    Check out this thread: Re: Fragmentation in the overall calculation

    Ignore the war epic flame (pretty epic to OTN - people here are generally wise), and Kevin Cox explanation at the bottom read. I agree with him.

    Kind regards

    Cameron Lackpour

  • Batch Automation: Added the video with a script

    Hello

    I'm starting a project where I want to write a thing file/script/a batch that will allow me to add a list of new or existing video clips to a file first.

    I would also add an annotation.

    For example, I have 300 video clips in different folders. Each of them has a text file with a text that I would like to overlay for the first ten seconds of each video clip. I basically want to run the script/batch file and have the project to load 300 clips in the order with overlays of text with each folder becomes a different chapter.

    How would I go to do this?

    Can you point me to some resources that may help me?

    Thank you

    Robert

    Complete script was recently added to Photoshop. Maybe there is something in the works of PrPro, but none of us know him yet. If they add it, I hope it is better respected than the transcription function, which seems to run on about 1% of 1% of all possible files.

    This is the feature request form.

    Good luck

    Hunt

  • Hyperion Essbase Calc Script

    Hello
    I want to create a new script to calc for my financial database. I first explain about my dimesion

    Dim dense (fiscal period) opening Qtr1, Jan, Feb, balance...
    Dim sparse (FY year), 2007, 2008, 2009
    Dim sparse (scenario)
    Law on the
    EST (estimates)
    Jan is
    .........
    DEC EST
    Budget
    FAB
    Frost

    I need to my opening balance (member of the period of the year), for fiscal year 2009, Frost scenario = current year (fiscal year 2008) Oct East, Dec.

    I don't know how I can do, please let me know if any help.

    Please help to create the script to calc.

    Thank you

    You have a 17 month period (BegBal, month, quarter and total year) year dimension and a scenario of 15 members?

    And then you want to copy FY 2008-> Oct is-> Dec to FY09-> freeze-> opening balance?

    I guess you could, in a database of the ASF:
    DATACOPY "FY 2008"-> "Oct is"-> "Dec" to "fiscal 2009"-> "freeze"-> "Opening balance"; "."

    I would ask you if you really need all 12 versions of the budget (I guess the planning or Planning-esque app)? Really? Really? Good, but it's a lot of stuff to carry. You will empty once the year ended? If it is planning, you probably want to use command copy of internal planning data to support retail, cell Notes, has Annotations, etc. as the Essbase copy does not affect only the relational data.

    If you really must have 12 versions of the budget in your database, you can look at how you can get rid of this stuff (deletion, archive to the cube mirror, etc.) to keep the amount of data as low as possible in the application.

    Just my $0.02.

    Kind regards

    Cameron Lackpour

Maybe you are looking for

  • turns out iPad problem

    OK, so a few hours ago, I decided to change the system turns out to hunagrien. immenditly, I changed it to English. but here's where the problem comes in. the keyboard is still in Hungarian! What should I do? I have hard reset it several times but re

  • Laptop HP 2000: System disabled hp 2000 Code 98717430

    The HP 2000 I don't know that number is98 disabled password systemcan 717430 someone help

  • iPhone 6s more question screen

    I recently got an iPhone 6s and about 3 weeks ago and I have noticed lately that I'm not sure if it's a crack or a scratch. It's a thin line that is on the left side of the screen when hold you it vertically. You can see it only when a light is shone

  • How to get the .rbf and .through files?

    Hello I am currently working on the project, which provides for automatic deployment and launch programs everchanging. Ev3 are scattered in different schools. I wrote a simple script that can download a file and then send it to ev3 via wifi. But I'm

  • Setup error "setup.inf is damaged or missing.

    My HD computer died and I had a new installed and a new Win 7 64 bit OS installed on it. Now when I try to install MS Money Plus Deluxe I get an error message 'the setup.inf file is damaged or missing. However, when I install the disk in a XP machine