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

Percentages in Grouping Header

1 Answer 12 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Wei
Top achievements
Rank 1
Wei asked on 13 Nov 2011, 06:18 PM
Hi,

I am trying to put a count as well as a ratio in my group header.  The ratio has a simple formula (Current Group Count / Previous Group Count).  Has anyone done this?

World  Count:7,000,000,000 Percentage: 100%
Canada Count: 35,000,000 Percentage 0.05%
        Alberta Count 3,000,000 Percentage 0.85%
              Calgary Count 1,000,000 Percentage 33%

Thanks for your help

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 14 Nov 2011, 10:26 AM
Hello,

 You can use standard aggregate functions and custom aggregate functions to achieve your goal. 

Best wishes,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
Wei
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or