How to filter 0 and Blanks columns in excel and delete filtered columns from the input file using uipath linq query

Hi Team,
i have one excel with bulk data. i need to filter 0 and blank rows in Column W. After filtering the rows need to delete those filtered data from the same excel file.

Hi @Ramudu

Use Filter DataTable activity

Regards,

Hi @Ramudu

Please try the below linq

(From row In dt.AsEnumerable()
Let v = row(“ColumnName”).ToString.trim
Where Not v.Equals(“”) AndAlso Not v.Equals(“0”)
Select row).CopyToDataTable()

After filtering the data need to delete those data from the current excel file using linq quires

Pass the output of linq query to write range activity it will update the excel sheet.