Cognos Analytics

Cognos Analytics

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

 View Only
  • 1.  topCount function for relational model

    Posted Wed August 04, 2021 09:16 AM
    I want to do something like topCount function in DMR, but is not possible in relational model. I have tried with rank function and filter , but I do not get correct data. Is there any other way to get top 15, where measure is count distinct.

    Thanks.

    ------------------------------
    Veljko
    ------------------------------

    #CognosAnalyticswithWatson


  • 2.  RE: topCount function for relational model

    Posted Wed August 04, 2021 08:08 PM
    Hi,

    You can accomplish that using rank() function and creating a filter with "After aggregation" set.

    ------------------------------
    JEAM COELHO
    Cognos Solution Architect

    LinkedIn: https://www.linkedin.com/in/jeamcoelho/
    ------------------------------