Cognos Analytics

Cognos Analytics

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

 View Only
  • 1.  Cognos 11.2.4. Refresh a dashboard with result from a custom query

    Posted Wed February 28, 2024 01:44 PM

    Hi everyone,

    Is it possible to refresh a dashboard with data returned from a custom sql  query?

    I created the dashboard using the csv table with the data from the query uploaded manually. I would like to automate the daily refresh of the dashboard running the custom sql query on a schedule.

    Thanks!



    ------------------------------
    Marcelo Silveira
    ------------------------------



  • 2.  RE: Cognos 11.2.4. Refresh a dashboard with result from a custom query
    Best Answer

    Posted Wed February 28, 2024 04:52 PM

    Create a dataset with the SQL as the source. You'll still need to select a package or a module as the source for the dataset, but once you do go to the queries pane

    Then drag the SQL object to the right of the query

    At that point you just select your datasource and paste in your SQL. Schedule the dataset as required, and use that as the source for your dashboard.



    ------------------------------
    Paul Mendelson
    ------------------------------



  • 3.  RE: Cognos 11.2.4. Refresh a dashboard with result from a custom query

    Posted Wed February 28, 2024 06:09 PM

    do you need any specific role or permission to see an option to create "new dataset"? I don't see this option when I click in "new"



    ------------------------------
    Marcelo Silveira
    ------------------------------



  • 4.  RE: Cognos 11.2.4. Refresh a dashboard with result from a custom query

    Posted Thu February 29, 2024 01:31 AM

    Datasets are only available from the context menu of a package or module. I don't remember the actual capabilities needed, but if you can make reports you probably have it.



    ------------------------------
    Paul Mendelson
    ------------------------------