Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Using QGIS 2.18. I have 346 polygons on a layer and I want to display all but one.
In this instance I wish to run a query using field ONSCode but show all except 17UB.
I have been trying to use NOT but in the wrong context and get errors.
How about "ONScode" != '17UB'
"ONScode" != '17UB'
!= means "not equal to".
Easy way: Select '17UB' manually, then invert the selected features.
By code: "ONScode" NOT LIKE '17UB'
"ONScode" NOT LIKE '17UB'
Required, but never shown