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

Cross tab with large number of table column groups

4 Answers 162 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
William
Top achievements
Rank 1
William asked on 29 Jul 2015, 09:57 AM

Hi:

 I am working with cross tab now and was wondering if it is possible to split the data up into two portions e.g

Suppose I have the following data:

 Test, Unit, Value, Date

and will convert into a cross tab table like this:

Test,Unit,    1/3/2015, 2/3/2015, 3/3/2015, 4/3/2015, 5/3/2015, 6/3/2015, 7/3/2015,…
LDL,mg/dl,  4.2,         5.4,           4.5,          4.8,         4.7,           5.3,        5.6
HDL,mg/dl, 3.2,         3.1,           2.8,          3.5,          3.2,                ,        4.6
TRI,mg/dl,  5.1,         5.4,           4.9,          5.1,          4.8,           3.1,        4.7

 

but since the table column group could grow much larger, I was wondering if it is possible to split it into multiple parts, limiting each 'Group' to for 4 (as an example) date per group 

e.g

Test,Unit,    1/3/2015, 2/3/2015, 3/3/2015, 4/3/2015
LDL,mg/dl,  4.2,         5.4,           4.5,          4.8,        
HDL,mg/dl, 3.2,         3.1,           2.8,          3.5,        
TRI,mg/dl,  5.1,         5.4,           4.9,          5.1,        

 

Test,Unit,    5/3/2015, 6/3/2015, 7/3/2015,…
LDL,mg/dl,  4.7,           5.3,        5.6
HDL,mg/dl, 3.2,                ,        4.6
TRI,mg/dl,   4.8,           3.1,        4.7
​​

Many thanks

 Regards

 William

                          

 

 

4 Answers, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 03 Aug 2015, 08:29 AM
Hello William,

You will need to split the data from the data source and create two separate Crosstab items with different data sources to achieve the described layout. It is not possible to split the current crosstab on multiple rows.

Regards,
Nasko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
William
Top achievements
Rank 1
answered on 03 Aug 2015, 08:36 AM

Hi Nasko:

 Thanks for the info, but if I don't have the exact number of items (in this case date), how should it be organized in the designer view?

 Many thanks

 Regards

 William

 

0
Accepted
Nasko
Telerik team
answered on 05 Aug 2015, 01:33 PM
Hello William,

It is not possible without knowing the number of items beforehand. In this case, it will be required to retrieve the data and count the items, then creating or modifying the crosstab definition.

Another option is to rotate the crosstab layout, so it fits the page width.

Regards,
Nasko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
William
Top achievements
Rank 1
answered on 05 Aug 2015, 01:46 PM

Thanks, I guess this is all we can do for now.

 

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