Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Create Flag for ID, If Value contains 'AA' then 'High' else 'Low'
if(value='AA','High','Low')
not by value, the flag should be based on ID
Ex: 500001 is High, 500002 is low
Join (YourTable)
LOAD ID,
If(Min(Value='AA'),'High','Low') as Flag
Resident YourTable
Group By ID;