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

Aggregate sum of string typed values

1 Answer 305 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
hermann
Top achievements
Rank 1
hermann asked on 12 Oct 2012, 01:20 PM
Hi,
I'd just like to know, what would be the best way to aggregate a columns sum, where the column type is string. So the items would be "10", "20", "30".

Many thanks,
Hermann

1 Answer, 1 is accepted

Sort by
0
hermann
Top achievements
Rank 1
answered on 18 Oct 2012, 08:49 AM
Oh my,
all I needed to do is to overrule the column type in the datasources' model
{field: "MyStringField", type : "number" }

Sorry for bothering...
Tags
Data Source
Asked by
hermann
Top achievements
Rank 1
Answers by
hermann
Top achievements
Rank 1
Share this question
or