Tags can help streamline workflows in several ways:
• filtering columns
• reusing properties
• grouping for platform launches
You can use tags in addition to or instead of traditional column groups. They provide a more flexible, metadata-driven alternative for categorizing and managing columns.
Filter columns by using tags to narrow your view in large tables and quickly find related data. In the Tags area of the Columns panel, you can specify one or more tags to immediately filter the visible columns in the data grid. Only columns with the selected tags remain visible. Filtering happens dynamically and does not modify the data table.
You can also filter by tags in the Columns Manager, where tag filters work alongside other column filters such as name, data type, modeling type, and statistics. You can combine these filters to locate very specific subsets of columns. Filtering by tags can help you quickly set up analyses by selecting predefined column groups that are based on tags, rather than selecting columns individually.
In the following example, you open a sample data table and filter for an existing tag. This example shows a set of related columns without modifying the existing column groups.
1. Select Help > Sample Data Folder and open Lipid Data.jmp.
2. In the Columns panel, select the More Column Filtering Options button (
).
3. Select the
Blood Measurements tag.
Figure 5.13 Filtering Columns by Tag in the Columns Panel
Tags enable you to assign shared properties across columns without copying the properties into each column. When a tag includes properties like value labels, those properties are dynamically applied to any column that uses the tag.
This process provides a consistent and efficient way to reuse common settings across a data set. For example, if multiple columns use the same coding scheme, you can define the scheme once as part of a tag and apply it wherever it’s needed.
Caution: Properties that are inherited through tags are not explicitly included in script exports. Only the Tags column property is included. However, a tagged column will still have any column properties that are associated with a tag. This information can be seen quickly from the Column Info window or the Columns Manager.
Tags that are defined in the Preferences window become global tags that you can use in any data table that you open in JMP. For more information about defining global tags, see “Preferences for Column Tags”.
Global tags that are defined in Preferences are not automatically available in your data tables. You can access them by importing them from the New Tag window. The following steps show how to import a Global Tag into a table’s set of Table Tags.
1. Open your data table.
2. Click the disclosure triangle next to the Tags section of the Columns Panel.
3. Right-click in the area within the Tags section of the Columns panel.
Figure 5.14 Importing a Tag from Preferences
4. Select Import from Preferences.
The Import Tags window appears.
5. Select the global tag that you want to import to the data table.
6. Click OK.
If you would like to make a modification to a global tag for a specific table, such as adding a column property or changing the color, you can import the tag by using the New Tag window.
1. Open your data table.
2. Click the disclosure triangle next to the Tabs section of the Columns Panel.
3. Click the New Tag button.
The New Tag window appears.
4. Click the button next to the Name field to see the full list of table tags and global tags.
5. Select the global tag to import to the data table.
From here, you can modify the global tag however you like. You can change the color or emoji that is associated with it, modify the definition, or give it a column property. Changes made to a global tag after it is imported as a table tag do not modify the definition of the global tag that is saved in Preferences.