COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: patrickthatcher on 02 Dec 2015 01:40:39 PM

Title: Crosstab row total using relation query
Post by: patrickthatcher on 02 Dec 2015 01:40:39 PM
Howdy. I have a multi-fact crosstab report using a relational query.  I have the column totals, but the users would now like a row total based off the GROUP_FIELD.  How would I go about doing this?

                                                         |      GROUP_FIELD              |
                                                         |    <Date_Range>               |
                                                         |  <Sls $>       | <Sls U>      |
~~~~~~~~~~                                |
<#Field_1#>   |<#Field_1#>          | <#1234#>   |<#1234#>  |   Total $   |  Total U|   

Thank you
Title: Re: Crosstab row total using relation query
Post by: patrickthatcher on 04 Dec 2015 12:18:12 PM
If it wasn't readily apparent, the issue I'm facing is that my crosstab contains multiple facts
Title: Re: Crosstab row total using relation query
Post by: patrickthatcher on 04 Dec 2015 07:28:04 PM
Got help from a different source.  Here's how to setup in case you need to do this:

                                                         |      GROUP_FIELD                                                            |
                                                         |    <Date_Range>               |  <Sls $>       |  <Sls U>      |
                                                         |  <Sls $>       | <Sls U>      |
~~~~~~~~~~~~~~~~~~~~~~  |
<#Field_1#>   |<#Field_1#>          | <#1234#>   |<#1234#>  |   <#1234#>  | <#1234#> |