Cognos Analytics

Cognos Analytics

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


#Product
#Analytics
#CognosAnalytics
#Analyticstools
#TechXchange Partner
#TechXchange Session
#TechXchange Presenter
#AI
 View Only
  • 1.  Classify Cognos reports based on similarity

    Posted 06/11/26 04:49 AM

    Hi all,

    does anyone have experience with classification/standardization of the existing Cognos report base?

    Customer has several thousand reports, they suspect a lot of them are "copy/paste and minor change"-type near duplicates. They would like to somehow classify and standardize as much as possible when moving from Cognos 11 to Cognos 12. 
    I would think some AI based approach would be suitable do identify clusters of similar reports, even though the actual transformation would probably be manual. Checking her to prevent reinventing the wheel ;)



    ------------------------------
    Tomáš Polakovič
    ------------------------------


  • 2.  RE: Classify Cognos reports based on similarity

    Posted 06/12/26 08:11 AM

    Have you considered looking at the usage (audit) and determine whether the reports are actually used?

    Several years ago, I had a client in a similar situation (a little bit smaller at around 2000 reports).  By looking at the audit data, we were able to get them down to around 300 reports.

    We put some rules in place in order to determine if it was something worth keeping or archiving.  For example: if the report ran once in the past year...we would determine if it was an annual report.  If it was not, we would archive it.  A lot of the reports turned out that someone ran it to see what it was and did not use it again.  

    I am pretty sure we looked at a 3 or 4yr period and not just 12 months.  One simple rule was if it was not used in 36 to 48 months...it was automatically archived (no questions asked).  From what i recall, that one simple rule removed 50 to 60percent of the reports.

    Going forward, the client continued to look at the report usage to help manage the overall count.  Today they are hovering around 400 to 450 reports.

    After a little over a year, the archived reports were deposed of (aka deleted).

    Hope this helps.



    ------------------------------
    John Cusack
    Analytica iQ
    ------------------------------



  • 3.  RE: Classify Cognos reports based on similarity

    Posted 06/12/26 04:57 PM

    Just to add to this - For the audit to work, it must have been installed and configured already. Installing the audit now is not going to help much for this purpose but can help in the future.



    ------------------------------
    - IBM Certified
    - IBM Champion
    - Specialize in converting ineffective solutions into fully effective ones
    ------------------------------



  • 4.  RE: Classify Cognos reports based on similarity

    Posted 06/17/26 07:24 AM

    one idea is to download the specs using the REST API and then use an AI to identify similarity.

    In detail: 
    using the REST API you can manage to get all information about all objects which are in the team content folder (with java sdk I guess even what is in my folders)
    Then you know all reports, reportViews with ID and search path. It is also possible to find out all related models.
    With this information you can download all report specs also with the REST API. Only for uploads you might need JAVA SDK.

    The use an AI for the spec analysis.

    Another approach is to copy the table with the report specs from the content store repository into a relational db environment and connect an AI with this table to do the analysis. Then you only have the internal ids from the content store but it is possible to join this with other content store tables to find out the object id you know from the portal.



    ------------------------------
    Kai Zeller
    ------------------------------



  • 5.  RE: Classify Cognos reports based on similarity

    Posted 06/17/26 07:32 AM

    Thanks for all your responses.

    Yes, my plan is to first compare the audit db with the actual objects in the content store to identify unused reports.

    Once I have the list of used reports, I would do some kind of structure fingerprinting, like number of queries, query items used etc and use classification to cluster similar ones.
    If you have done something like this before, what would be good candidates for the fingerprint items?
    I don't think I could use a LLM or AI on all the full specs - could I?

    thanks again



    ------------------------------
    Tomáš Polakovič
    ------------------------------



  • 6.  RE: Classify Cognos reports based on similarity

    Posted 06/17/26 07:41 AM

    you can also use a python script, once you have access to the report specs.

    possible options to get the specs are: REST API, SQL on Content Store, deployment packages.

    Then you could use a python script to get the query items structured from the report specs. An LLM would do same but it is creating the code for you ;-)



    ------------------------------
    Kai Zeller
    ------------------------------



  • 7.  RE: Classify Cognos reports based on similarity

    Posted 06/25/26 10:42 AM

    With ICALT you can dump the specs for reports, dashboards, packages and data modules from Teamcontent to disk, so you can analyze them (with AI). 

    A comparison between used reports (get information from audit-db) and reports in Cognos will be a report in one of the next releases. 

    Note: The name of a report and the searchpath in audit-db is based on the language settings from the user that run the report. This means- if you have multi-language settings for objects (folder, reports, dashboards,...) - the "same" report will be stored with different name in audit-db, if users execute the report with different language settings.



    ------------------------------
    Michael Haaß
    IBM
    ------------------------------