First of all, sorry, I couldn't phrase my question better.
So I want to be able to add a new column in my attributes table, say B, and it's value should be 1 if Column A's value is 1 and 0 if Column A's value is 2. in other words:
If A==1 : B=1
elif A==2 : B=2 I couldn't figure out a way to do this using Field Calculator.
Thanks

'Bike lane baby'and also'some arbitrary text'. You need single quotes for strings – Nathan W Jan 23 at 4:36