I have a shapefile
with one column. From that column I want to keep only the records (rows) with value 50 and delete the other rows. So far, I am doing this manually, by selecting the rows with the values I want to delete and I remove them. I was wondering if there is a way to write an expression in QGIS
to do this automatically. I have see this post but it's not what I am looking for. Assuming that my attribute table's values is from 20 to 100 with step 10 and the column name is DN, I want to delete all rows except the ones that have a value of 50. Below is a screenshot of the attribute table: