COGNOiSe.com - The IBM Cognos Community

Legacy Business Intelligence => COGNOS ReportNet => Report Studio => Topic started by: biejorrun on 24 May 2007 02:40:59 AM

Title: [SOLVED] Multiple Footer-Rows in 1 List item
Post by: biejorrun on 24 May 2007 02:40:59 AM
Sorry for my bad English...I'm dutch ;-)

Situation: Cognos 8.2

I'm looking for a way to add a second footer row in a list item.
I already added a footer row with sums, but now I have to add another row, but from a different query. I know that it's not possible to assign 2 queries to one list item.

Any ideas or other solutions for this issue? Thanks in advance!

Björn
Title: Re: Multiple Footer-Rows in 1 List item
Post by: COGNOiSe administrator on 24 May 2007 09:02:24 AM
My English is even worse ... I'm Polish  ;D

You could "fake it" by forsing exact widths of columns for each query.
Title: Re: Multiple Footer-Rows in 1 List item
Post by: biejorrun on 30 May 2007 08:30:13 AM
Thanks! I will try that!

Björn
Title: Re: Multiple Footer-Rows in 1 List item
Post by: MDXpressor on 30 May 2007 11:16:35 PM
Fake it till you make it!   ::)

OR

Select the footer row in the list.  From the Structure menu select 'Insert List Row Cells Below' (or Above depending on your preference).

In the tabular model of the query which serves the list add a Tabular Reference (pointing at the 2nd query with the additional data item you want to include) to the Children section.  Bring in the data item required, and pass it up through the tabular model and query levels.

Drop the data item in the appropriate cell of the newly created row in the list.
Title: Re: Multiple Footer-Rows in 1 List item
Post by: biejorrun on 31 May 2007 04:17:12 AM
Quote from: MDXpressor on 30 May 2007 11:16:35 PM
Select the footer row in the list.  From the Structure menu select 'Insert List Row Cells Below' (or Above depending on your preference).

In the tabular model of the query which serves the list add a Tabular Reference (pointing at the 2nd query with the additional data item you want to include) to the Children section.  Bring in the data item required, and pass it up through the tabular model and query levels.

Drop the data item in the appropriate cell of the newly created row in the list.

That worked great, thanks!
Title: Re: [SOLVED] Multiple Footer-Rows in 1 List item
Post by: COGNOiSe administrator on 31 May 2007 11:03:49 AM
You CAN put two queries in one list !?!?! I'd never thought of that!

Thanks, MDX! Good lesson.
Title: Re: [SOLVED] Multiple Footer-Rows in 1 List item
Post by: MDXpressor on 31 May 2007 12:46:44 PM
It's my patented move.   ;D