How to exit foreach loop in LINQ Reporting on MS word

How can I exit foreach loop on a table?
What is the end tag? I am using {foreach} but can’t stop the loop.

Using MS office word

@Leaso

You need to add a closing foreach tag with a front slash as following. Please also find a sample template along with the data file. Hopefully, it will help you accomplish the task.

<</foreach>> 

ReportTemplate.zip (9.2 KB)