Hello,
I'm trying to query those pages to count where a particular property is not empty. I've used as follows:
{{#ask:[[Competitor::! ]] |?Competitor |format=count }}
A number does result indicating how many pages have "Competitor" not null, but an error results as well: "Empty strings are not accepted".
Let me ask, is this the right way to query for non-empty properties? If this is the only possible way to do, is there a way to suppress the error?
Have you tried {{#ask:[[Competitor::+]]|format=count}}
?
Thanks, that works great! And how about those situations where the field IS empty?
I tried [[Competitor::-]], but did not work.