id: 'not' with variable
It should be a string:

{% for entry in craft.entries({ section: 'news', limit: 2, id: 'not 42' }) %}


so concat your variable like so:

{% for entry in craft.entries({ section: 'news', limit: 2, id: 'not ' ~ this_id }) %}