I think this will do the trick. It’s all done in relevance, with some css so its not as ugly.
<style> th
{ font-size:15; background-color: #eaeaea; border: 1px solid #cccccc; margin: 0; padding: 6px 20px 1px 0; text-align: center;
} td
{ border: 0px;
} #ResultsTable
{ width: 100%; border-width: 0px;
} #ResultsTable td
{ vertical-align: top;
} table
{ font-size: 15px; color: black;
} </style> <table id=
"ResultsTable"> <th>Location</th><th>Number of Computers</th> <?relevance concatenations of trs of (td of (it as string) & td of (multiplicity of it as string)) of unique values of values of results whose (not error flag of it) of bes properties whose (name of it as lowercase contains
"location" OR name of it as lowercase contains
"half subnet") ?> </table>
Here you go, this should filter out all n/a results
<?relevance concatenations of trs of (td of (it as string) & td of (multiplicity of it as string)) of unique values of values of results whose (not error flag of it AND value of it as lowercase != "n/a") of bes properties whose (name of it as lowercase contains "location" OR name of it as lowercase contains "half subnet") ?>
All that was needed was 'value of it as lowercase != “n/a” ’
Just replace the original relevance expression with this one.
Hmm, your change should have worked. Make sure that the value it actually 1 blank space (" “), and not something like a empty string (”") or two blank spaces.
This expression may help, its the same as before only the location has ’ ’ added around it.
concatenations of trs of (td of ("’" & it as string &"’") & td of (multiplicity of it as string)) of unique values of values of results whose ( value of it != " " AND not error flag of it AND value of it as lowercase != “n/a”) of bes properties whose (name of it as lowercase contains “location” OR name of it as lowercase contains “half subnet”)
I think you need to add either a check for a blank or a check for non-existance. This will do both:
concatenations of trs of (td of ("’" & it as string &"’") & td of (multiplicity of it as string)) of unique values of values of results whose ( exists value of it AND value of it != “” AND not error flag of it AND value of it as lowercase != “n/a”) of bes properties whose (name of it as lowercase contains “location” OR name of it as lowercase contains “half subnet”)