Do not mix and match the Tablegroupstart or End method with the Tablegroup method. You must pick one method for your template.
The TableGroup function is limited to one merge field per table. The FieldName value must be a single merge field from the same dataset you are using for the TableGroup.