Netskope Help

Adding Custom Fields

By using custom fields you can add new custom dimensions, measures, and table calculations yourself such as:

  • A custom measure based on an existing dimension

  • A filtered custom measure based on an existing measure

  • A custom dimension based on an expression

Creating a Custom Measure from a Dimension

There are two ways to create a custom measure from a dimension: using the dimension’s gear menu and using the Custom Fields section.

Using the Dimension’s Gear Menu

In many cases, you can use this shortcut technique:

  1. Expand the view with the dimension that you want to measure. The dimension cannot be a custom dimension.

  2. Click the dimension’s gear menu.

  3. Select a function. In this example, we chose Count to create a measure that calculates the count of distinct applications. The suggested functions vary based on the type of dimension you’ve chosen (such as number, text, and date). Your new field is automatically added to the report.

  4. Expand the Custom Fields section to see your new field.

  5. As with other measures, you can click a custom measure’s name to display it in a report. You can also click its Filter button to use it as a filter in a report.

Using the Custom Fields Section

If you want to define a format or a filter for your custom measure while creating it, start with the New button on the Custom Fields section:

  1. Expand the Custom Filters section.

  2. Click New.

  3. Choose Custom Measure.

  4. Specify the name, format, dimension, and measure type that you want to use. If you want to add a custom filter, click Custom Filter and type an expression, using any function and operator that can be used in other custom filters. The editor will suggest field names and give syntax help for any functions you use.

  5. Click Save.

The field picker displays your new custom measure in the Custom Fields section. As with other measures, you can click a custom measure’s name to display it in a report. You can also click its Filter button to use it as a filter in a report.

Creating a Filtered Custom Measure from Another Measure

To create a custom measure that copies an existing measure and adds a filter:

  1. Expand the view with the measure that you want to copy. The measure cannot be a custom measure.

  2. Click that measure’s gear menu.

  3. Click Filter Measure.

  4. Modify the name and provide the filter expression, using any functions and operators that can be used in other custom filters. The editor will suggest field names and give syntax help for any functions you use.

  5. Click Save.

The field picker displays the new measure in the Custom Fields section. As with other measures, you can click a custom measure’s name to display it in a report. You can also click its Filter button to use it as a filter in a report.

Creating a Custom Dimension Using an Expression

To create a custom dimension using an expression and one or more other dimensions:

  1. Expand the Custom Filters section.

  2. Click New.

  3. Choose Custom Dimension.

  4. Specify the name and format that you want to use. In the main box, type an expression that calculates the value for your dimension, using any functions and operators that can be used in other custom filters. The editor will suggest field names and give syntax help for any functions you use.

  5. Click Save.

The field picker displays your new custom dimension in the Custom Fields section. As with other dimensions, you can click a custom dimension’s name to display it in a report. You can also click its Filter button to use it as a filter in a report.