Link to home
Start Free TrialLog in
Avatar of brooksmato
brooksmato

asked on

How to group by the first 3 characters of a string

Hello-
I'm need to group by the first 3 characters of a string and am unsure of how to get this result. I figured that I should create a formula field for this and use this as the field to group by. What would the formula be? Or is there another way of getting this result?
Avatar of brooksmato
brooksmato

ASKER

I've found my answer searching this sight. This is it:
left({HPD:HelpDesk.Version Found In},3)

But, after applying this, my group names have changed to the first 3 characters of the string, but they still being grouped by the same full string. In other words, i'll have several groups with the first 3 characters listed. How would I get the groups to truly be grouped by the first 3 characters?
It sounds like you created a formula and placed it in the Group Header, but didn't actually change the group.  Right click on the group label, just to the left of the actual group (it'll say something like 'Group Header', 'Group Header A', 'GH', etc..) and select 'Change Group'.  Drill down through the list of available fields and select your formula as field by which your data will be grouped.

~Kurt
When I right click in the left column next to the group, and select 'Change Group', my formula is already being used as group. Any other ideas?
ASKER CERTIFIED SOLUTION
Avatar of Mike McCracken
Mike McCracken

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
mlmcc-
I checked the groups and had 2. When I removed the first one... Eureka! I got what I wanted. Looks good now.

Thank you!
Glad i could help

mlmcc