Cognos Analytics

Cognos Analytics

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

 View Only
  • 1.  How to change "Data type" - Warning: MSR-VRF-1202

    Posted Fri July 26, 2019 01:58 PM
      |   view attached
    I'm creating a data module and some columns have an alert message:

    "Warning: MSR-VRF-1202 The column "COLUMN NAME" has the data type "string" and can't be aggregated."

    How I can solve this?

    Thanks!


    ------------------------------
    Diego Rodrigues Lima
    Data Scientist
    Mainframe Capacity & Performance
    São Paulo - Brazil
    ------------------------------

    #CognosAnalyticswithWatson


  • 2.  RE: How to change "Data type" - Warning: MSR-VRF-1202
    Best Answer

    Posted Fri July 26, 2019 04:27 PM
    Looks like the data type is TEXT which can not be aggregated.  Depending on where the data is coming from, you may need a calculation that uses a function like cast to make it appear as a number.

    ------------------------------
    NORBERT Bracke
    ------------------------------



  • 3.  RE: How to change "Data type" - Warning: MSR-VRF-1202

    Posted Mon July 29, 2019 08:27 AM
    I was able to solve by changing the data type directly from where the data was coming from.

    Thank you!

    ------------------------------
    Diego Rodrigues Lima
    Data Scientist
    Mainframe Capacity & Performance
    São Paulo - Brazil
    ------------------------------



  • 4.  RE: How to change "Data type" - Warning: MSR-VRF-1202

    Posted Fri August 02, 2019 10:44 AM
    In the future, consider using the cast function to assist with this if you cannot change the data type in the source.

    cast(date_item, dataType(n))

    I really wish they'd just put in a drop down that applies the cast for you...

    ------------------------------
    Ryan Dolley
    2019 IBM Champion
    www.ibmblueview.com
    ------------------------------



  • 5.  RE: How to change "Data type" - Warning: MSR-VRF-1202

    Posted Fri August 02, 2019 03:09 PM
    Thanks for the tip.

    ------------------------------
    Diego Rodrigues Lima
    Data Scientist
    Mainframe Capacity & Performance
    São Paulo - Brazil
    ------------------------------