IBM Support

Creating a report using Cognos pre-defined theme results in crosstabs that span the entire page

Troubleshooting


Problem

Creating a report that uses Cognos pre-defined theme results in crosstabs that span the entire page. 

Cause

The report that is being used for the theme contains modified classes.  Therefore, when you create a new report that uses this theme, it uses the modified classes. 
New report created with a crosstab without using a theme:
image-20230606125618-1
New report created with a crosstab that uses the Cool Blue theme:
image-20230606125824-2

Resolving The Problem

Modify the classes of the report that is specified for the theme.
Theme reports are located in the Team Content->Templates->Style Reference Reports folder.
In the example above you need to modify the Cool Blue report Crosstab table class.  It is set to 100% width:
image-20230606130332-3
After making the changes, save the report in the same Style Reference Reports folder.  Any new reports created that use this Cool Blue theme will use the modified classes.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSTSF6","label":"IBM Cognos Analytics"},"ARM Category":[{"code":"a8m500000008d78AAA","label":"Reporting"}],"ARM Case Number":"TS009050527","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
06 June 2023

UID

ibm17001691