Filtering by a Saved Metric
A layout query can compare results already available in Browse for the selected analysis. For a saved metric, this requires an existing evaluated column linked to that definition.
Metric thresholds
Section titled “Metric thresholds”For a saved same-finger metric that multiplies a frequency by 100, a threshold of 2.5 means 2.5 percent. For a definition that returns the raw fraction, the equivalent threshold is 0.025. Check the saved formula, not only the formatting of a metric-view cell.
To see layouts above 2.5 percent in Browse, use the saved percentage metric as a threshold. This template uses metric to look up the saved result and > to compare it with a threshold:
metric('saved-metric-id') > 2.5The placeholder denotes the saved definition’s internal ID. The editor’s Reference ID is the name used in metric views. Add metric column in Browse creates an inline query column, so it does not link a saved definition for this example.
Limit the same threshold test to Dvorak variants by combining it with a name substring test. Use ~ to match the name and & to combine both conditions:
name ~ "Dvorak" & metric('saved-metric-id') > 2.5Layout query grammar specifies strings, comparisons, and precedence.