Calc script double consideration for some members

Hello guys,.

I have the following script calc that works
great for a couple of hundred members, but
for two of them the calc script
duplicate values.
I'm looking at him for a while but can't
find a reason. any suggestions?

Fix (@relative(Accounts,0), @RELATIVE(Periods,0),
Final, Local, @RELATIVE (CostCentres, 0), @RELATIVE(Regions, 0))

CLEARDATA ValueCalc;



ValueCalc
(
IF ((ValueInputMonth! = 0) AND (ValueInputMonth! = #MISSING))
ValueInputMonth;
ElseIf (@ISMBR (P109, P108) OR @ISMBR (@IDESCENDANTS ("BL")) OR @ISMBR (@IDESCENDANTS ("Staff")))
ValueInputYTD;
ELSEIF (ValueInputYTD <>0)
ValueInputYTD - @PRIORS (SKIPNONE, ValueInputYTD);
ENDIF;
);
ENDFIX;

Metalray,

to what size you get this problem? and how many no members are there in this size.

Tags: Business Intelligence

Similar Questions

  • calc script conversion rule for business planning

    I have a calc script that I need to convert it to a business rule to join the web planning forms. This means I want to take things in my statement of fix and turn them into guests (I think) which will be automatically replaced with the selections of web form. I've looked through the docs of business rules and planning documents, but cannot find a way to do it. I'm sure it's easy to do. Can someone give me an idea what I need to do? I can see how to create the run-time of a prompt on the screen of a local variable. But how to do replacements on my source?

    Once you have defined guests you can edit your business rule in the EA and right click and insert variable or you can put the variable name in square brackets, for example [VARIABLENAME].

    Once you have selected 'Members on record use' selection tab for forms business rules to ensure that these members are part of the Page or the POV.

    You can also view the schedule of tasks on Metalink3 if you have not already - there are a few quick questions dealing with.

    Kind regards

    -John

  • Calc script to copy the data members to his brothers and sisters


    Hi experts,

    I'm not planning Application, where the form I am Inputing "rates" on each month. Once again the rates that I enter must be copied to its years.

    Outline looks like:

    Account: Fx_rate

    Scenario: current

    Version: work

    currency: Local

    year: FY 13

    Time: Jan: Dec

    Company_code

    + E1000

    E1001

    E1002

    E.....

    E....

    E1000_rate

    + E2000

    E2001

    E2002

    E2000_Rate

    Here in the form of data to go rates on E1000_rate-> Jan-Dec

    E2000_rate-> Jan-Dec

    That should be copied in its years. As I said above, we have hundreds sibiling of fo for each rate.

    Could you please help me by writing the scenario of calc:

    Thank you

    Alex

    Hello

    In addition to Celvin post on the use of @SIBLINGS. When I had similar requirements, I realized the underside. Looks like a lot of code, but works well.

    / * First clearly rates against the entities before re them, filling with @REMOVE, remove the features of entry rate because you do not want to delete the. You will need to create a UDA called RATE_INPUT and assign it to all entities of entry rate * /.

    DIFFICULTY (current, work, Local FY13, @RELATIVE (YearTotal, 0), @REMOVE (@RELATIVE (Company_code, 0), @UDA (Company_code, "RATE_INPUT")))

    'Fx_rate' = #missing;

    ENDFIX

    / * Second aggregate up to level 1 entity values FX_Rate account, so that each parent rates holds the NOTE rate: the rate will have + for the aggregation.

    DIFFICULTY ("FX_Rate", current, work, Local, FY13, @RELATIVE(YearTotal,0))

    @RELATIVE (Company_code,-1);

    ENDFIX

    / * Difficulty third on Lev 0 company code and make the exchange of currency equal to their parents for the currency exchange value (which you gathered earlier) * /.

    DIFFICULTY (current, working, Local, FY13, @RELATIVE(YearTotal,0), @RELATIVE(Company_code,0))

    'FX_rate' = @PARENTVAL (Company_code, "FX_Rate");

    ENDFIX

    Try this

    Thank you

    Anthony

  • How to copy the data for some members of a dimension to another dimension

    Dear Sir

    I want to copy data ("511102") members of one dimension to another of the combinations of dimensions.

    I have the following combinations for "511102":

    _ _ ("Budget2012", "FY12", "Working.V01", "SAR", "BegBalance", "1011", "G_10", "custom notes")


    I want to copy "511102" to "wages".

    -pay have the following dimensions:

    _ ("Budget2012", "FY12", "Working.V01", "SAR", "BegBalance", "Group of generals", "All the notes", "Employees") _


    I don't know if I could do it by three-dimensional cross datacopy, but I have not HOW > > >


    Thanks in advance

    DIFFICULTY ("Budget2012", "FY12", "Working.V01", "SAR", "BegBalance", "Group of generals", "All the notes", "General Employees")

    "salary" = "511102"-> "1011"-> 'G_10'-> 'custom notes ';

    ENDFIX

    or

    Fix ("Budget2012", "FY12", "Working.v01", "SAR", "BegBalance")

    DATACOPY '511102'-> '1011'-> 'G_10'-> 'custom notes' to 'pay'-> 'general group'-> "all the classes"-> "General Employees;

    ENDFIX

    Datacopy largely consists in placing the dimensions in the dimension in the same order. The two sides (before and after 'TO') should have an equal number of members of the specified dimension.
    See you soon,.
    Alp

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

  • Facing the question in calc script while trip data for the current year to the previous year

    Hi all

    Need your serious help in my calc script.

    I am writing a calc script to transfer data from order book of FY15 Q1 to Q4 FY14 here is the problem in my script. If spin this script to copy the same year, it works fine but when trying to load between two different years, it does not work. could someone help me please. where miss me the logic. Thanks for the help in advance.

    Here's the script:

    ESS_LOCALE English_UnitedStates.Latin1@Binary

    SET AGGMISSG

    DIFFICULTY (@List ("real GL", "Real ML", "ACT", & ActualLoadYrBklg))

    () "Dec / (Inc.) in suffering.

    IF (@Ismbr ("Q4"))

    "Dec / (Inc.) in suffering (Non - di) =.

    -1 * (("Q1"-> "starting Backlog",-1,@Relative("Years",0)) @Prior - ' count backward (Non - di) ");

    "DENTE change overdue =.

    -1 * (@Prior ("Q1"-> "Cost",-1, @Relative("Years",0))-"Cost of rear" rear);

    Else if (@IsMbr ("Q1": "Q3"))

    "Dec / (Inc) order book ' =-1 * (@Prior ('Rear start',-1, @Relative("YearTotal",0))-" starting back (Non - di) "");

    'Change of GEAR wheels in suffering' =-1 * (@Prior ("backward Cost",-1,@Relative("YearTotal",0)) - "money back");

    endif ;)

    endfix

    SM.

    My first question is what is the order of members in your dimension years and quarter the level low your dimension of periods? Secondly, what dimensions are rare and dense (can you tell me which members in the calc are in dense and sparse dimensions)

    Third, you cite the specific years FY15 and FY14, I suppose that & ActYearBklg is FY15 assuming this is correct, I would add a substitution variable for & PriorYrBklg with FY14 inside (if I'm back, and then modify the variables) for clarity, I'm going to hardcode the values in the Calc. It also assumes years is sparse

    You can try this

    FIX ("GL 'real 'real ML", "ACT", "FY15") / * you need not @list * /.

    () "Dec / (Inc.) in suffering.

    IF (@Ismbr ("Q4"))

    "Dec / (Inc.) in suffering (Non - di)"-> "FY14 =.

    -1 * ("Q1'-> 'backlog begins' - 'Start rear (Non - di)'->"FY14");

    "DENTE change orders"-> "FY14 =.

    -1 * ("Q1"-> "Of back - cost"Back cost"-> FY14");

    Else if (@IsMbr ("Q1": "Q3"))

    ("Dec / (Inc) order book"-> "FY14' =-1 * beginning backlog->"FY14'-'Begins the backlog (Non - di)');

    'Change of CMV in the order book "->" FY14' =-1 * ('Back cost'-'Back cost'-> "FY14");

    endif ;)

    endfix

    The years may be replaced by the subvars

  • BlackBerry Smartphones Songs appear double for some of my albums

    Some of my albums contain double entries for each song. When I remove one of the two double entries, I can not play the song.

    Hello

    When you browse songs in Media Player, you are browsing what's called the hidden media. What you see are pointers to the actual file.

    In some cases, the cache may be corruptedand in some cases there are several pointers that point to the same file. That's why you see double entries.

    When you remove an entry, do you two things:

    • you delete the actual file
    • you delete this specific pointer.

    you end up with the another pointer that points to nothing. This is the reason why you can not play the song.

    What is nice about the cache, is that it contains all the important data. There are just to make the application faster media. The best way for you now is to have the cache destroyed and recreated.

    It is very easy if your songs are located on a multimedia card: just remove the media card and reinsert it. This will destroy the cache of media. At the launch of the media player, it reads all the content of the media card and recreate cache media. You will see then is the list of files available to be read.

  • I install the new cc2014 update, but for some reason any in my computer displays double former app and the new, but the new dose did not setup that I have in my old version! What will happen?

    I install the new cc2014 update, but for some reason any in my computer displays double former app and the new, but the new dose did not setup that I have in my old version! What will happen?

    Thanks, I have solved this problem, simply delete the old and manually I have brand new!

  • Calc script for Member MDX formula

    Hello ASO brain trust

    I'm trying to move a member of ASO formulas calc script. Many parts of the calc script are piloted by the UDA.
    BSO

    ElseIf (@ISMBR (@UDA ("Entity", "NR_U41110")))
    "U41110"=@SUMRANGE ("R41100", @UDA ("Entity", "S_U41110"))
    + @SUMRANGE ("R41200", @UDA ("Entity", "S_U41110"))

    ASO
    IIF)
    IsUDA ([person]. CurrentMember, "[NR_U41110]"),
    Sum (CrossJoin ({"[R41100]"}, {UDA ([entity], "[S_U41110]" "")})) +.
    Sum (CrossJoin ({"[R41210]"}, {UDA ([entity], "[S_U41110]" "")}));
    0
    )


    It sounds good, but it won't scan.

    Any ideas how to get around the fact that the UDA does not work well with the cross join or the sum. Assuming that it is formatted correctly.

    Thank you

    IIF)
    IsUDA ([person]. CurrentMember, 'NR_U41110'),
    Sum (CrossJoin ({[R41100]}, {UDA ([entity], "S_U41110")})) +.
    Sum (CrossJoin ({[R41210]}, {UDA ([entity], "S_U41110")}))
    0
    )

    Try this. I removed the quotes of member names and I took the place of brackets from the values of the UDA which I guess do not belong there.

  • confusion of Calc scripts

    Hi, I have to convert a financial model to Excel at Hyperion, but I am facing difficulties. I made the request, but some members of my hierarchy, that I can not use the member formulas so I said to use business rules and scripts calc etc, I just need advice on how to go about this:

    I have a member "Average AFS debt securities" in my accounts dimension which must be an average of another Member "AFS debt securities" in the years FY04 - AFA 08. The requirement is that for the year FY05 the Member in question must be an average of "AFS debt securities" FY04 and FY05. Like this

    Average securities AFS (FY05) average = [AFS (FY04) debt securities: debt of AFS (FY05)]
    Similarly for FY06 average would be FY05 and FY06 and so on until AFA 08.

    Its the first time I use calc script and I'm desperate for IT/computers/all digital = S but I have to do this so any help is welcome!

    Kind regards
    Noreen

    It seems that you really need someone to help you!

    This should help you with your current problem:

    DIFFICULTY (FY04:FY08, etc.)
    'Average of Member' = @AVGRANGE (SKIPNONE,"Member",@CURRMBRRANGE ("Year", LEV, 0, -1, 0));
    ENDFIX

  • Update a UDA at a member of the main lines of the Calc script?

    Happy new year everyone!

    Is it possible to update a UDA at a member of the main lines of the Calc script? There is a custom for that function?

    We want to check the data, and then update UDA based on what is our data.

    Thank you.

    Not that I know, and it is not possible to write one, since you probably can't restructure with the running calculation (chickens and eggs).

    More likely, you will need to do a multi-step process; export the members that you want to set up a file via DATAEXPORT conditions or report designer, and then use this output to feed in an accumulation of dimension with an appropriate load rule.

    Or write a Java API to fully customized program.

    I'm also curious about the driving condition, as it is a rather unusual request.

  • If I run the calc script to aggregate a BSO cube, it blocks and release each block in a few seconds?

    Hello

    If I run the calc script to aggregate a BSO cube, it blocks and release each block in a few seconds? Or is it keep held locked blocks even after aggregation for this block is over?

    For example if I correct sparse dimensions Forecast, FY15, dec.  and my accounts dimension is only dense, after calc has my senior level members in the accounts, it it will issue after updating (i.e. in fractions of seconds) or is agg keep it held in a lock?

    I ask because I want to run scripts tot., but there is the update of our cube users.  I never had a problem to start agg, while users are updating.  But maybe I am lucky.  If a user updates a closed block, they will receive an error message that I think.  They may try to update again after a few seconds, I hope.

    Thank you.

    Locking behavior for BSO Essbase is described in the database administrator's Guide: http://docs.oracle.com/cd/E57185_01/epm.1112/essbase_db/dstinteg.html

    It is certainly theoretically possible that a user can obtain a lock because of a calc, although I can't say I saw him be a problem in real-world applications (perhaps because access uncommitted is the default).

  • 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

  • BSO - Calc Script - improve an addition

    Hello

    I have a little problem with my calc script. I want a dynamic script with variables and not explaining each step.

    I want to calculate the EURO currency values.

    Fix ("March")

    'Euro')

    IF (@ISUDA ("Accounts", "AR"))

    IF (@ISUDA ("Entity", "heart")) 'Euro ' is' EUR '.

    ElseIf (@ISUDA ("Entity", "cAED")) 'Euro' = ("AED"-> "January", "AED"-> "February" + "AED"-> "Market") * "AED"-> "Average_Rate"-("euros"-> "Janvier" + "Euro"->"février");

    I want to make the variables of the month as AED-> 'January': 'currmonth'.

    I tried that, but it did not work.

    How to calculate is how: periodical EUR = (YTD(April-LC)*April-FX-Rate)-YTD(March-EUR)

    Can some help me with a Board?

    Thank you very much

    Ben

    Look in the function @SUMRANGE in the Ref of the Essbase Tech, I think this should do what you ask for.

    Oracle Essbase Technical Reference

    Robert

  • Help with pointing to the ATTRIBUTES - Calc Script

    Hi all

    I have a question about pointing to the attributes in the calc script:

    I want to calculate members (level 0) associated with the attribute 'A', but their parent attribute must be tied to the attribute 'B '.

    So if my Sun structure looks like:

    LVL 1: mbr 1 (ATTR = 'B')

    LVL 0: mbr 2 (ATTR = 'A')

    0:MBR lvl 3 (ATTR = 'C')

    lvl1: mbr 4 (ATTR = "D")

    0:MBR lvl 5 (ATTR = 'A')

    0:MBR lvl 6 (ATTR = 'A')

    According to the above example, the calculated member list should be: "mbr 2.

    I don't know how to do in my script to the PARENT of the CURRMBR its attribute is equal to "B."

    The problem is oriented to the PARENT attribute with the IF statement while you run level 0.

    I also tried to FIX it, but it was not effective, you can not write FIX (@CHILDREN (@ATTRIBUTE ('B'))).

    I'll be happy if someone could share their ideas,

    Thank you

    Really?  Documentation (which I corrected not always, I admit) indicates that the parameter mbrList can be 'a comma-delimited list of members grouped together using @LIST or set function member (for example @DESCENDANTS) that returns a list of members.'.

    I created an additional attribute of 'MarketSize' with 'GRL' and 'Sml' members in Sample.Basic, then labeled 'East' and 'Central' as "LRG" and found that it works very well:

    DIFFICULTY (@EXPAND ("@CHILDREN", @ATTRIBUTE ("Lrg")))

    "Sales" = 999;

    ENDFIX

Maybe you are looking for