Creating blocks

Hi Experts,

I'm new to Essbase please help.

How many ways can we create blocks by using the calculation script?

Thank you and best regards,
Badin

Hi Bader,

Say
A, B, C, D are sparase and E, F are dense
and D has two childs D1 and D2 and two want to create blocks for D1 and D2.

and you want to create blocks for

SET createblocksoneq
FIX (A, B, C)
D1 = d1 + 0;
D2 = d2 + 0;
ENDFIX;

OR
/ * No need to create blocks on eq on * /.
FIX (A, B, C)
D1 = 0;
D2 = 0;
ENDFIX;

or

SET createblocksoneq
FIX (A, B, C)
D / * members scattered block * /.
(
)
ENDFIX;

or

simple but delicate
SET CREATENONMISSINGBLK
creates block by itself...

See you soon... !!!

Tags: Business Intelligence

Similar Questions

  • How to create blocks

    Hi guys,.

    I am developing a script that creates blocks under certain conditions.

    Firstly - my plan looks like this:

    2 dense dims (measures, period) and 4 (employee, activity, entity, data area)

    I use a specific measure called "Block" and I'm assigning a value of '1' to create a block if the condition is true. Script looks like this:

    FIXPARALLEL (@RELATIVE(employees,0))

    Fix (@relative(Activity,0), @relative(Entity,0))

    ("data_area1"

    IF (the condition is true)

    'Block'-> ' day 1 '->' data_area1 ' = 1;

    ENDIF

    )

    ENDFIX

    ENDFIXPARALLEL

    This script creates blocks, but it takes too long (I have more than 2000 employees, cca 130 entities and activities more than 10000 - over 2.5 billion possibilities of combinations). I use FIXPARALLEL on employees, but it takes more hours...

    The question is: are there at - it anyway better to create blocks?

    Appreciate any help!

    BR

    Vladino

    Hello

    There is no way you can get the data at the level of the Emp-Ent-Act and then load it? Maybe use a database technology to join the employee and bring back the activity, so that you have then the employee entity and activity.

    the @ALLOCATE function, take a look at the tech REF.

    @ALLOCATE (amount, allocationRange, basisMbr, [roundMbr],

    method [, methodParams] ([, [, numbers] [, roundErr]])

    The basisMbr should be where your data that you want to allocate by for this range of metadata. If the @CHILDREN is where you want to allocate to the and the basisMbr is the location of data for the way in which you want to assign. So no need for the IF condition

    Thank you

    Anthony

  • Creating blocks in an IF statement

    I have a calc script this logic of features runs only on certain months. However, I need to create blocks before this logic can calculate and store these values. Currently, the script creates all the blocks for every month with a datacopy, then clears the data in these blocks. However, I would only create and delete blocks a month specific. What is the best way to do it if I can't run a datacopy inside an IF statement? (I prefer is not to use a batch script to check the month)

    Hello

    You can try something like

    SET EMPTYMEMBERSETS

    Fix (@List (Mar, Jun, Sep) and & CurMonth))

    DIFFICULTY...

    DATACOPY...

    It copies only the data that is in & CurMonth if the month variable is set to March, June or September made sure command of emptymembersets if the month is say January the entire patch is ignored, i.e. it never reaches the datacopy command.

    See you soon

  • Problem creating block

    Hi Experts,
    Here, everyone should be aware on the problem of creating block in Essbase in the blocks for scattered members are not created when we try to set a value that is not constant. But when I'm trying to reproduce this problem, I cannot not replicate and blocks created for me.
    I even checked the setting of CREATEBLOCKONEQ at the level of database as well as in ESSBASE.cfg file is DISABLED.

    I use the Demo.Basic application with a slight modification where I added the dimension of the year containing FY10 and FY11.

    The dimensions are:
    Accounts - Dense
    Period - Dense
    Market - sparse
    Product - sparse
    Year - sparse
    Scenario - sparse

    Now, I have data loaded New_York-> FY10-> sale-> Budget to 5 products and all periods. Database statistics show me even 5 blocks.

    Now, I try to run the following script to calc to replicate the problem of creation of block

    CREATEBLOCKONEQ OFF SET;
    Fix ("budget")
    "Denver" = "New_York" * 1.5;
    ENDFIX;

    But I'm able to have created new blocks and the number of blocks celebrates 10 years.

    Is someone can please help me replicate the "issue of creating block"?
    SET UPDATECALC OFF ;
    SET AGGMISSG ON ;
    SET EMPTYMEMBERSETS ON ;
    SET CREATEBLOCKONEQ OFF ;
    FIX("Budget")
    "Wyoming" = "New York" ;
    ENDFIX
    

    Hey Cameron,

    In Essbase 9.3.1 also, I think that your code is good in creating blocks for the Member of the formula "Wyoming".
    Creating block problem arises in a complex real world scenarios. See a sample as below
    CREATEBLOCKONEQ OFF SET;
    Fix ("budget")
    "Wyoming" = "New York" + 300;
    ENDFIX

    Member of the formula here Wyoming supposed to sum up the New York and 300.
    This works if New York has block and not if not.
    But the result is 300 if not.

    I hope that this problem is still there in 11.1.2.1 also. I've known some discrepancies in the formula still fixed with CREATEBLOCKONEQ ON calcs.
    How to test close tomorrow.

    Tim,

    Top-Down is not the default behavior. But Essbase will select Top Down calc whenever he needs to get the blocks needed for the calculation.
    No girl b/w Topdown calc and block creation of question.
    Forcing down the high yield erroneous results.

  • The script "SET CREATEBLOCKSONEQ ON" don't not creating blocks

    Hello

    We used the script "SET CREATEBLOCKSONEQ ON" in a business rule, but new blocks are not created.

    Anyone can guide us in this regard?

    Thank you.

    You can correct IMGs who have 900 and 1500 members and create blocks for them based on another dimension ex:
    We have more sparse dims: entity 1000, 1000 products, 5 years, 5 Sen, Version 5 and now you want to create block for entities and products for FY11, Budget, Version1 then

    DIFFICULTY (@RLEATIVE ('entity', 0), @RELATIVE ("products", 0), Fy11, Budget)

    Version1 is Vesrion1 + 0.;

    ENDFIX;

    This will create all the block for you; It is once again a problem all the blocks of potential will be packed you can restrict the same in condition to create blocks and this condition will be dependent on the logic for ex: If the profit is > 0 then create block

    DIFFICULTY (@RLEATIVE ('entity', 0), @RELATIVE ("products", 0), Fy11, Budget)
    Veresion1
    (
    IF ("NetProfit" > 0) / * this logic may vary according to your requirement * /.
    Version1 is Vesrion1 + 0.;
    ENDif;
    )

    ENDFIX;

    Or if you have connected this BR to a web form and that you have selected use member on the data form you can use SPTR to create blocks. The room no. above may use RTP for members to make it more useful.

    See you soon... !!!

  • Impossible to select the connection pool when creating block init for current_month

    Hi all

    I use OBIEE 11.1.1.6.0 Version,

    I'm tempted to create a session variable (current month), but I found I could not choose the option of pool connection, is disabled, do not know why

    Anyone encounter this issued before?

    Your response will be much appreciated!

    Thanks in advance

    Kind regards
    Anne

    Hello

    try to make
    In the administration tool go to tools-> Options-> general tab and check "allow first connection Pool for blocks. Init option."
    After the checkbox activated, then save it and then try again.

    Thank you
    Deva

  • Flickr Create blocks Firefox 34

    Can anyone confirm that it https://www.flickr.com/create/ of opening with the latest beta version of Firefox 34 accidents? I tried with a new profile and the same happens.

    Crash reports are:

    BP-1685075f-F311-4603-A2D5-d79d12141118
    BP-d025af3a-668b-4663-a44d-9b41c2141118

    It seems related to the graphics (MPEG4).

    However, today, I've updated to beta version 10 and now it works without accident! I have not touched anything, I guess I wasn't alone.

  • Problem creating block in the form of Member

    Hello

    I have a formula of Member as below:

    IF (...)
    x = a / b;
    ENDIF

    where a, b have their own forms of Member.
    There is no problem with the calculations of x, a or b, but I am facing a problem with the creation of the x block.
    Is there a way to manage the creation of block through member formulas? I know that the way out through calc scripts, but I try to limit the use of calc scripts.
    Thank you!

    Note: the storage of three members property is store. In addition, and b are in the same intersection (same block) and x is in another intersection.

    Hello

    Change the property storage of members as 'Dynamic Calc' instead of 'data store.
    Hope it will work.

    Thank you.

  • Create blocks on the equations

    Anyone using it lately?

    I'm on version 11.1.1.3 and make a ton of blocks not existing benefits. But it doesn't seem to work unless I type in a constant.

    I have not tried the CREATEBLOCKEQ VALUE, but this should not make a difference as it changes just the flag.

    I restart the application. but not a not restart the server (don't think I should have to). Could there be a sort of essbase.cfg, which causes a problem?

    I think maybe it's a bug. But want to check first with the community

    If it's rare, try CREATEBLKONEQ SET - it should do the trick.

    Kind regards

    Cameron Lackpour

  • Cannot create a new paragraph in a block of text

    User of Windows 7, 64-bit machine... ALienware i7 processer.

    I create blocks of text and you can type the first paragraph very well. When I type entry to add my second paragraph my cursor disappears. If I type it shows more red overset text.

    I checked my space, my paragraph spacing after...

    Tried many documents... PLEASE HELP ME

    Edition > shortcuts keyboard... and make a new set because you can't change the game by default.

    In the product box, select Menu Type and scroll to the bottom to insert a character to break: paragraph return and select it. Now, place the cursor in the new shortcut field and press enter on the numeric keypad. Context of you changing text, then click on assign, then OK.

  • Create a block on sparse request problem

    I have a very sparse planning with a few scripts application complex calc to calculate data. There is no data transfer, create just the data calculation logic. In any case, Essbase does not store the result of the calculation, unless a block is created. My problem is when I put the script "CREATEONMISSINGBLK;" the script takes forever to run and does not appear within a reasonable time. When I put on, the data is not stored unless I load values zero to create the block. The problem with this approach is that I can't anticipate all the potential blocks that users will want to calculate data against. So I find that data are "missing" in the missing block after I executed the script, which is not a good process. Anyone know if there is a better way to deal with this issue with the creation of block on a dimension very very sparse 11 planning application?

    It's never easy, and it seems you have a very large planning application. Creating block gets more hard/more long plus the number of blocks. This is a good reason to keep the small applications, even if it means building several to create 'a solution '.

    I support the recommendation to post your script.

    Michael

  • How dop to block senders using the method in the article which adds to the red list?

    I followed the instructions in the article block a sender but I can not enter the address of the sender in the list of created block filter. What I need to type in the field (after clicking on +) manually or if not how do I get it to the sender field on the e-mail to the appropriate field in the filter of the red list? It seems that the Message filters is not actually on the Tools menu, and when I click on the top of the help I can not enter the address of the sender in the field provided. Then perhaps someone could tell (in detail) how I do? I missed something obvious?

    Thanks a lot for that. I'll have to go away and digest it all! With respect to the OE bit - I modified it used about 2 months ago when I changed for Windows 8.1 and decided to use you bird, he had worked far so even if it was (to say the least) old and I rarely got spam. I have my ISP have not changed and did not think that they could provide then I'll know about it as I suppose he could have changed with the new 8.1.

         Thanks again for all your help.
    
  • How can I change the properties of Xmath block?

    I want to change some properties of block Xmath, for example to change the name of a constant block. I tried something like

    Constant1.name = 'new name ';

    Can someone help me?

    Thank you

    Yevgeni

    You can use the SBA (SystemBuild Access, see Chapter 7 of the guide SystemBuild) command of routine modifyblock to change any SystemBuild

    Block property. All the created blocks have a block id that must be specified in the modifyblock command.

    For example:

    modifyblock 2, {name = "myblock", color = 2, size = [100 100]}

    or to create a gain block

    createblock 'gain', {win = 2.5, name = "accelConstant"}

    to retrieve the id of the block of a created block, pass a variable set to zero, createblock will set the variable to the id of the created block

    MyID = 0

    createblock 'dead zone', {id = myid}

    modifyblock myid, {color = 1, input = 2}

    You can also get properties for a block by using the queryblock command.

    [t = c = color, location, t = blocktype threshold] = queryblock (myid)

    See Chapter 7 of the Guide SystemBuild users for more details and orders

  • Why do my AO create a Subvi doesn't work?

    I have a card PCI-6251. I do a simple DAQmx write the sequence by using an entry to create a task, Create Channel and clear. It works very well.

    When I copy/paste the task of creating, blocks of channels to create a Subvi with appropriate and all connectors, it does not work. Is there some VI property I need to change or put on the Subvi?

    Sorry, the output_test.vi should have a different task and the channel name that appear in my attachments in order to not not to be the same as the Subvi.

    I just put the VI properties for the Subvi unchecking re-entrant execution and it seems to work now every time.

    Just solve my problem?

  • Hi all, I have little doubt all blocking issues?

    Block delivers the means

    When there is #Missing in cube it only creates blocks.

    ex script: calculation - California = newyork + 100;

    for this equation 1 my cube is now empty (#missing), I ran above.it calculation script won't get showing data.it #missing.

    If I use createnonmissingblock or createblockonequation, it will work: data, it will show.

    2. now I enter some data in New York only and in California, is #missing.now I ran above work calculation script.it means data is it in California with 100 + New York data.

    If the above 2 points correct ways. my doubt is. California = New York 100; if New York with some of its data empty fine.if of New York, which is uses California = newyork + 100 New York data are not there (#missing) which is used to give of California = New York 100 +

    My conclusion is if data is in cube, we get block issues.if used it is not here that we get block questions is this correct or not?

    3035274 wrote:

    Hi Dan,.

    Thanks for the reply.

    you gave the link in this 4 ex: according to the formula and the structure of the data, calculate a formula top-down and bottom-up may involve two questions.

    As I sad given is the first mandatory next top down or bottom up to overcome the block issued.

    Dan can you explain this.

    There of not much to the MFI here, documentation is simply illustrating behaviors from the top down vs bottom.

    If there is no block for the sparse intersection not supposed to contain a computed value and the calculation is a bottom-up fashion, then nothing is calculated. It is because in calc from the bottom up, Essbase will evaluate block to determine by looking at the index. Because there is no entry in the index for Cola-> New York-> Budget, since the block does not exist, then nothing is calculated.

    In descending mode, Essbase will evaluate all possible sparse intersections.

Maybe you are looking for