COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: kc9400 on 01 Jun 2017 04:40:15 AM

Title: Total value for rendered columns
Post by: kc9400 on 01 Jun 2017 04:40:15 AM
Hi all,

I have a list report where I render columns based on the prompt values a user selects and am struggling to get the count column to total correctly (the way I want).

The Employee Count needs to total based on the rendered columns.

The Campus, Badge date, and Employee count are displayed as a minimum in the output but I cannot get the Employee count to total based on the rendered columns.

Has anyone done this in the past?

Thanks

Title: Re: Total value for rendered columns
Post by: kc9400 on 01 Jun 2017 05:42:14 AM
Ok I've made some progress, but the output is leaving blank rows in between where values are displayed.

I am using something like this for each column:

CASE WHEN ?List Columns? contains 'HR Org Code' THEN [SQL1].[4] ELSE NULL END

But yeah I think this is causing the blank rows to show.