Filter datatable in excel

I ma using filter datatable each time I filter it I store it in datatable .how can I get the entire filtered value in excel . Each time I run in sloop I will get one filter value next time I will get another filter value.these two filter value should be store in single excel with header

lets assume the filter result is a datatable /the output from filter datatable activity then we cando following:

first init: assign activity - dtMerged = dtOrig.Clone
within the loop - we can use the merge datatable activity

Hi @sruthesanju

From what @ppr said this is the alternate solution,

In the first loop use write range and check header property and from secomd loop use append range it will automatically append the data in the Excel… thanks

Can you explain me with xaml file