I am building a model that includes a 'select by attribute' algorithm, and I am attempting to select by multiple fields where the value matches a model input.
Essentially, I want the selection query to be 'field1 = input AND field2 = input'
Based off the tooltip, and this question (Select multiple fields in Modelbuilder) I believe that the syntax for selecting by multiple field parameters should be field1;field2:
However, this is not working for the select by attribute tool. The dialog box closes and clears the 'Selection attribute' field when I hit OK.
Is there a different syntax for the select by attribute tool or is this not possible? I am able to work around it for now by having two 'select by attribute' algorithms in the model and selecting within the current selection. I am using QGIS version 3.16.