Not Equal Column Value

Hi Team,

I am extracting specific rows from excel based on a condition.
Excel column name is
CHANNEL
AA
AB
AC
AC
AD
In assign activity using select statement i want to fetch rows which does not have the value AC
In Select trying as CHANNEL != ‘AC’ - Not working fetching all rows
CHANNEL <> ‘AC’ - Not working fetching all rows
Need help

Hi @Robotics,

You can use filter data table activity. Please check the screenshot.

image

Regards
Ömer

HI @Robotics

You can try with Filter data Table activity

image

Check out this blog for infomation

Regards
Gokul

Already i am using multiple conditions inside Select statement(assign activity) i want to include this condition as well

Instead of Sing quote try with Double Quote CHANNEL <> "AC" @Robotics

No its showing error in code

What was the error ? @Robotics Can you share the code here

dtInputExcel.Select(“[Opened Date]='”+now.ToString(“dd-MMM-yy”)+“’ AND [PRIORITY]=‘2’ AND [CHANNEL] <> ‘AC’”).CopyToDataTable