Cognos Analytics

Cognos Analytics

Connect, learn, and share with thousands of IBM Cognos Analytics users! 

 View Only
  • 1.  Hours not summarized on one row

    Posted Tue January 07, 2020 01:31 PM

    I am a rank beginner at this and i'm hoping someone can point me towards the right path. The total YTD hours for October is being broken down by month in my view instead of being grouped in one row. 

    This is how the Total YTD is being calculated :  if ([Period]<= ?pPeriod?) then ([Hours]) else (0)

    Total PTD  if ([PeriodT]= ?pPeriod?) then ([Hours]) else (0)

    Detail Filter :caption([Year])= ?pYears?

    I want the total PTD and YTD hours in one row.

    Employee PTD YTDHours
    Smith, Rob                                  144.50
    Smith, Rob                                    96.50
    Smith, Rob                                  106.50
    Smith, Rob                                  112.50
    Smith, Rob                                  148.00
    Smith, Rob                                  122.00
    Smith, Rob                                  169.50
    Smith, Rob                                  176.00
    Smith, Rob                                  161.50
    Smith, Rob                   175.50                                  175.50
    Desired
    Employee PTD YTDHours
    Smith, Rob                   175.50                               1,412.50


    ------------------------------
    Nischhal KC
    ------------------------------

    #CognosAnalyticswithWatson


  • 2.  RE: Hours not summarized on one row

    Posted Tue January 07, 2020 01:49 PM
    Ni Nischhal,
    Please have a look at the aggregation for PTD, it should probably be total

    //Henk

    ------------------------------
    HENK CAZEMIER
    ------------------------------



  • 3.  RE: Hours not summarized on one row

    Posted Tue January 07, 2020 02:01 PM
    Henk,

    Thanks for taking the time to respond. Unfortunately that didn't work.

    ------------------------------
    Nischhal KC
    ------------------------------



  • 4.  RE: Hours not summarized on one row

    Posted Tue January 07, 2020 02:37 PM
    Hi Nischhal,
    Could you share the report spec or send it to me.
    henk.cazemier@ca.ibm.com

    // Henk

    ------------------------------
    HENK CAZEMIER
    ------------------------------