Edit Group By

Default Type: Column
You can change the Type to: Expression

After you are done, click OK.