Assigning new variables once it has been read once

So i have an excel sheet with records of customers’ orders, and each customer has a unique code, but they can have multiple purchases, thus multiple records saved in my sheet. I want to extract each order into a word document, but now what is happening is that they keep repeating the first order over and over again in my word document. So if a customer has 5 orders, it repeats the first order 5 times, instead of typing all 5 different orders. Does anyone know how I can get the 5 unique orders? Sorry for the qn as I have just begun using uipath 2 days ago.
Thank you so much for your time! :slight_smile:

@_Ascaint -
you can try below
dtNew =dt.DefaultView.ToTable(True,“Column1”,“Column2”,“Column3”,“Column4”) [Specific columns]
dtNew=dt.DefaultView.ToTable(True) [All the columns]