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;

Tags: Business Intelligence

Similar Questions

  • 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/

  • How to operate only a calc script using ODI

    Hi John,.

    I would like to run only a calc script using ODi. Could if it you please let me know the process. Is it mentioned in your blog anywhere?

    Awaiting your response

    Thanks in advance
    Sravan

    The km - 'IKM SQL for Hyperion Essbase (DATA)' there is an option 'RUN_CALC_SCRIPT_ONLY', set to Yes and then enter the name of the calc script in "CALCULATION SCRIPT".
    It will take still a source and a target in the interface for it to run, but it will ignore the source and the target and just run the calc script, it is possible to customize the KM so it didn't need a source/target, but you should be fine with the method I proposed.

    See you soon

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

  • Run Calc Script using MaxL server location

    Hello!!

    I wonder if anyone has tried running Calc script stored on the server (not in the app folder) using MaxL?

    My research on run calculation led to run scripts associated to a particular application, but not on executing a script from a common repository such as the location of the server between multiple applications.

    Any help is greatly appreciated.

    It is sometimes useful, in my case, I had a unique scenario where I had 10 cubes

    Cube 1 essbase process information and then send to the DATA STORE, which then runs a set of calc (some detailed data movement)

    Cube 2 then consumes these data and processes to Cube 10.

    All scripts used in Essbase is the same. However, we had to keep all applications and maintenance was a nightmare. This RUNCALC scenario helps a lot.

    I had to create a dummy app/db to store all Calc and maintenance will be done on this one and a bat script will move those to the respective cubes. I can identify at the request

    Concerning

    Celvin Kattookaran

  • 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

  • Dataexport to Essbase Calc script format

    Hello

    We try to write a calc script to export the data from the BSO cube to flat file. We want all the dimensions (currents and Sparse) online and the data in the column. Currently, we have tried all the different options of DataExport but we continue Dense members in columns. Is it possible to get the flat file in the following format?

    Outside dimensions:

    (Dense) account

    (Dense) period

    Company (rare)

    Year (rare)

    File format: (order of dimension is not important for us)

    Company, year, time, account, given

    K1, FY15, Oct, sales, 123

    Please suggest. Appreciate all the help.

    Thank you

    The only way I know to do would be to add a single dense dimension member (let's call it data) can make your dataexportcolumnheader if you can not change your existing cube, and then make a copy of it, add the dimension to export for the first cube in column format and use a load to load into the second cube rule. then you can do the dataexport

  • Essbase calc script to determine the number of occurrence

    Hello

    is it possible within a calc script to determine the number of occurrence of a value in the account dimension?

    I have an account called ranks which can contain any value between 1 and 10.  I would like to know how many times each value is repeated for a specific cost center.  It's in a database of planning BSO.

    Thanks in advance for your contributions...

    CL

    This isn't the typical calculation you would do in an OLAP architecture, but yes it is certainly possible.

    you will need to create 10 accounts such as occurrence_of_1, occurrence_of_2 etc.

    Then you increment them according to the value of the 5th year.

    Don't forget to put in your calculation!

  • Essbase calc script: try to use @RELATIVE in a formula of the cross-dimensonal

    Hello. I am trying to use a @RELATIVE function in a cross within a FIX/ENDFIX and while checking the syntax allows me to do this, I get the error 'argument double' scalar of Essbase when I run the Calc.

    Here is the code block:

    DIFFICULTY ("FY13", "Budget", "Input", "AF: ~ NA ~","U: ~ NA ~", @RELATIVE("DEPT:ABC",0), "S:535200", "Jan": "Dec")


    VAR Var1;

    ("PR:ER1"

    Var1 = "ST:SE2"->"Budget"->"product"->"sub-account"->"P: ~ NA ~"-> "DEPT:12345" / 100; "."

    )


    ("PR:ER1"
    "Account: NA" = "account: NA '->"S:535200' + @RELATIVE("NET_INCOME",0)->"S:510020" * Var1;

    )

    ENDFIX




    The line where the error message I get is:
    "Account: NA" = "account: NA '->"S:535200' + @RELATIVE("NET_INCOME",0)->"S:510020" * Var1;




    What I basically want to do, is to say the Member account: NA S:535200 must be the sum of all accounts of level 0 net_income for S:510020, multiplied by the value stored in a variable.


    Thank you


    Tom

    Published by: user9513294 on November 15, 2012 11:28

    As you have discovered, you can't pass a list of members to a definition of the cross-Sun. One Member, that's all it takes.

    What I suspect you want to do, it is something like this:
    "Account: NA" = "account: NA"-> "S:535200" + @SUMRANGE ("S:510020", @RELATIVE ("NET INCOME", 0)) * Var1;

    However, I bet that the net is already calculated and this might work:
    "Account: NA" = "account: NA '-> 'S:535200' + 'NET PROFIT'-> 'S:510020' * Var1;

    And I bet that this reference to 535200 is not necessary either as you in a pickle, then how about this:
    "Account: NA" = "account: NA ' + 'NET INCOME'-> 'S:510020' * Var1;

    BTW, that ":" in the middle of your member names pretty much blew my mind - colon is used, in general, to designate ranges, as 'Jan': 'Dec', which is also valid as Jan: Dec. I'm surprised that there is a legal character.

    In addition, the precedence of the operators really works you like?

    Kind regards

    Cameron Lackpour

  • 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

  • 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

  • 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

  • Question of design - approach of calc scripts organization

    Nice day!

    I'm a "application design" that must run series of similar calculations.
    My calc script uses variables substitution as calculation "settings".
    I have run this script several times, each time changing the values of the substitution variables.

    To do this, I created a script maxl containing blocks like this:
    ...
    change the BSO_ACCT database. BSO_ACCT set the variable ACCOUNT_NR ' "610120" ";
    change the BSO_ACCT database. BSO_ACCT set the CUSTOMER_NR variable ""40502;"
    run the calculation BSO_ACCT. BSO_ACCT.cust_act;
    ...

    The problem - whenever a new customer is added, I should update my maxl script.
    Y at - there a better idea? How can I automatically get a subset of the Customer dimension and run my script calc for this subset?

    Your suggestions are greatly appreciated!

    Best regards
    Alex

    There are two ways of dio,
    You can send the script as a string calc using esbCalc http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_api/api_vb/mavb/funcs/mavfcalc.htm
    You can put the calcscript in a file and use EsbCalcFile http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_api/api_vb/mavb/funcs/mavfcalf.htm

    I usually use it as read a prototype calc script on the server by using EsbGetObject http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_api/api_vb/mavb/funcs/mavfgobj.htm
    I then change the chips I put it in the script (I use a ~ as ~ account and replace ~ account with my member name) and run the script. Works very well

  • Export of the metadata of Essbase via the Calc Scripts

    Hi guys,.

    Here's my problem,

    We try to export essbase cube intersections in a flat file (so that it can be used by SUN)

    )

    We have developed a calc script to export an intersection to a flat file, but the flatfile is written only to the location of the essbase server.

    But we need this flat file to immerse in an another server (SUN Server), so what would you suggest is the best way to do this on a regular basis (monthly) and huge amounts of data.


    PS: Someone suggested me to use a windows batch file to move the flatfile, but I have no idea how to do that.


    Any help would be really appreciated...

    Thanks in advance
    Arun

    Metadata? You mean, right? DATAEXPORT is only going to write the numbers, not of dimensionality.

    I did deal with this issue, so - DATAEXPORT wrote only the box to Essbase. You can try pointing to mapped drives, but it has not worked for me.

    Why not put together a script MaxL who runs the calc script (standard stuff so far) and then either the caller script in cmd OS either copy it to another location (if on Windows, see COPY) or use the MaxL shell command to launch a shell of the operating system and make the copy?

    Another solution would be to set up a routine watcher file FTP'd the file off the drive, then did a deletion of the exported file. You may have to wait five minutes, but that shouldn't be a big problem in Informatica. In fact, I bet that informatica can do 99% of it.

    Finally, another approach would be to write that all at a table and just picking up here.<--This is="" probably="" the="" easiest="" and="" if="" you="" think="" about="" it,="" what="" informatica="" was="" meant="" for;="" no="" more="" messy="" files="" to="" worry="" about="" and="" it's="" sql="" all="" the="" way.="" i="" would="" do="" a="" truncate="" after="" it="" read="" the="" table="" as="" dataexport="" has="" a="" habit="" of="" concatenating="">

    Kind regards

    Cameron Lackpour

  • 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

  • using Calc script

    Hello

    Can you please help me understand how to get the result for ACC3. Here are the numbers of different accounts for the intersections, which is used in the calc script. I am trying to understand the script below calc formulas but I don't you how is calculated the value for ACC3. Can you please help me understand how the value of the account ACC3 is "274.4529403" is derived.

    Excel output addins:

    Deviation MAIN OD 2011 08 parts_80 Platform_1Z0000 operation

    ACC1 11

    Deviation MAIN OD 2011 08 parts_80 Platform_1Z0000 operation

    ACC2 18564.81

    Deviation MAIN OD 2011 08 parts_80 Platform_1Z0000 operation

    ACC4 254.43

    After you run the following Calc script I get the value of ACC3 as mentioned below.

    Deviation MAIN OD 2011 08 parts_80 Platform_1Z0000 operation

    ACC3 274.4529403

    CALC SCRIPT

    ==========

    DIFFICULTY ((@LEVMBRS("Platform","Lev0,Platform") AND @DESCENDANTS ("Entity"))

    @LEVMBRS ("parts", "Lev0, shares")

    ('hand')

    '' Operation. ''

    "Deviation".

    "08 2011")

    "ACC1")

    PERCENTAGE = ("ACC2" / 'ACC2 "->" platform "->" parts "-->" operation '->' OD'-> 'deviation '->' main '->' 2011 08');

    IF ((ACC1 <> #MISSING) AND (ACC1 <>0))

    "ACC3" = "ACC4 '->' platform '->' pieces '->' operation '->' OD '->' deviation '->' hand '->' 08" 2011 * PERCENTAGE; "."

    ENDIF

    )

    ENDFIX

    I think the main thing that you may be missing, it is that PERCENTAGE and ACC3 formulas depend on what is at the top of the 'Platform' and 'Parts' - dimensions is what the '->' alias 'transdimensionnels operator' done in there.  So you are not showing a couple of intersections in your recovery of Excel that are in fact essential in the calculation of the value.

    PERCENTAGE is the ACC2 value to low 'Platform' and 'Parts' in percentage of the value of ACC2 at the top of the 'platform' and 'parts '.

    ACC3 is then (assuming that ACC1 is not #Missing or zero) the value of ACC3 at the top of the 'platform' and 'parties' multiplied by the PERCENTAGE.

    In plain language, the calc is spreading the value of "ACC4" from the top of the "platform" and "parties" to the bottom of these dimensions, using "ACC2" as driver and put the result in "ACC3".

Maybe you are looking for