Cognos Analytics

Cognos Analytics

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

 View Only
  • 1.  Report - Format type

    Posted Tue April 26, 2022 11:17 AM
    Doing a report using a date field, but unable to change the format as it only shows type "Text".

    Anyone had this issue?



    ------------------------------
    Dagur Egonsson
    ------------------------------

    #CognosAnalyticswithWatson


  • 2.  RE: Report - Format type

    Posted Wed April 27, 2022 01:47 AM
    Edited by System Admin Fri January 20, 2023 04:49 PM
    Not sure I have had your identical problem, but I've had similar, where I could not specify a date format for what I thought was a date field. What's worked for me is adding to the data item a CAST, e.g.: CAST([DepartureDate],date).

    ------------------------------
    Michael Walter
    Business Analyst
    TX HHSC
    Austin
    ------------------------------



  • 3.  RE: Report - Format type

    Posted Wed April 27, 2022 01:55 AM
    Hi,
    If it's a crosstab or chart I suggest to change the text source to "Data item value". Afterwards you can edit the data format optons.



    ------------------------------
    Robert Dostal
    Team Leader BI
    GEMÜ
    Ingelfingen
    ------------------------------



  • 4.  RE: Report - Format type

    Posted Wed April 27, 2022 04:58 AM
    Thanks Robert.

    Changing the source type of the crosstab node member from "Member caption" to "Data item value" solved the issue.

    ------------------------------
    Dagur Egonsson
    ------------------------------