Planning Analytics

 View Only
  • 1.  insert user row/colum

    IBM Champion
    Posted Mon September 26, 2022 09:38 AM
    Edited by System Fri January 20, 2023 04:14 PM
    hi,
    newbie of planning analytics, i have 2 questions about the report PAW

    Question 1 : i want to make a calcul of this 2 colums : (element A/year 2021) - (element B/year 2022)
    is there anyway to do it in exploration? when i try to add a calcul, i can only chose 1 dimension. 


    Question 2 : i try to do it in PAX by insert a user colum. but my colum inserted is always on the left of element, can i create it on the right of element?
    when i try to rename the colum, it show i can not rename the colum. why? 

    Thanks a lot for the help !!!

    same post in TM1forum : https://www.tm1forum.com/viewtopic.php?t=16309
    ------------------------------
    duong dau
    ------------------------------
    #PlanningAnalyticswithWatson


  • 2.  RE: insert user row/colum

    Posted Thu October 06, 2022 05:11 PM
    Edited by System Fri January 20, 2023 04:49 PM

    asked and answered: https://www.tm1forum.com/viewtopic.php?t=16309


    Hi Duong, see my thoughts on your two questions below.

     

    Q1: As far as I know, the insert calc option in pax/paw is for basic calcs across one dimension only. Looking at your first screenshot it looks like the middle column dim with elements Assu Prev 2-2021 and Assu Budget 2022 is a version dimension. Forgetting pax/paw for a minute, you can likely achieve the desired comparison with a bit of dimension and data work. You could create a new version simply called Assu Prev Year and then copy all data from Version:Assu Prev 2-21 & Year:2021 into that new version and year 2022. At this point, you'll have commonality in the year dimension so can do the simple comparison in PAW with the insert calc. You could also create a consolidated element in the version dim that takes the difference between the Assu Budget 2022 version and your newly created Assu Prev Year version. The consolidation would likely be much more efficient than the MDX generated calc and would have the added benefit of being readily-accessible in any view/exploration.

     

    Q2: I'm not aware of an easy way to do this, but it is possible.  The first way would be to add one more element to the list than you actually want and create the user column. Then go into the subset editor, select the element at the bottom of the list which should be the unnecessary one you added and delete it from the list. The second way would be modify the MDX in subset editor after adding the user column. Below is an example of original MDX with user column between two elements and updated MDX with user column at the end.

    Original MDX:

    GENERATE(    {[Time].[Time].[Qtr 2^Jun],    [Time].[Time].[Qtr 3^Jul]} , STRTOSET( CASE                   WHEN 0 < INSTR([Time].[Time].CURRENTMEMBER.UNIQUENAME , "[Qtr 3^Jul]")                 THEN "{[Time].[Time].[Header_#638006833118578110#]," + [Time].[Time].CURRENTMEMBER.UNIQUENAME + "}"                  ELSE "{ " + [Time].[Time].CURRENTMEMBER.UNIQUENAME + " }"             END ) , ALL)


    Updated MDX:

    GENERATE(    {[Time].[Time].[Qtr 2^Jun],    [Time].[Time].[Qtr 3^Jul]} , STRTOSET( CASE                   WHEN 0 < INSTR([Time].[Time].CURRENTMEMBER.UNIQUENAME , "[Qtr 3^Jul]")                 THEN "{" + [Time].[Time].CURRENTMEMBER.UNIQUENAME + ", [Time].[Time].[Header_#638006833118578110#]}"                ELSE "{ " + [Time].[Time].CURRENTMEMBER.UNIQUENAME + " }"             END ) , ALL)

    #PlanningAnalyticswithWatson


  • 3.  RE: insert user row/colum

    IBM Champion
    Posted Thu October 06, 2022 05:16 PM
    thank andrew a lot!! i will try it!!

    ------------------------------
    Duong DAU
    Consultant EPM Finance Transformation & Performance - Micropole


    M +33 (0)7 62 61 85 33
    F +33 (0) 4 26 99 60 81
    131 Boulevard Stalingrad / 69100 Villeurbanne
    ------------------------------



  • 4.  RE: insert user row/colum

    Posted Fri October 07, 2022 03:45 AM
    Hello Duong,

    Just a small addition to Andrew's answer.
    Asymetric calculations are now supported in Exploration in Workspace, so the calculation between the two columns in you view can be done by the calculation options menu  : 
    Reference in the documentation for classic views : https://www.ibm.com/docs/en/planning-analytics/2.0.0?topic=c-add-asymmetric-calculation-classic-view

    Regards,

    ------------------------------
    Florence Mougnaud
    ------------------------------



  • 5.  RE: insert user row/colum

    Posted Fri October 07, 2022 07:27 AM
    Hi Florence,

    If I am reading the requirement correctly, it is to perform the calculation over 2 dimensions, version and year.
    I am not sure this can be done via the calculation menu as I believe that only works over a single dimension?

    Therefore, I believe this can only be achieved by editing the MDX.

    regards,

    Mark

    ------------------------------
    Mark Wragg
    ------------------------------



  • 6.  RE: insert user row/colum

    IBM Champion
    Posted Fri October 07, 2022 04:36 PM
    thank a lot, i just a reponse that it will work with MDX ! and i tried and it worked !

    ------------------------------
    Duong DAU
    Consultant EPM Finance Transformation & Performance - Micropole


    M +33 (0)7 62 61 85 33
    F +33 (0) 4 26 99 60 81
    131 Boulevard Stalingrad / 69100 Villeurbanne
    ------------------------------



  • 7.  RE: insert user row/colum

    IBM Champion
    Posted Fri October 07, 2022 04:35 PM
    Edited by System Fri January 20, 2023 04:42 PM
    Thank for the reponse @Florence Mougnaud,
    But i want to ask a question  : From what version this function work? 
    Iam in local version 2.0.74.23 (win 2019) and i just try it today but its not work. 
    i saw the updated date is 10/2022, that means it just realease? 
    https://www.ibm.com/docs/en/planning-analytics/2.0.0?topic=c-add-asymmetric-calculation-classic-view
    thanks !!!

    ------------------------------
    Duong DAU
    Consultant EPM Finance Transformation & Performance - Micropole


    M +33 (0)7 62 61 85 33
    F +33 (0) 4 26 99 60 81
    131 Boulevard Stalingrad / 69100 Villeurbanne
    ------------------------------



  • 8.  RE: insert user row/colum

    Posted Mon October 10, 2022 03:34 AM
    Hello Duong, 

    This is an old feature. The release version for asymetric calculation was 2.0.62.
    Here is an example (with new cubeview but it works the same with the classic one) : 


    ------------------------------
    Florence Mougnaud
    ------------------------------



  • 9.  RE: insert user row/colum

    IBM Champion
    Posted Mon October 10, 2022 06:04 AM
    Hello Florence, 
    It worked !
    Thank alot for your help

    ------------------------------
    Duong DAU
    Consultant EPM Finance Transformation & Performance - Micropole


    M +33 (0)7 62 61 85 33
    F +33 (0) 4 26 99 60 81
    131 Boulevard Stalingrad / 69100 Villeurbanne
    ------------------------------