You can use for each row to loop through your input DT. Use get row item to capture the value of column " Alias" . Check if that value is empty or not , then depending on the result , you can choose between the number of rows to add to the Output DT.