Just to point out the obvious: it might be easier to change the property names to something like subject-project-sub-activity. No spaces, no characters that might confuse dataview.
I thought about it when I was trying to write a working query, but without using parentheses the essence of what is written changes, and I wouldn’t want to make such compromises. I’d probably even rather wait for Datacore and try to create a working query by interacting with the UI than change the name of my properties…
As a temporary solution, I use Embedded Search together with Query Control, - it takes a bit of time to run the first time (for indexing?), but it works without any issues.
I failed to write Dataview Query using row[], - I didn’t quite understand how I can specify a specific value for the subject (project sub-activity) property.
Since I wasn’t sure if row[] in principle supports specifying a value for a property, I tried just referring to the property and the value of the property separately in the Dataview Query: row[<property>] AND row[<value>].
… , but it gave an error.
However, using WHERE contains(subject-project-sub-activity, “<value>”), I was able to get the desired result.
Once again, thank you very much for your help.
@harr, while, based on holroy’s reply, I was looking for information about row[] in the Dataview documentation, I came across this: