COGNOiSe.com - The IBM Cognos Community

IBM Cognos Analytics Platform => Cognos Analytics => Reporting => Topic started by: ribru on 31 Dec 2020 04:23:36 AM

Title: Drill through to multiple reports
Post by: ribru on 31 Dec 2020 04:23:36 AM
Report has, a.o., one query-item "Category". It displays several categories, e.g. A, B, C.
I want to drill-through for this item, but: for each category to a seperate, dedicated report with details. So a separate report for A, a separate report for B etc.
In the page-design it is only possible to drillthrough on this item to one report.
Is it possible to drill-through to multiple reports (if category = A then to report X, if category = B then to report Y etc.) and if so, how?
Thanks in advance for your solution.
Title: Re: Drill through to multiple reports
Post by: dougp on 31 Dec 2020 10:27:07 AM
Why different reports?  That seems like a maintenance hassle.  Why not one report with a Category parameter?
Title: Re: Drill through to multiple reports
Post by: dougp on 31 Dec 2020 10:49:09 AM
If you truly need that functionality, you should be able to do it with an HTML item:

'<a href="https://servername/ibmcognos/bi/?pathRef=.my_folders%2F' || [Sales (query)].[Branch].[City] || '&amp;format=HTML&amp;Download=false&amp;prompt=true" target="_top">' || [Sales (query)].[Branch].[City] || '</a>'

Start by getting the "share" link for the target report.
Title: Re: Drill through to multiple reports
Post by: ribru on 06 Jan 2021 02:59:42 AM
Thank you