I think potentially, since your end goal is a CHART, calculated fields would be the better option for you to go in. Grouping text mode is not going to result in a chart at all. Please refer to the API explorer's reference tabs in order to get what you need for calculated field expressions. In brief:...