This is a migrated thread and some comments may be shown as answers.

Crosstab grouping

1 Answer 222 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 16 Dec 2011, 02:35 AM
Hi,

I have to develop a report who displays a crosstab.

Data are in the report's datasource and look like this :

ID    prevID     newID
1     toto          tata
2     toto          titi
3     toto          tutu
4     hello        hi
5     hello        bye

Data should be organize like this into the crosstab

toto     tata
           titi
           tutu
           total 3
hello    hi
           bye
           total 2
           TOTAL 5

If anyone can help me, I would be very gratefyl

Bye, Kévin

1 Answer, 1 is accepted

Sort by
0
Elian
Telerik team
answered on 16 Dec 2011, 04:03 PM
Hello Kevin,

The crosstab is used for grouping both on rows and columns, which suggests that the middle fields would be some kind of aggregates (Sum, Average, etc..)
The layout you want can be achieved with a simple table with one row group  on prevID containing the detailGroup. See attached image for more info

Regards,
Elian
the Telerik team

Q3’11 of Telerik Reporting is available for download. Register for the What's New in Data Tools webinar to see what's new and get a chance to WIN A FREE LICENSE!

Tags
General Discussions
Asked by
Kevin
Top achievements
Rank 1
Answers by
Elian
Telerik team
Share this question
or