COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: Francis aka khayman on 20 Aug 2014 04:57:20 AM

Title: Columnar Table convert to Rows in Report Studio
Post by: Francis aka khayman on 20 Aug 2014 04:57:20 AM
This is actually an old issue, I am not sure if I have posted before.

The table looks like this:

Product        Sales Amt      Forecast Amt     Sales Target Amt   Sales Qty   Forecast Qty   Target Qty
Product A          11                   12                          13                    14                  15              16             
Product B          21                   22                          23                    24                   25              26


Using Report Studio, I want a crosstab that looks like this:

                                           Sales         Forecast        Target
Product A        Amt                 11              12                 13
                        Qty                 14              15                  16
Product B       Amt                   21              22                 23
                       Qty                   24               25               26

Any ideas how to achieve efficiently?
Title: Re: Columnar Table convert to Rows in Report Studio
Post by: BigChris on 22 Aug 2014 05:20:27 AM
Hi - it wouldn't be a crosstab as such, but you can probably get something like this by unlocking your list then adding a table into the second cell (after the Product) that's 4 columns by 3 rows (to allow for the headings). Then you should be able to move the fields into the relevant fields...worth a try anyway