June 23, 2016 at 10:39 am
I want average of a text field in SSRS report, how can i convert it to number first and then get the average?
June 23, 2016 at 11:53 am
Depends on what you mean by "average" with regard to a text field. Does that mean if one value is "A" and another is "C", it averages to "B"?
- Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
Property of The Thread
"Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon
June 23, 2016 at 2:17 pm
Yes, that's right. The text column is actually a calculated column in SharePoint List.
June 23, 2016 at 9:01 pm
If it comes across as a text field, then you could create a calculated field in your dataset and convert it to whatever datatype you need, using something like CLNG() in a calculated field, and then summing that.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply