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

[Solved] How to calculate and summarize data using radgrid

1 Answer 78 Views
Grid
This is a migrated thread and some comments may be shown as answers.
CHE PAK
Top achievements
Rank 1
CHE PAK asked on 29 Jul 2013, 06:00 AM
Hi Telerik team,
I have a problem how to populate the data in one table using radgrid.
i'm using vb.net and asp.net
my RAW DATA like this:

  type      |         date
         
audio    |    15-02-2009
audio    |    01-03-2009
audio    |    09-04-2009
audio    |    12-05-2009
audio    |    12-06-2009

visual    |     02-01-2009
visual    |    14-02-2009
visual    |    16-03-2009
visual    |    18-04-2009

visual    |    12-06-2009
visual    |    20-06-2009

graphic |   20-06-2009

and  I want to develop a report like this. any suggestion or solution
====================================================================
type/month    01-2009    | 02-2009 | 03-2009 | 04-2009 | 05-2009 | 06-2009 | TOTAL        
audio                   0                1               1               1                1              1           6
visual                   1                1              1                1               0               2            6
graphic                0                 0               0                0              0               1           1
GRAND TOTAL          1            2              2                2              1              4            13


Thanks so much for helping and guiding me..

1 Answer, 1 is accepted

Sort by
0
Accepted
Pavlina
Telerik team
answered on 31 Jul 2013, 03:21 PM
Hello,

To display such report you can use our RadPivotGrid control. For a live example which demonstrates the different calculations RadPivotGrid can apply on your data refer to the link below:
http://demos.telerik.com/aspnet-ajax/pivotgrid/examples/totalformats/defaultcs.aspx

Regards,
Pavlina
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Grid
Asked by
CHE PAK
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or