IIRC you can't use variables in the filter rows step. That would probably be a worthy change request to raise in jira.pentaho.com
So, simply use a "Get Variables" step to get the variable into the stream and then use the filter rows step. ( or switch/case depending on complexity )