Planning Analytics

 View Only
  • 1.  Load Data to Consolidated element in TI

    Posted Mon December 20, 2021 09:12 PM
    Hi All,

    Is it possible to load data at consolidated element? Tried with Xmonth = 'Total' but it prompt error consolidated type.
    When I changed XMonth = 'Jan' it loaded successfully to Jan.

    In my case I wanted to load Amount to "Total" which refers to (Jan-Dec).
    Understood that additional code must be written after the generated section. Appreciate if anyone can help me with the code. Tried google on this topic but have not found any solution yet.


    #****Begin: Generated Statements***
    Version='Version 1';
    XMonth='Jan';
    CellPutN(Amount,'ME RD Reallocation',Version,Entity,ME,RC,XMonth);
    #****End: Generated Statements****

    Thank you in advanced.

    regards
    Ida

    ------------------------------
    ida lasim
    ------------------------------

    #PlanningAnalyticswithWatson


  • 2.  RE: Load Data to Consolidated element in TI

    Posted Tue December 21, 2021 02:59 AM
    Hi Ida,

    Do you want to spread on months? If yes, you can use data spreading through TI : https://www.ibm.com/docs/en/planning-analytics/2.0.0?topic=cmtf-cellputproportionalspread

    Regards
    Cécile

    ------------------------------
    DESCHARD Cécile
    ------------------------------



  • 3.  RE: Load Data to Consolidated element in TI

    Posted Tue December 21, 2021 04:18 AM
    HI Cécile,

    Thanks for your reply. However, I wanted to load 56k lines into the cube with Amount column mapped to Total which later to be spread.


    Thanks!


    ------------------------------
    ida lasim
    ------------------------------



  • 4.  RE: Load Data to Consolidated element in TI

    Posted Tue December 21, 2021 08:38 AM
    You cannot load data on a consolidation element (data is stored at a leaf level). You could had a no month element under the Total and then spread it.

    ------------------------------
    DESCHARD Cécile
    ------------------------------



  • 5.  RE: Load Data to Consolidated element in TI

    Posted Thu December 23, 2021 09:48 AM
    There is a config option for "allow separate N and C rules."  Enabling it may help you get past your first hump of loading to a C element.  If you're going through PAW, it is in Config-->Modeling-->Rules.

    What is the basis for the spread to the lower level?  If this is a one-time exercise, it may be easier to do your math in excel than DBS/DBSW the values into the N level elements.   If it's an ongoing need, I'll defer to the experts in writing TIs - it sounds like creating then destroying a helper object may be a good approach.

    ------------------------------
    Jessica Quiles
    ------------------------------



  • 6.  RE: Load Data to Consolidated element in TI

    IBM Champion
    Posted Thu December 23, 2021 09:57 AM
    "Allow separate N and C rules" is not to change how data is stored but at what levels you can apply rules i.e. N:, C: or not specified for both.

    You cannot write to a C level unless it is a string, full stop.
    You would need to load into another element e.g. # Full Year then break it back from there - you could use spreading, rules, manual capture etc.

    If you think of a C level element in Excel terms, the C level cell has a SUM() formula in it. It sums up the relevant cells. You cannot enter the SUM() formula and values into the same cell, it automatically aggregates unless you apply a rule to that specific C level intersection.

    Hope that clears things up a bit better.


    ------------------------------
    George Tonkin
    ------------------------------



  • 7.  RE: Load Data to Consolidated element in TI

    Posted Thu December 23, 2021 10:38 AM
    I was thinking something along the lines of what is noted in this article:

    https://exploringtm1.com/feeding-from-a-consolidation-to-a-leaf-element-in-tm1/



    ------------------------------
    Jessica Quiles
    ------------------------------