Relevance can be written to be Plural or Singular.
Relevance that is singular MUST have 1 and exactly 1 result to be valid.
Relevance that is plural can have 0 or more results.
Here is an example of a singular relevance statement:
(value "InstallDate" of key "HKLM\Software\Microsoft\Windows NT\CurrentVersion" of native registry) as string as integer * second + "01 Jan 1970 00:00:00" as local time
https://bigfix.me/relevance/details/2196
Here is an example of a plural relevance statement that returns the same information:
(it * second + "01 Jan 1970 00:00:00" as local time) of (it as string as trimmed string as integer) whose(0 != it) of values "InstallDate" of keys "HKLM\Software\Microsoft\Windows NT\CurrentVersion" of (x64 registries;x32 registries)
https://bigfix.me/relevance/details/3002576
In general, but most particularly for reporting, it is best to write relevance to be plural instead of singular. There are a few cases where you might need a singular result from plural relevance that should only have 1 result, and in those cases it is possible to convert a plural relevance statement into a singular one using the unique value inspector.
If I were to use the plural result above in a property, I would do the following:
unique values of (it * second + "01 Jan 1970 00:00:00" as local time) of (it as string as trimmed string as integer) whose(0 != it) of values "InstallDate" of keys "HKLM\Software\Microsoft\Windows NT\CurrentVersion" of (x64 registries;x32 registries)
This would collapse any duplication in the plural result. This is a good thing if you don’t need to know that there were duplicate results. This does not convert it into a singular result, it remains plural. Even if there is actually only 1 result, it is considered “plural”.
If I were to use the plural result above in a more complicated statement that required a singular result ( like a comparison ) then I could do the following:
unique value of (it * second + "01 Jan 1970 00:00:00" as local time) of (it as string as trimmed string as integer) whose(0 != it) of values "InstallDate" of keys "HKLM\Software\Microsoft\Windows NT\CurrentVersion" of (x64 registries;x32 registries)
This will convert it from a plural result, to a singular one. This will only work if there are not multiple different results.