Creating Formulas Based on Filters
To create formulas that evaluate specific conditions, you can use the measured value
function, which performs a calculation only when the values meet a set of criteria.
- Measured Value Syntax:
- (Measure, Scope 1, Scope 2, ..., Scope N)
- Parameters:
- Measure: A field measure or formula.
- Scope: A filter, including numeric value, text, list, ranking, and time filters.
- Define a formula in the Formula Editor.For more information, see Creating and Editing Formulas.
- Enter the syntax for the measured value function and include the field that you want to use as a filter in the formula.
- Right-click the field and select Filter.
- In the Filter dialog box, select a type of filter from the tabs on the left and specify filtering details in the panel on the right.
- Click OK.
For example, you can use the measured value function with a list filter to count only 2-sided jobs.
Another example is using a ranking filter to track the contribution of best-performing printers to the total number of processed jobs. You can create a formula that calculates the number of jobs only for top-ranking printers. This formula filters the data dynamically since the list of top-ranking printers changes over time based on printer performance.
Note: If a widget is filtered using measured values, the measured value overrides any other
widget or dashboard filters specified for the same fields.