Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
LOAD
Sno,
"Date",
"Time",
"State/UnionTerritory" as State,
ConfirmedIndianNational,
ConfirmedForeignNational,
Cured,
Deaths,
Confirmed
FROM [lib://DataFiles/covid_19_india.csv]
(txt, utf8, embedded labels, delimiter is ',', msq)
where "State/UnionTerritory" <>'Cases being reassigned to states' or 'Unassigned';
this code is only filtering Cases to be reassigned not unassigned
Please help
where "State/UnionTerritory" <>'Cases being reassigned to states' and
"State/UnionTerritory" <> 'Unassigned' and
Not isnulll("State/UnionTerritory");
Since you are using <>, I think you want to use AND and specify "State/UnionTerritory" twice, like this:
where "State/UnionTerritory" <>'Cases being reassigned to states' and
"State/UnionTerritory" <> 'Unassigned';
Its working perfectly fine now,Can you also help me to know, how to remove null values from same column
where "State/UnionTerritory" <>'Cases being reassigned to states' and
"State/UnionTerritory" <> 'Unassigned' and
Not isnulll("State/UnionTerritory");
still null values are appearing at the data model, is null and space same?