Incorporating Filtered Variables at the Metric Level

You can apply attribute filtering at a global level within your workspace by customizing a metric’s definition from the Custom Metric Editor.

For information about how to add a variable at the report level, see Incorporating Filtered Variables at the Report Level.


  1. Click Manage on the toolbar. The administration page opens.

  2. On the Data tab, click Metrics. The list of all workspace metrics opens.

  3. Create a new metric, or open the metric where you want to incorporate a filtered variable for editing. For more information about creating a metric, see: 

  4. In the Metric Editor, insert the keyword WHERE in your MAQL’s syntax if it is not already present.

  5. From the Elements sidebar, click Variables, and double-click the filtered variable to include. The variable is added to the metric definition. 

  1. Click Save. The metric is saved.

Any insight/report that contains your new metric displays data filtered by industry, even if no such filter appears in the report definition.