One way to do it would be to add another line to your query where software, which would require that field to have a value.
Another useful query extension would be to add WHERE file.path != this.file.path which eliminates the file the query resides in from the result set. Often found in MOC type of file queries.
When you say, “Is it possible to subtract only this file,” assume you have a specific file “Shortcut MOC.” I am satisfied omitting files from Dataview queries this way:
Identify the folder where I want to hide files from being listed by Dataview. In my case, this was “Projects.”
For each file I don’t want to list, add a key, “list” and set it to “false.” E.g.,
“list:: false”
Then write my dataview query something like this:
table status, priority
from "Projects"
WHERE (list != "false")
sort priority desc