{"id":22236,"date":"2016-11-17T11:12:51","date_gmt":"2016-11-17T03:12:51","guid":{"rendered":"http:\/\/localhost\/help\/?page_id=22236"},"modified":"2018-01-08T14:31:24","modified_gmt":"2018-01-08T06:31:24","slug":"data-selector-4-4-5","status":"publish","type":"page","link":"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/data-selector\/data-selector-4-4-5\/","title":{"rendered":"Data Selector (4.4.5)"},"content":{"rendered":"\n<p class=\"left-bar\">This article applies to versions 4.4.5 and later of P2 Explorer. For help on earlier versions, see <a href=\"#Release_History\">Release History<\/a>.<\/p>\n<div class=\"new-features\">\n<p>New in this release:<\/p>\n<ul>\n<li>The Ad Hoc Calculation editor has an additional option, for configuring an entity variable, called <strong>Entity Context.<\/strong><\/li>\n<\/ul>\n<\/div>\n<h2 class=\"page-subheading\">Overview<\/h2>\n<p class=\"intro-text\">Many of the Explorer components are used for displaying data. For example, the data label, charts, the dataset table, target bars, meters.<\/p>\n<p class=\"intro-text\">Component data needs to be defined during design time, in Explorer Studio.<\/p>\n<p class=\"intro-text\">This article explains how to select and define data, using the data selector editor.<\/p>\n<h2 class=\"page-subheading\">Data Selector Features<\/h2>\n<p class=\"intro-text\">To open the data selector, click the drop-down list on a component property that shows the text \"Click to configure data...\", for example the <strong>Value<\/strong> property on the properties panel of the <strong>Data Label<\/strong> component.<\/p>\n<div id=\"attachment_9556\" style=\"width: 361px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-9556\" class=\"wp-image-9556 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Data-Label-Component.png\" alt=\"\" width=\"351\" height=\"199\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Data-Label-Component.png 351w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Data-Label-Component-150x85.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Data-Label-Component-24x14.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Data-Label-Component-36x20.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Data-Label-Component-48x27.png 48w\" sizes=\"auto, (max-width: 351px) 100vw, 351px\" \/><p id=\"caption-attachment-9556\" class=\"wp-caption-text\">Click the Drop-Down List \"Click to configure data\"<\/p><\/div>\n<p class=\"intro-text\">The data selector opens as a separate panel below the property. The contents of this panel may vary, according to the type of data to configure (the data category) and how that data is to be returned (as a list, a set, or as a single data point).<\/p>\n<table class=\"table-toc\">\n<tbody>\n<tr>\n<td>\n<table>\n<tbody>\n<tr>\n<td width=\"350\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Data-Selector-1.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18919 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Data-Selector-1.png\" width=\"423\" height=\"143\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Data-Selector-1.png 423w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Data-Selector-1-150x51.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Data-Selector-1-24x8.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Data-Selector-1-36x12.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Data-Selector-1-48x16.png 48w\" sizes=\"auto, (max-width: 423px) 100vw, 423px\" \/><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<td width=\"500\">\n<table>\n<tbody>\n<tr>\n<td width=\"600\"><strong>1. Value<\/strong>:<\/p>\n<p>This is the component property which uses the configured data. The name varies between different component properties.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><strong>2. Data Category<\/strong>:<\/p>\n<p>Click to select one of the data categories.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><strong>3. Configure Data<\/strong>:<\/p>\n<p>Configure data for the selected data category.<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<td>&nbsp;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 class=\"page-subheading\">A Component's Data<\/h2>\n<p class=\"intro-text\">Depending on the data component, data can be defined for more than one of the properties.<\/p>\n<p class=\"intro-text\">For example, a <strong>Meter<\/strong> component has <em>Value<\/em> data (the value measured on the meter) as well as a whole series of <em>Measures<\/em>, a <em>Minimum Value<\/em> and number of <em>Ticks<\/em>.<\/p>\n<div id=\"attachment_11136\" style=\"width: 364px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Meter-component.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11136\" class=\"wp-image-11136 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Meter-component.png\" alt=\"\" width=\"354\" height=\"226\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Meter-component.png 354w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Meter-component-150x96.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Meter-component-24x15.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Meter-component-36x23.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Meter-component-48x31.png 48w\" sizes=\"auto, (max-width: 354px) 100vw, 354px\" \/><\/a><p id=\"caption-attachment-11136\" class=\"wp-caption-text\">Some of the properties on a Meter component<\/p><\/div>\n<p class=\"intro-text\">Another example is the <strong>Data Label<\/strong> component, which has <em>Value<\/em> data (a numerical value that is displayed on the label in run-time), as well as <em>Decimals<\/em>, for formatting the data.<\/p>\n<p class=\"left-bar\">Related: <a title=\"Components\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/\">Components in Explorer<\/a><\/p>\n<h2 class=\"page-subheading\">Data Categories<\/h2>\n<p class=\"intro-text\">Depending on what a component is used for, there can be up to five separate <em>Data Categories<\/em> to choose from, when you select your data.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Data-Categories.png\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18921 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Data-Categories.png\" width=\"334\" height=\"39\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Data-Categories.png 334w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Data-Categories-150x18.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Data-Categories-24x3.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Data-Categories-36x4.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Data-Categories-48x6.png 48w\" sizes=\"auto, (max-width: 334px) 100vw, 334px\" \/><\/a><\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"15\">\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-9576 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Dataset-Icon.png\" alt=\"\" width=\"20\" height=\"20\" \/><\/p>\n<\/td>\n<td width=\"180\"><strong>Dataset<\/strong><\/td>\n<td width=\"350\">Tabular data returned from a dataset datasource.<\/td>\n<td width=\"250\"><a title=\"Using Dataset Data\" href=\"#Using_Dataset_Data\">Using Dataset Data<\/a><\/td>\n<td width=\"\">\u00a0<\/td>\n<\/tr>\n<tr>\n<td>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-9575 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Ad-Hoc-Calc-Icon.png\" alt=\"\" width=\"20\" height=\"20\" \/><\/p>\n<\/td>\n<td><strong>Ad hoc Calculation<\/strong><\/td>\n<td>An ad hoc calculation using tags and\/or attributes.<\/td>\n<td><a title=\"Using Ad hoc Calculation Data\" href=\"#Using_Ad_hoc_Calculation_Data\">Using Ad hoc Calculation Data<\/a><\/td>\n<td>&nbsp;<\/td>\n<\/tr>\n<tr>\n<td>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18892 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Attribute-Icon.png\" width=\"20\" height=\"19\" \/><\/p>\n<\/td>\n<td><strong>Attribute<\/strong><\/td>\n<td>A piece of data describing a specific characteristic of an entity.<\/td>\n<td><a title=\"Using Attribute Data\" href=\"#Using_Attribute_Data\">Using Attribute Data<\/a><\/td>\n<td>&nbsp;<\/td>\n<\/tr>\n<tr>\n<td>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-9573 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/tag-Icon.png\" alt=\"\" width=\"20\" height=\"20\" \/><\/p>\n<\/td>\n<td><strong>Tag<\/strong><\/td>\n<td>A tag is an item of time-series data that is retrieved from a data historian. This can also be referenced by an attribute. The tag data category also includes Server's calculations.<\/td>\n<td><a title=\"Using Tag Data\" href=\"#Using_Tag_Data\">Using Tag Data<\/a><\/td>\n<td>&nbsp;<\/td>\n<\/tr>\n<tr>\n<td>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-9572 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Value-Icon.png\" alt=\"\" width=\"20\" height=\"20\" \/><\/p>\n<\/td>\n<td><strong>Value<\/strong><\/td>\n<td>A fixed or variable numerical value, defined in Studio.<\/td>\n<td><a title=\"Using Value Data\" href=\"#Using_Value_Data\">Using Value Data<\/a><\/td>\n<td>&nbsp;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"intro-text\">Categories are unavailable for components that can't use them. For example, the Combo Box component only has the dataset <em>Dataset<\/em> and <em>Value<\/em> categories available:<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Combo-Box.png\" rel=\"lightbox-3\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-18922 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Combo-Box.png\" width=\"336\" height=\"222\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Combo-Box.png 336w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Combo-Box-150x99.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Combo-Box-24x16.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Combo-Box-36x24.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Combo-Box-48x32.png 48w\" sizes=\"auto, (max-width: 336px) 100vw, 336px\" \/><\/a><\/p>\n<h2 class=\"page-subheading\">Setting a Variable<\/h2>\n<p class=\"intro-text\">When configuring data for a component, you will find that most of the properties have a <em>Variable<\/em> option.<\/p>\n<p class=\"intro-text\">For example, when you configure a new data label to use an ad hoc calculation, all of the calculation properties have <em>variable<\/em> options, as shown below.<\/p>\n<table class=\"table-toc\">\n<tbody>\n<tr>\n<td>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Data-Labels-with-Variable-options.png\" rel=\"lightbox-4\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-22256 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Data-Labels-with-Variable-options.png\" width=\"344\" height=\"457\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Data-Labels-with-Variable-options.png 344w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Data-Labels-with-Variable-options-113x150.png 113w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Data-Labels-with-Variable-options-18x24.png 18w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Data-Labels-with-Variable-options-27x36.png 27w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Data-Labels-with-Variable-options-36x48.png 36w\" sizes=\"auto, (max-width: 344px) 100vw, 344px\" \/><\/a><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"intro-text\">To use a variable, click the <em>variable<\/em> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-11126 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/variable-button-1.png\" alt=\"\" width=\"35\" height=\"29\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/variable-button-1.png 35w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/variable-button-1-24x20.png 24w\" sizes=\"auto, (max-width: 35px) 100vw, 35px\" \/> button, then select a variable from the drop-down list or type in a variable name, ensuring the variable suits the property. For example, when you configure <em>Sample Method<\/em> to use a variable, that variable should be configured to have legitimate sample methods (<em>Last Known Value, Average, Linear Interpolate and Raw<\/em>).<\/p>\n<p class=\"left-bar\">Note that only variables of the correct type are available in the drop-down list (for example, where the property expects text, only text variables are available).<\/p>\n<h3 class=\"page-subheading\">Example<\/h3>\n<p class=\"intro-text\">The following example illustrates how you can select a List variable for an Option Links' <strong>Option Values<\/strong>, and Text variable for its <strong>Selected Option<\/strong>.<\/p>\n<p class=\"left-bar\">Related: <a title=\"Using Variables in P2 Explorer\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-primers\/variables\/#Using_Variables_in_P2_Explorer\">Using Variables in P2 Explorer<\/a>.<\/p>\n<table style=\"border: 1px solid #cccccc;\">\n<tbody>\n<tr>\n<td style=\"padding-left: 10px;\" width=\"500\">\n<table>\n<tbody>\n<tr>\n<td><strong>1. List variable added to Default Values<\/strong>: Variable Name: ListofQuarters; Comma separated text values: Q1, Q2, Q3, Q4.<\/td>\n<\/tr>\n<tr>\n<td><strong>2. Text variable added to Default Values<\/strong>: Variable Name: selectedQuarter; text value: Q2.<\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Example-Pic-1.png\" rel=\"lightbox-5\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12085 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Example-Pic-1.png\" alt=\"\" width=\"382\" height=\"710\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Example-Pic-1.png 382w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Example-Pic-1-81x150.png 81w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Example-Pic-1-13x24.png 13w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Example-Pic-1-19x36.png 19w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Example-Pic-1-26x48.png 26w\" sizes=\"auto, (max-width: 382px) 100vw, 382px\" \/><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<td style=\"padding-left: 10px;\" width=\"500\">\n<table>\n<tbody>\n<tr>\n<td><strong>3. List variable assigned to Option Links<\/strong>: Variable ListofQuarters is selected for the Option Links' <strong>Option Values<\/strong>.<\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Option-Links.png\" rel=\"lightbox-6\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-18924 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Option-Links.png\" width=\"358\" height=\"250\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Option-Links.png 358w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Option-Links-150x105.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Option-Links-24x17.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Option-Links-36x25.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Option-Links-48x34.png 48w\" sizes=\"auto, (max-width: 358px) 100vw, 358px\" \/><\/a><\/td>\n<\/tr>\n<tr>\n<td><strong>4. Text variable assigned to Option Links<\/strong>: Variable selectedQuarter is selected for the Option Links' <strong>Selected Option<\/strong>.<\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Example-Pic-3.png\" rel=\"lightbox-7\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-12087 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Example-Pic-3.png\" alt=\"\" width=\"343\" height=\"285\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Example-Pic-3.png 343w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Example-Pic-3-150x125.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Example-Pic-3-24x20.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Example-Pic-3-36x30.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Example-Pic-3-48x40.png 48w\" sizes=\"auto, (max-width: 343px) 100vw, 343px\" \/><\/a><\/td>\n<\/tr>\n<tr>\n<td><strong>5. The Option Links<\/strong>: Showing <strong>Option Values<\/strong> (ListofQuarters) in the Option Links buttons, with <strong>Selected Option<\/strong> (selectedQuarter) underlined.<\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Example-Pic-4a.png\" rel=\"lightbox-8\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12090 size-medium\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Example-Pic-4a-400x214.png\" alt=\"\" width=\"400\" height=\"214\" \/><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<td>&nbsp;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 class=\"page-subheading\">Page Defaults<\/h2>\n<p class=\"intro-text\">When you assign data to a component's property, you will find that very often the page default has already been assigned.<\/p>\n<p class=\"intro-text\">For example, when you configure a new data label to use an ad hoc calculation, some of the calculation properties come with page defaults, as shown below:<\/p>\n<table class=\"table-toc\">\n<tbody>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"padding-left: 10px;\" width=\"500\">\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Data-Label-with-Page-Defaults.png\" rel=\"lightbox-9\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-22258 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Data-Label-with-Page-Defaults.png\" width=\"338\" height=\"459\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Data-Label-with-Page-Defaults.png 338w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Data-Label-with-Page-Defaults-110x150.png 110w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Data-Label-with-Page-Defaults-18x24.png 18w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Data-Label-with-Page-Defaults-27x36.png 27w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Data-Label-with-Page-Defaults-35x48.png 35w\" sizes=\"auto, (max-width: 338px) 100vw, 338px\" \/><\/a><\/p>\n<\/td>\n<td style=\"padding-left: 10px;\" width=\"500\">\n<div id=\"attachment_11121\" style=\"width: 310px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Page-defaults.png\" rel=\"lightbox-10\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11121\" class=\"wp-image-11121\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Page-defaults.png\" alt=\"\" width=\"300\" height=\"444\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Page-defaults.png 349w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Page-defaults-101x150.png 101w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Page-defaults-16x24.png 16w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Page-defaults-24x36.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Page-defaults-32x48.png 32w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-11121\" class=\"wp-caption-text\">The page defaults are added to the Default Values for a new Studio page<\/p><\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"intro-text\">You can view or update the page defaults on the <a title=\"Default Values\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/default-value\/\">Default Values<\/a> panel.<\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<h2 class=\"page-subheading\">Selecting and Configuring your Data<\/h2>\n<p class=\"intro-text\">Explorer\u2019s Data Selector is used to collect data for properties of components, such as the <em>Data <\/em>for a Data Table, or the <em>Option Values <\/em>used by a Combo Box.<\/p>\n<p class=\"intro-text\">Skip to the section that's relevant for the data you want to use:<\/p>\n<ul class=\"intro-text\">\n<li>Dataset: <a title=\"Using Dataset Data\" href=\"#Using_Dataset_Data\">Using Dataset Data<\/a> (for tabular data returned from a dataset datasource).<\/li>\n<li>Ad hoc Calculation: <a title=\"Using Ad hoc Calculation Data\" href=\"#Using_Ad_hoc_Calculation_Data\">Using Ad hoc Calculation Data<\/a> (Ad hoc calculations using tags and\/or attributes).<\/li>\n<li>Attribute: <a title=\"Using Attribute Data\" href=\"#Using_Attribute_Data\">Using Attribute Data<\/a> (A piece of data describing a specific characteristic of an entity).<\/li>\n<li>Tag: <a title=\"Using Tag Data\" href=\"#Using_Tag_Data\">Using Tag Data<\/a> (A piece of data or a calculation. This can also be referenced by an attribute).<\/li>\n<li>Value: <a title=\"Using Value Data\" href=\"#Using_Value_Data\">Using Value Data<\/a> (A fixed or variable numerical value, defined in Studio).<\/li>\n<\/ul>\n<p class=\"left-bar\">Watch the video below to see how the dataset query is selected for a <em>Data Table <\/em>component.<\/p>\n\r\n\t<!-- Begin Video.js -->\r\n\t<video id=\"example_video_id_1569830295\" class=\"video-js vjs-default-skin\" width=\"832\" height=\"578\" controls preload=\"none\" data-setup='[]'>\r\n\t\t<source src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/videos\/DataTableVideo.mp4\" type='video\/mp4' \/>\r\n\t\t\r\n\t\t\r\n\t<\/video>\r\n\t<!-- End Video.js -->\r\n\n<p class=\"left-bar\">The video below shows how data is selected for a combo box. First we use a dataset column, and next we use values. <strong>Note<\/strong> that only the currently selected data category is saved when the page is saved.<\/p>\n\r\n\t<!-- Begin Video.js -->\r\n\t<video id=\"example_video_id_704448861\" class=\"video-js vjs-default-skin\" width=\"840\" height=\"582\" controls preload=\"none\" data-setup='[]'>\r\n\t\t<source src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/videos\/ComboBoxVideo.mp4\" type='video\/mp4' \/>\r\n\t\t\r\n\t\t\r\n\t<\/video>\r\n\t<!-- End Video.js -->\r\n\n<p>&nbsp;<\/p>\n<hr \/>\n<h3>Using Dataset Data<\/h3>\n<p class=\"intro-text\">Below is an example of the dataset configuration for a data label's <em>Value<\/em> property which requires a <em>single<\/em> numerical value.<\/p>\n<table>\n<tbody>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"padding-left: 10px;\" width=\"400\">\n<table>\n<tbody>\n<tr>\n<td width=\"400\">\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Using-Dataset-Data.png\" rel=\"lightbox-11\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18926 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Using-Dataset-Data.png\" width=\"383\" height=\"583\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Using-Dataset-Data.png 383w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Using-Dataset-Data-99x150.png 99w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Using-Dataset-Data-16x24.png 16w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Using-Dataset-Data-24x36.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Using-Dataset-Data-32x48.png 32w\" sizes=\"auto, (max-width: 383px) 100vw, 383px\" \/><\/a><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<td width=\"500\">\n<table>\n<tbody>\n<tr>\n<td width=\"500\"><strong>1. Component Property<\/strong>:<\/p>\n<p>This is the property that uses the data. In the example used, it is the <em>Value<\/em>, used for a Data Label.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><strong>2. Data Categories<\/strong>:<\/p>\n<p>The selected category is highlighted, with details shown in the panel below the categories tab.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><strong>3. Dataset Query<\/strong>:<\/p>\n<p>The dataset query used to source a list of data for this component\u2019s property.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><strong>4. Filter Column, Filter Value<\/strong> and <strong>Value Column<\/strong>:<\/p>\n<p>Property components that require a single list of data (such as the Data Label's <em>Value<\/em> property) use these three columns collectively, to specify a single point of data from the result set. Not all property components require this sort of filtering.<\/p>\n<p><strong>Variation (1):<\/strong> Property components that require a single point of data (such as the Option Links's <em>Option Values<\/em> property) only use the <strong>Value Column<\/strong>.<\/p>\n<p><strong>Variation (2):<\/strong> Property components that require the full set of data (such as the Chart's <em>Data<\/em> property) do not use these three columns.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><strong>5. Dataset Parameters<\/strong>:<\/p>\n<p>Not all queries have dataset parameters, and if they do these will vary depending on the query. These values need to be filled in before you can preview data.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>Note<\/strong>: Click <strong>Preview<\/strong> to see what columns and values are returned by the query. This is helpful for setting up filtering.<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<td>&nbsp;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"no-toc-heading\">How to Select Dataset Data<\/p>\n<p class=\"intro-text\">This example uses a Data Label. Some of the components' properties (such as the Chart's <em>Data<\/em>) require fewer or no filter details.<\/p>\n<p class=\"intro-text\"><strong>Step 1. <\/strong>Click the drop-down list next to the Value property to open the Data Selector.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Configure-Step-1.png\" rel=\"lightbox-12\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-9726 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Configure-Step-1.png\" alt=\"\" width=\"321\" height=\"34\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Configure-Step-1.png 321w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Configure-Step-1-150x16.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Configure-Step-1-24x3.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Configure-Step-1-36x4.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Configure-Step-1-48x5.png 48w\" sizes=\"auto, (max-width: 321px) 100vw, 321px\" \/><\/a><\/p>\n<p class=\"intro-text\">The <em>Data Selector<\/em> editor opens, for the <em>Value<\/em> property.<\/p>\n<p class=\"intro-text\"><strong>Step 2. <\/strong>Click the <strong>Dataset<\/strong> category.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Another-Data-Label.png\" rel=\"lightbox-13\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18927 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Another-Data-Label.png\" width=\"345\" height=\"375\" \/><\/a><\/p>\n<p class=\"intro-text\"><strong>Step 3. <\/strong>Select and configure the dataset.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Configure-the-Data-Label.png\" rel=\"lightbox-14\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18928 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Configure-the-Data-Label.png\" width=\"345\" height=\"586\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Configure-the-Data-Label.png 345w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Configure-the-Data-Label-88x150.png 88w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Configure-the-Data-Label-14x24.png 14w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Configure-the-Data-Label-21x36.png 21w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Configure-the-Data-Label-28x48.png 28w\" sizes=\"auto, (max-width: 345px) 100vw, 345px\" \/><\/a><\/p>\n<p class=\"intro-text\"><strong>Step 3 a)<\/strong> Select a Dataset Query (or <a title=\"Setting a Variable\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/data-selector\/#Setting_a_Variable\">set a variable<\/a>).<\/p>\n<p class=\"intro-text\">In this example, we select the <em>OilDowntimeByReason<\/em> dataset from the <em>Oil and Gas Data<\/em> datasource.<\/p>\n<table>\n<tbody>\n<tr style=\"border: 1px solid #cccccc;\">\n<td width=\"1000\">\n<table>\n<tbody>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\" width=\"5\">\u00a0<\/td>\n<td style=\"height: 24px;\" width=\"500\"><strong>Browse for a Dataset Query<\/strong><\/td>\n<td style=\"height: 24px;\" width=\"5\"><em>Or<\/em><\/td>\n<td style=\"height: 24px;\" width=\"495\"><strong>Type in a Dataset Query Name<\/strong><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\">\u00a0<\/td>\n<td style=\"height: 24px;\">To browse for a dataset query, click the ellipsis button next to the <em>Dataset Query<\/em> edit box.<\/td>\n<td style=\"height: 24px;\">\u00a0<\/td>\n<td style=\"height: 24px;\">Alternatively, type part of the dataset query name into the <em>Dataset Query<\/em> edit box, and select a dataset query from the list filtered list.<\/td>\n<td style=\"height: 24px;\">\u00a0<\/td>\n<\/tr>\n<tr style=\"height: 224px;\">\n<td style=\"height: 224px;\">\u00a0<\/td>\n<td style=\"height: 224px;\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Browse-for-dataset-query.png\" rel=\"lightbox-15\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18929 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Browse-for-dataset-query.png\" width=\"336\" height=\"379\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Browse-for-dataset-query.png 336w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Browse-for-dataset-query-133x150.png 133w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Browse-for-dataset-query-21x24.png 21w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Browse-for-dataset-query-32x36.png 32w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Browse-for-dataset-query-43x48.png 43w\" sizes=\"auto, (max-width: 336px) 100vw, 336px\" \/><\/a><\/td>\n<td style=\"height: 224px;\">\u00a0<\/td>\n<td style=\"height: 224px;\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Search-dataset-query.png\" rel=\"lightbox-16\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-18931 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Search-dataset-query.png\" width=\"357\" height=\"218\" \/><\/a><\/td>\n<\/tr>\n<tr style=\"height: 24.83px;\">\n<td style=\"height: 24.83px;\">\u00a0<\/td>\n<td style=\"height: 24.83px;\">The <strong>Choose Data<\/strong> window opens, with a list of every dataset query available to this installation of Explorer. Use the search options to locate the one you want. If a dataset has a description, this is listed below the name.<\/td>\n<td style=\"height: 24.83px;\">\u00a0<\/td>\n<td style=\"height: 24.83px;\">The selected name appears in the <em>Dataset Query<\/em> edit box.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\">\u00a0<\/td>\n<td style=\"height: 24px;\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Choose-Data.png\" rel=\"lightbox-17\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18930\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Choose-Data.png\" width=\"500\" height=\"394\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Choose-Data.png 787w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Choose-Data-768x605.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Choose-Data-150x118.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Choose-Data-24x19.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Choose-Data-36x28.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Choose-Data-48x38.png 48w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/td>\n<td style=\"height: 24px;\">\u00a0<\/td>\n<td style=\"height: 24px;\">\u00a0<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\">\u00a0<\/td>\n<td style=\"height: 24px;\">1. Click on one of the available datasources (listed on the left panel) to filter the available datasets (Oil and Gas Data, in this example).<\/td>\n<td style=\"height: 24px;\">\u00a0<\/td>\n<td style=\"height: 24px;\">\u00a0<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\">\u00a0<\/td>\n<td style=\"height: 24px;\">2. Type part of the dataset query name in the <strong>Search<\/strong> box, or scroll down the list, to locate the dataset you are searching for (OilDowntimeByReason, in this example).<\/td>\n<td style=\"height: 24px;\">\u00a0<\/td>\n<td style=\"height: 24px;\">\u00a0<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\">\u00a0<\/td>\n<td style=\"height: 24px;\">3. Click on the dataset query, in the right panel.<\/td>\n<td style=\"height: 24px;\">\u00a0<\/td>\n<td style=\"height: 24px;\">\u00a0<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\">\u00a0<\/td>\n<td style=\"height: 24px;\">4. Click <strong>OK<\/strong>.<\/td>\n<td style=\"height: 24px;\">\u00a0<\/td>\n<td style=\"height: 24px;\">\u00a0<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\">\u00a0<\/td>\n<td style=\"height: 24px;\">The selected name appears in the <em>Dataset Query<\/em> edit box.<\/td>\n<td style=\"height: 24px;\">\u00a0<\/td>\n<td style=\"height: 24px;\">\u00a0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"intro-text\"><strong>Step 3 b)<\/strong> Set Filter Column, Filter Value and Value Column, where applicable.<\/p>\n<table class=\"table-toc\">\n<tbody>\n<tr style=\"border: 1px solid #cccccc;\">\n<td width=\"405\">\n<table>\n<tbody>\n<tr>\n<td width=\"5\">\u00a0<\/td>\n<td width=\"400\">1. In the <strong>Filter Column<\/strong> text box select a column name from the dataset result set, as shown in the preview data (or <a title=\"Setting a Variable\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/data-selector\/#Setting_a_Variable\">set a variable<\/a>).<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<td>&nbsp;<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<td>2. In the <strong>Filter Value<\/strong> text box, type a value from the dataset result set (as shown in the preview data), matching one of the values from the filter column (or <a title=\"Setting a Variable\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/data-selector\/#Setting_a_Variable\">set a variable<\/a>).<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<td>&nbsp;<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<td>3. In the <strong>Value Column<\/strong> text box, select a column name from the dataset result set (or <a title=\"Setting a Variable\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/data-selector\/#Setting_a_Variable\">set a variable<\/a>).<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<td>&nbsp;<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<td><strong>Note<\/strong> how the Filter Column and Value Column are assigned actual column names, as shown in the preview data. Filter Value uses an actual value: \u2018No Truck', from the \u2018DowntimeReason' column.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<td width=\"405\">\n<table>\n<tbody>\n<tr>\n<td width=\"400\">\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Set-Filter-options.png\" rel=\"lightbox-18\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18933 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Set-Filter-options.png\" width=\"422\" height=\"495\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Set-Filter-options.png 422w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Set-Filter-options-128x150.png 128w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Set-Filter-options-20x24.png 20w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Set-Filter-options-31x36.png 31w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Set-Filter-options-41x48.png 41w\" sizes=\"auto, (max-width: 422px) 100vw, 422px\" \/><\/a><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"intro-text\"><strong>Step 3 c)<\/strong> If there are Dataset Parameters, type a value in each one\u2019s corresponding text box (or <a title=\"Setting a Variable\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/data-selector\/#Setting_a_Variable\">set a variable<\/a>).<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Dataset-Parameters.png\" rel=\"lightbox-19\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18934 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Dataset-Parameters.png\" width=\"338\" height=\"490\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Dataset-Parameters.png 338w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Dataset-Parameters-103x150.png 103w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Dataset-Parameters-17x24.png 17w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Dataset-Parameters-25x36.png 25w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Dataset-Parameters-33x48.png 33w\" sizes=\"auto, (max-width: 338px) 100vw, 338px\" \/><\/a><\/p>\n<p class=\"intro-text\"><strong>Step 3 d)<\/strong> Click <strong>Preview<\/strong> to view the dataset results. This is useful if you want to see column names and values, for <em>Filtering<\/em>.<\/p>\n<p class=\"intro-text\">The <strong>Dataset Preview<\/strong> window opens, displaying the result set for the selected query dataset and parameters.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Dataset-Preview.png\" rel=\"lightbox-20\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18935 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Dataset-Preview.png\" width=\"706\" height=\"261\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Dataset-Preview.png 706w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Dataset-Preview-150x55.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Dataset-Preview-24x9.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Dataset-Preview-36x13.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Dataset-Preview-48x18.png 48w\" sizes=\"auto, (max-width: 706px) 100vw, 706px\" \/><\/a><\/p>\n<p class=\"intro-text\">The Data Label Value property is configured, and the resulting data is displayed in the Data Label component.<\/p>\n<p class=\"intro-text\">The screenshot below shows how filtering is used to locate a single data point.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Filtering.png\" rel=\"lightbox-21\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18936\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Filtering.png\" width=\"950\" height=\"521\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Filtering.png 1067w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Filtering-768x421.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Filtering-150x82.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Filtering-24x13.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Filtering-36x20.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Filtering-48x26.png 48w\" sizes=\"auto, (max-width: 950px) 100vw, 950px\" \/><\/a><\/p>\n<p class=\"intro-text\"><strong>Step 4.<\/strong> Click the configured drop-down list, to close it.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-to-Close-1.png\" rel=\"lightbox-22\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-18946 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-to-Close-1.png\" width=\"349\" height=\"90\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-to-Close-1.png 349w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-to-Close-1-150x39.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-to-Close-1-24x6.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-to-Close-1-36x9.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-to-Close-1-48x12.png 48w\" sizes=\"auto, (max-width: 349px) 100vw, 349px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<h3>Using Ad hoc Calculation Data<\/h3>\n<p class=\"intro-text\">Below is an example of what a property\u2019s <em>ad hoc calculation<\/em> configuration looks like.<\/p>\n<table>\n<tbody>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"padding-left: 10px;\" width=\"400\">\n<table>\n<tbody>\n<tr>\n<td width=\"400\">\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Calc-Editor-Anatomy.png\" rel=\"lightbox-23\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-22265 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Calc-Editor-Anatomy.png\" width=\"357\" height=\"554\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Calc-Editor-Anatomy.png 357w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Calc-Editor-Anatomy-97x150.png 97w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Calc-Editor-Anatomy-15x24.png 15w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Calc-Editor-Anatomy-23x36.png 23w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Calc-Editor-Anatomy-31x48.png 31w\" sizes=\"auto, (max-width: 357px) 100vw, 357px\" \/><\/a><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"400\">\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Calc-Editor-Anatomy-2.png\" rel=\"lightbox-24\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-22266 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Calc-Editor-Anatomy-2.png\" width=\"339\" height=\"454\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Calc-Editor-Anatomy-2.png 339w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Calc-Editor-Anatomy-2-112x150.png 112w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Calc-Editor-Anatomy-2-18x24.png 18w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Calc-Editor-Anatomy-2-27x36.png 27w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Calc-Editor-Anatomy-2-36x48.png 36w\" sizes=\"auto, (max-width: 339px) 100vw, 339px\" \/><\/a><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<td width=\"500\">\n<table>\n<tbody>\n<tr>\n<td width=\"500\"><strong>1. Component Property<\/strong>:<\/p>\n<p>This is the property that uses the data. In the example used, the data from two calculations using tags is available for the chart.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><strong>2. Data Categories<\/strong>:<\/p>\n<p>The selected category is highlighted, with details shown in the panel below the categories tab.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><strong>3. Calculations<\/strong>:<\/p>\n<p>Each calculation sources a range of data (for the selected time range, defined by Start Time and End Time) for this component\u2019s property.<\/p>\n<p><strong>Variation:<\/strong> For component properties where only a single point of data is used (such as the Data Label's <em>Value<\/em>), you can only enter a single calculation, and this is for a single point in time.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><strong>4. Sample Method<\/strong> and <strong>Sample Interval<\/strong>:<\/p>\n<p>Sample Method and Sample Interval are used to define the method (e.g. <em>Average<\/em>) and the interval (e.g. <em>3600 - measured in seconds<\/em>) that tag and\/or attribute data within any calculations is collected for this component.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><strong>5. Start Time<\/strong> and <strong>End Time<\/strong>:<\/p>\n<p>These times specify the <em>request interval<\/em> for data (tags or attributes) that form part of the calculations.<\/p>\n<p><strong>Variation:<\/strong> For component properties where only a single point of data is used (such as the Data Label's <em>Value<\/em>), you can only enter a single time: <strong>Time<\/strong>.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><strong>6. Entity Context<\/strong>:<\/p>\n<p>The Entity Context option is used for <em>Templated Calcs<\/em>, and should be used in conjunction with the <em>entity<\/em> keyword within the calculation.<\/p>\n<p>&nbsp;<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><strong>7. Item<\/strong>:<\/p>\n<p><strong>Variation:<\/strong> For component properties where only a single point of data is used (such as the Data Label's <em>Value<\/em>), select an <strong>Item<\/strong>.<\/p>\n<p>The default is <em>Value<\/em> - where values of any tags or attributes are used in the calculation. You can also select <em>Confidence<\/em> from the drop-down list. Confidence is a measure (1 - 100) of the data's accuracy.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>Note<\/strong>: Click <strong>Preview<\/strong> to see the calculation results in a table.<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<td>&nbsp;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"no-toc-heading\">How to Select Ad hoc Calculation Data<\/p>\n<p class=\"intro-text\">This example uses a Chart component.<\/p>\n<p class=\"intro-text\"><strong>Step 1. <\/strong>Click the drop-down list next to the Data property to open the Data Selector.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-11020 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Step-1-1.png\" alt=\"\" width=\"332\" height=\"57\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Step-1-1.png 332w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Step-1-1-150x26.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Step-1-1-24x4.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Step-1-1-36x6.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Step-1-1-48x8.png 48w\" sizes=\"auto, (max-width: 332px) 100vw, 332px\" \/><\/p>\n<p class=\"intro-text\">The <em>Data Selector<\/em> editor opens, for the <em>Data<\/em> property.<\/p>\n<p class=\"intro-text\"><strong>Step 2. <\/strong>Click the <strong>Ad-hoc<\/strong> <strong>Calculation<\/strong> category.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Chart-data-Selector-1.png\" rel=\"lightbox-25\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-22263 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Chart-data-Selector-1.png\" width=\"316\" height=\"472\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Chart-data-Selector-1.png 316w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Chart-data-Selector-1-100x150.png 100w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Chart-data-Selector-1-16x24.png 16w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Chart-data-Selector-1-24x36.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Chart-data-Selector-1-32x48.png 32w\" sizes=\"auto, (max-width: 316px) 100vw, 316px\" \/><\/a><\/p>\n<p class=\"intro-text\"><strong>Step 3. <\/strong>Select and configure the ad hoc calculation.<\/p>\n<table>\n<tbody>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"padding-left: 10px;\" width=\"500\">\n<table>\n<tbody>\n<tr>\n<td width=\"700\">\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Chart-data.png\" rel=\"lightbox-26\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-22259 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Chart-data.png\" width=\"350\" height=\"556\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Chart-data.png 350w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Chart-data-94x150.png 94w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Chart-data-15x24.png 15w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Chart-data-23x36.png 23w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Chart-data-30x48.png 30w\" sizes=\"auto, (max-width: 350px) 100vw, 350px\" \/><\/a><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"700\">1. Type in a <strong>Calculation<\/strong> (or <a title=\"Setting a Variable\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/data-selector\/#Setting_a_Variable\">set a variable<\/a>). For example: {015A_BEN.PV.4} * 2<\/p>\n<p>See the box on the right, for more information about ad hoc calculations. <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-9575 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Ad-Hoc-Calc-Icon.png\" alt=\"\" width=\"20\" height=\"20\" \/><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>2. Click the <em>Add<\/em><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10990 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Add-button.png\" alt=\"\" width=\"48\" height=\"32\" \/> button to the right of the <strong>Calculations<\/strong> box.<\/td>\n<\/tr>\n<tr>\n<td><em>Continue to add new calculations in this way.<\/em><\/td>\n<\/tr>\n<tr>\n<td>3. Select a <a title=\"Data Transformation and Sample Methods\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/transforms\/\">Sample Method<\/a> to specify how Server should collect the attributes\/tags used in the calculations.<\/p>\n<p>Click the <em>Options<\/em> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10539 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/fixed-drop-down-button.png\" alt=\"\" width=\"35\" height=\"28\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/fixed-drop-down-button.png 35w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/fixed-drop-down-button-24x19.png 24w\" sizes=\"auto, (max-width: 35px) 100vw, 35px\" \/> button to the right of the <strong>Sample Method<\/strong> box, then select a sample method from the drop-down list: <em>Average, Last Known Value, Linear Interpolate<\/em> or <em>Raw<\/em>. (Or <a title=\"Setting a Variable\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/data-selector\/#Setting_a_Variable\">set a variable<\/a>.)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>4. Select a <a title=\"Data Transformation and Sample Methods\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/transforms\/\">Sample Interval<\/a> to specify which interval Server should use to collect the attributes\/tags used in the calculations.<\/p>\n<p>Click the <em>Number<\/em> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10538 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Fixed-Numerical-button.png\" alt=\"\" width=\"36\" height=\"28\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Fixed-Numerical-button.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Fixed-Numerical-button-24x19.png 24w\" sizes=\"auto, (max-width: 36px) 100vw, 36px\" \/> button to the right of the <strong>Sample Interval<\/strong> box, then type in a number. This is the interval, in seconds, and should be a multiple of 60. (Or <a title=\"Setting a Variable\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/data-selector\/#Setting_a_Variable\">set a variable<\/a>.)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>5. Select a <a title=\"Data Formats and Data Types: Time series\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/data-types\/#Time_series\">Start Time<\/a> (or <a title=\"Setting a Variable\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/data-selector\/#Setting_a_Variable\">set a variable<\/a>) to specify the start of the <em>request interval<\/em> Server for should use for the attributes\/tags used in the calculations.<\/p>\n<p>Click the <em>Time<\/em> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10586 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/time-drop-down-button.png\" alt=\"\" width=\"37\" height=\"31\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/time-drop-down-button.png 37w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/time-drop-down-button-24x20.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/time-drop-down-button-36x30.png 36w\" sizes=\"auto, (max-width: 37px) 100vw, 37px\" \/> button to the right of the <strong>Start Time<\/strong> box, then select a date and time from the date time picker.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>6. Select an <a title=\"Data Formats and Data Types: Time series\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/data-types\/#Time_series\">End Time<\/a> (or <a title=\"Setting a Variable\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/data-selector\/#Setting_a_Variable\">set a variable<\/a>) to specify the end of the <em>request interval<\/em> Server for should use for the attributes\/tags used in the calculations.<\/p>\n<p>Click the <em>Time<\/em> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10586 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/time-drop-down-button.png\" alt=\"\" width=\"37\" height=\"31\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/time-drop-down-button.png 37w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/time-drop-down-button-24x20.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/time-drop-down-button-36x30.png 36w\" sizes=\"auto, (max-width: 37px) 100vw, 37px\" \/> button to the right of the <strong>End Time<\/strong> box, then select a date and time from the date time picker.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>7. Click <strong>Preview<\/strong> to see the calculation results in a table.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<td>\n<table>\n<tbody>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"padding-left: 10px;\">\n<table>\n<tbody>\n<tr>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-9575 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Ad-Hoc-Calc-Icon.png\" alt=\"\" width=\"20\" height=\"20\" \/><strong>Ad hoc Calculations<\/strong><\/td>\n<\/tr>\n<tr>\n<td><strong>Syntax for an Ad hoc Calculation:<\/strong><\/td>\n<\/tr>\n<tr>\n<td>A basic calculation is a combination of tags and\/or attributes and numbers, with mathematical operators such as multiply <strong>*<\/strong>, add <strong>+<\/strong>, subtract <strong>-<\/strong> and divide <strong>%<\/strong>.<\/td>\n<\/tr>\n<tr>\n<td><strong>Tags and Attributes in a Calculation:<\/strong><\/td>\n<\/tr>\n<tr>\n<td>Tags and attributes must be enclosed by curly braces <strong>{}<\/strong>.<\/td>\n<\/tr>\n<tr>\n<td>The attribute name is made up of the following components: Entity, Template, Attribute, Attribute Value, put together in this format: Entity[Template]:Attribute!Attribute Value<\/td>\n<\/tr>\n<tr>\n<td style=\"padding-left: 20px;\"><em>Example of an attribute definition<\/em>: TWell 1[Oil Producing Well]:Casing Pressure!Actual<\/td>\n<\/tr>\n<tr>\n<td style=\"padding-left: 20px;\"><em>Note: <\/em>If you choose not to specify a template, the primary template, current for the retrieved data's timestamp, is the one that gets used. (Primary templates, which are <em>time aware<\/em>, are defined in Server. Read more about this <a title=\"Template Instance\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/templates\/#Template_Instance\">here<\/a>.)<\/td>\n<\/tr>\n<tr>\n<td style=\"padding-left: 20px;\"><em>Note: <\/em>If you choose not to specify an attribute value, the <em>default<\/em> attribute value, current for the retrieved data's timestamp, is used. (Default attribute values, which are <em>time aware<\/em>, are defined in Server. Read more about this <a title=\"Attribute Value\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/attributes\/#Attribute_Value\">here<\/a>.)<\/td>\n<\/tr>\n<tr>\n<td><strong>Example of a basic calculation:<\/strong><\/td>\n<\/tr>\n<tr>\n<td>{TWell 1[Oil Producing Well]:Tubing Head Pressure!Target} - {TWell 1[Oil Producing Well]:Tubing Head Pressure!Actual}<\/td>\n<\/tr>\n<tr>\n<td><strong>More on Calculations:<\/strong><\/td>\n<\/tr>\n<tr>\n<td>Refer to the article <a title=\"Mathematical Expressions\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/mathematical-expressions\/\">Mathematical Expressions<\/a> for syntax on some common mathematical functions to use in your calculations.<\/td>\n<\/tr>\n<tr>\n<td style=\"padding-left: 20px;\"><em>For example, here is a calculation using the <strong>sqrt<\/strong> (square root) function<\/em>: sqrt({TWell 1:Casing Pressure} + 20)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<td width=\"5\">\u00a0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"intro-text\">We've configured the chart to use data from the ad hoc calculations as follows: the <em>{015A_BEN.PV.4}*2<\/em> column for a Line Series and the<em> (Max{015A_BEN.PV.4}, 70) <\/em>column for a second line series, and the <em>Timestamp<\/em> column as the <em>X Axis Column<\/em>, with a <strong>Data Type,<\/strong> of <em>Time<\/em>.<\/p>\n<p class=\"intro-text\">In the screenshot below, you can see the two calculation values <em>{015A_BEN.PV.4}* 2<\/em> and <em>Max({015A_BEN.PV.4}, 70)<\/em> plotted along the X Axis (Timestamp).<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Chart-preview.png\" rel=\"lightbox-27\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-22273 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Chart-preview.png\" width=\"823\" height=\"556\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Chart-preview.png 823w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Chart-preview-768x519.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Chart-preview-150x101.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Chart-preview-24x16.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Chart-preview-36x24.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Chart-preview-48x32.png 48w\" sizes=\"auto, (max-width: 823px) 100vw, 823px\" \/><\/a><\/p>\n<p class=\"intro-text\"><strong>Step 4.<\/strong> Click the configured drop-down list, to close it.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Close-the-chart-selected-data.png\" rel=\"lightbox-28\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-22261 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Close-the-chart-selected-data.png\" width=\"350\" height=\"161\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Close-the-chart-selected-data.png 350w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Close-the-chart-selected-data-150x69.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Close-the-chart-selected-data-24x11.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Close-the-chart-selected-data-36x17.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Close-the-chart-selected-data-48x22.png 48w\" sizes=\"auto, (max-width: 350px) 100vw, 350px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<h4>Templated Calcs<\/h4>\n<p class=\"intro-text\">'Templated calcs' are calculations that incorporate entity context. End users control the entity by clicking on an entity in the Hierarchy Navigator, or ny selecting an entity from the page (such as from a Hierarchy on the page). This depends on how the Entity Context is configured.<\/p>\n<p class=\"intro-text\">For a calculation to be templated:<\/p>\n<ul class=\"intro-text\">\n<li>The calculation must contain the <strong>Entity<\/strong> keyword.<\/li>\n<li>An entity variable must be assigned to the calculation's <strong>Entity Context<\/strong> property.<\/li>\n<\/ul>\n<p class=\"intro-text\">The screenshot below shows an example of a chart that has been configured to use templated calcs, using the <em>globalSelectedEntity<\/em> variable. This variable is updated when the user clicks entities in the hierarchy.<\/p>\n<table style=\"border: 1px solid #cccccc;\">\n<tbody>\n<tr>\n<td style=\"padding-left: 10px;\" width=\"400\">\n<table>\n<tbody>\n<tr>\n<td width=\"500\"><strong>1. Calculations (first)<\/strong>:<\/p>\n<p>The first calculation in the list is: {entity[Oil Producing Well]:Tubing Head Pressure!Actual}<\/p>\n<p>This calculation uses the Tubing Head Pressure <em>Actual<\/em> value for the entity. (Note that this is not really a calculation: just the attribute value).<\/p>\n<p><span style=\"color: #999999;\">Type <strong>{entity[Oil Producing Well]:Tubing Head Pressure!Actual}<\/strong> and click <strong>Add<\/strong>.<\/span><\/p>\n<\/td>\n<td><strong>3. Entity Context<\/strong>:<\/p>\n<p>The globalSelectedEntity is the entity that the user clicks on a hierarchy.<\/p>\n<p><span style=\"color: #999999;\">Select <strong>globalSelectedEntity<\/strong> from the drop-down list <\/span><span style=\"color: #999999;\">for variables<\/span><span style=\"color: #999999;\">.<\/span><\/p>\n<p>Note that there are only values to display if the selected entity has this template (Oil Producing Well) and the attribute value (Tubing Head Pressure!Actual) <em>and<\/em> there are values for the timestamps between <em>Start Time<\/em> and <em>End Time<\/em>.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><strong>2. Calculations (second)<\/strong>:<\/p>\n<p>The first calculation in the list is: {entity[Oil Producing Well]:Tubing Head Pressure!Actual}*0.75<\/p>\n<p>This calculation uses the Tubing Head Pressure, <em>Actual<\/em> value for the entity, multiplied by 0.75.<\/p>\n<p><span style=\"color: #999999;\">Type <strong>{entity[Oil Producing Well]:Tubing Head Pressure!Actual}*0.75<\/strong> and click <strong>Add<\/strong>.<\/span><\/p>\n<\/td>\n<td><strong>4. Two Line Series on a Timestamp X Axis<\/strong>:<\/p>\n<p>This chart has been configured to show the two values, plotted along the timestamp.<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"padding-left: 10px;\" width=\"400\">\n<table>\n<tbody>\n<tr>\n<td width=\"400\">\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Templated-Calc-on-a-Chart-1.png\" rel=\"lightbox-29\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-22285 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Templated-Calc-on-a-Chart-1.png\" width=\"849\" height=\"612\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Templated-Calc-on-a-Chart-1.png 849w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Templated-Calc-on-a-Chart-1-768x554.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Templated-Calc-on-a-Chart-1-150x108.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Templated-Calc-on-a-Chart-1-24x17.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Templated-Calc-on-a-Chart-1-36x26.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/11\/Templated-Calc-on-a-Chart-1-48x35.png 48w\" sizes=\"auto, (max-width: 849px) 100vw, 849px\" \/><\/a><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"best-prac\"><i class=\"fa fa-star fa-2x fa-pull-left\"><\/i><span class=\"best-prac-text\">TOP TIP<\/span><\/p>\n<p class=\"intro-text\">If your page uses templated calcs for entities using a particular template (for example, <em>Oil Producing Well<\/em>), you can add create a <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/configuring-your-system\/links-and-the-table-of-contents\/\" data-slimstat-async=\"false\" data-slimstat-callback=\"false\" data-slimstat-tracking=\"false\" data-slimstat-type=\"2\" data-slimstat-clicked=\"false\">link<\/a> for the page, and assign it to the template. <strong>Note <\/strong>that links are added and assigned to templates in P2 Server.<\/p>\n<\/div>\n<h4 class=\"page-subheading\">Tutorial: Configuring a Templated Calculation<\/h4>\n<p class=\"intro-text\">In this tutorial, we'll drop a data label component onto a page, and then configure it to show data using a templated calculation. We'll also add an entity selector, for updating the <strong>Entity Context<\/strong> in the data label's calculation.<\/p>\n<p class=\"intro-text\"><strong>1. Add an Entity Selector: <\/strong>Drag and drop an <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/entity-selector\/\">Entity Selector<\/a> component onto a grid cell.<\/p>\n<p class=\"intro-text\"><strong>2. Configure the Entity Selector: <\/strong><\/p>\n<ul class=\"intro-text\">\n<li><strong>Select Mode<\/strong>: Single<\/li>\n<li><strong>Selected Entity<\/strong>: selectedEntity<\/li>\n<li><strong>Hierarchy Name<\/strong>: P2 Corporate<\/li>\n<li><strong>Template Filter<\/strong> (<em>Text<\/em>): Oil Producing Well<\/li>\n<\/ul>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/10\/Entity-Selector.png\" rel=\"lightbox-30\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-32267 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/10\/Entity-Selector.png\" alt=\"\" width=\"874\" height=\"404\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/10\/Entity-Selector.png 874w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/10\/Entity-Selector-768x355.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/10\/Entity-Selector-150x69.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/10\/Entity-Selector-24x11.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/10\/Entity-Selector-36x17.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/10\/Entity-Selector-48x22.png 48w\" sizes=\"auto, (max-width: 874px) 100vw, 874px\" \/><\/a><\/p>\n<p class=\"intro-text\"><strong>3. Configure Default Values: <\/strong>Open the Default Values panel, and type <em>Archer<\/em> into the <strong>selectedEntity<\/strong> edit box.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/10\/selectedEntity-Default.png\" rel=\"lightbox-31\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-32270 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/10\/selectedEntity-Default.png\" alt=\"\" width=\"361\" height=\"473\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/10\/selectedEntity-Default.png 361w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/10\/selectedEntity-Default-114x150.png 114w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/10\/selectedEntity-Default-18x24.png 18w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/10\/selectedEntity-Default-27x36.png 27w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/10\/selectedEntity-Default-37x48.png 37w\" sizes=\"auto, (max-width: 361px) 100vw, 361px\" \/><\/a><\/p>\n<p class=\"intro-text\"><strong>4. Add a Data Label: <\/strong>Drag and drop a Data Label component onto a grid cell. The Data Label is in the Display <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/display.png\" rel=\"lightbox[1429] lightbox-32\" data-slimstat-clicked=\"false\" data-slimstat-type=\"2\" data-slimstat-tracking=\"false\" data-slimstat-async=\"false\" data-slimstat-callback=\"false\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1844\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/display.png\" alt=\"Display group icon\" width=\"22\" height=\"13\" \/><\/a> group.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/10\/Add-a-Data-Label.png\" rel=\"lightbox-33\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-32269\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/10\/Add-a-Data-Label.png\" alt=\"\" width=\"1000\" height=\"401\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/10\/Add-a-Data-Label.png 1228w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/10\/Add-a-Data-Label-768x308.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/10\/Add-a-Data-Label-150x60.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/10\/Add-a-Data-Label-24x10.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/10\/Add-a-Data-Label-36x14.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/10\/Add-a-Data-Label-48x19.png 48w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/a><\/p>\n<p class=\"intro-text\"><strong>5. Configure the Data: <\/strong>In this example, we'll configure the data label to show a <em>templated calculation<\/em> value. This is an <em>Ad Hoc Calculation<\/em> which uses an entity variable.<\/p>\n<p class=\"note\">Follow the instructions in the <a title=\"Using Dataset Data\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/data-selector\/\">Data Selector<\/a> article, in the section: <em>Using Adhoc Calculation Data<\/em>.<\/p>\n<p class=\"intro-text\">In the <strong>Value<\/strong> edit box, click and select the <strong>Ad Hoc Calculation<\/strong> option.<\/p>\n<p class=\"intro-text\">In the <strong>Ad Hoc Calulation <\/strong> editor, configure the calculation:<\/p>\n<ul class=\"intro-text\">\n<li><strong>Calculation: <\/strong>Type <em>{entity[Oil Producing Well]:THP!Actual} * 2<\/em><\/li>\n<li><strong>Sample Method: <\/strong>Keep the default\u00a0<em>PageSampleMethod<\/em><\/li>\n<li><strong>Sample Interval: <\/strong>Keep the default\u00a0<em>PageSampleInterval<\/em><\/li>\n<li><strong>Time: <\/strong>Keep the default\u00a0<em>endTime<\/em><\/li>\n<li><strong>Item: <\/strong>Keep the default\u00a0<em>Value<\/em><\/li>\n<li><strong>Entity Context: <\/strong> Select <em>selectedEntity<\/em> from the variables drop-down list<\/li>\n<\/ul>\n<p class=\"note\"><strong>Note<\/strong> that the <em>entity<\/em> keyword has been used in the calculation. This is set by the <strong>Entity Context<\/strong> variable.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/10\/Data-Label-Config.png\" rel=\"lightbox-34\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-32271 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/10\/Data-Label-Config.png\" alt=\"\" width=\"355\" height=\"473\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/10\/Data-Label-Config.png 355w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/10\/Data-Label-Config-113x150.png 113w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/10\/Data-Label-Config-18x24.png 18w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/10\/Data-Label-Config-27x36.png 27w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2017\/10\/Data-Label-Config-36x48.png 36w\" sizes=\"auto, (max-width: 355px) 100vw, 355px\" \/><\/a><\/p>\n<p><strong>Try out the New Component<\/strong><\/p>\n<p class=\"intro-text\">First, let's see what data is being used in the calculation.<\/p>\n<p class=\"intro-text\">Each templated calculation uses the <em>entity<\/em> keyword, followed by a template name and an attribute value. This is then incorporated in the calculation.<\/p>\n<ul>\n<li class=\"intro-text\"><strong>entity<\/strong>: the entity selected from the Entity Selector\u00a0component that we added to the page.<\/li>\n<li class=\"intro-text\"><strong>Template<\/strong>: [Oil Producing Well]<\/li>\n<li class=\"intro-text\"><strong>Attribute Value<\/strong>: THP!Actual<\/li>\n<\/ul>\n<p class=\"intro-text\">The keyword <em>entity<\/em> is substituted by the value of the chosen <strong>Entity Context<\/strong> variable, in display mode.<\/p>\n<p class=\"intro-text\">In this tutorial, we've selected <em>selectedEntity<\/em> for our <strong>Entity Context<\/strong>.<\/p>\n<p class=\"intro-text\">This variable is updated when the end user selects an entity from the entity selector on the page. The selected entity's attribute value is used in the calculation.<\/p>\n<p class=\"note\"><strong>Note<\/strong> that we have already filtered the entity selector to use entities with the <strong>Oil Producing Well<\/strong> template, which means that any entity you click will work for the calculation, as long as it has a value assigned to the THP!Actual attribute value.<\/p>\n<ul>\n<li class=\"intro-text\">Click the Preview <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/03\/preview.png\" rel=\"lightbox-35\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2896\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/03\/preview.png\" alt=\"preview\" width=\"13\" height=\"14\" \/><\/a> button on the Studio toolbar to see what your page will look like in display mode.<\/li>\n<li class=\"intro-text\">Click an entity in the entity selector (for example, <em>Ballard<\/em>).<\/li>\n<li class=\"intro-text\">Now click another entity (for example, <em>Brumby<\/em>).<\/li>\n<\/ul>\n<p class=\"note\"><strong>Note<\/strong> how the data updates when you select a different entity from the entity selector.<\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<h3>Using Attribute Data<\/h3>\n<div class=\"best-prac\"><i class=\"fa fa-star fa-2x fa-pull-left\"><\/i><span class=\"best-prac-text\">TOP TIP<\/span><\/p>\n<p class=\"intro-text\">Use the shortcut method for <a href=\"#Dropping_Tags_or_Attributes_into_the_Data_Field\" data-slimstat-async=\"false\" data-slimstat-callback=\"false\" data-slimstat-tracking=\"false\" data-slimstat-type=\"2\" data-slimstat-clicked=\"false\">Dropping Tags or Attributes<\/a> onto the component property. Note that this is only available on some of the components.<\/p>\n<\/div>\n<p class=\"intro-text\">Here is an example of what a property\u2019s <em>attribute<\/em> configuration looks like, where a set of data is required (such as the <em>Data<\/em> for a <em>Chart<\/em>). Note that there is a start time and an end time here for a range of dates, as well as the option to add multiple entities and attributes.<\/p>\n<table>\n<tbody>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"padding-left: 10px;\" width=\"400\">\n<table>\n<tbody>\n<tr>\n<td width=\"400\">\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Using-Attribute-Data.png\" rel=\"lightbox-36\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18951 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Using-Attribute-Data.png\" width=\"367\" height=\"738\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Using-Attribute-Data.png 367w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Using-Attribute-Data-75x150.png 75w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Using-Attribute-Data-12x24.png 12w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Using-Attribute-Data-18x36.png 18w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Using-Attribute-Data-24x48.png 24w\" sizes=\"auto, (max-width: 367px) 100vw, 367px\" \/><\/a><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<td width=\"500\">\n<table>\n<tbody>\n<tr>\n<td width=\"500\"><strong>1. Component Property<\/strong>:<\/p>\n<p>This is the property that uses the data. In the example used, data from a single attribute, for three different entities is available for the chart. This data spans the time range specified by <em>Start Time<\/em> and <em>End Time<\/em>.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><strong>2. Data Categories<\/strong>:<\/p>\n<p>The selected category is highlighted, with details shown in the panel below the categories tab.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><strong>3. Entities and Attributes<\/strong>:<\/p>\n<p>One or more entities is specified here. One or more attributes for the defined entities is specified.<\/p>\n<p>Attributes are qualified by <em>Template, Attribute<\/em>, and <em>Attribute Value<\/em> names.<\/p>\n<p><strong>Variation:<\/strong> For component properties where only a single point of data is used (such as the Data Label's <em>Value<\/em>), you can only enter a single <strong>Entity<\/strong> and a single <strong>Attribute<\/strong>.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><strong>4. Sample Method<\/strong> and <strong>Sample Interval<\/strong>:<\/p>\n<p>These are used to define the method (e.g. <em>Average<\/em>) and the interval (e.g. <em>3600 - measured in seconds<\/em>) that attribute data is collected, for this component.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><strong>5. Start Time<\/strong> and <strong>End Time<\/strong>:<\/p>\n<p>These times specify the <em>request interval<\/em> for the various attribute values.<\/p>\n<p><strong>Variation:<\/strong> For component properties where only a single point of data is used (such as the Data Label's <em>Value<\/em>), you can only enter a single time: <strong>Time<\/strong>.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><strong>6. Item<\/strong>:<\/p>\n<p><strong>Variation:<\/strong> For component properties where only a single point of data is used (such as the Data Label's <em>Value<\/em>), select an <strong>Item<\/strong>.<\/p>\n<p>The default is the attribute value's <em>Value<\/em>. You can also select <em>Name<\/em>, <em>Timestamp<\/em>, or <em>Confidence<\/em> (a measure, from 1 to 100, of the data's accuracy) from the drop-down list.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>Note<\/strong>: Click <strong>Preview<\/strong> to see the attribute values in a table.<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<td>&nbsp;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"no-toc-heading\">How to Select Attribute Data<\/p>\n<p class=\"intro-text\">The Chart requires a set of data, so we\u2019re using this as an example.<\/p>\n<p class=\"intro-text\"><strong>Step 1. <\/strong>Click the drop-down list next to the Data property to open the Data Selector.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-11020 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Step-1-1.png\" alt=\"\" width=\"332\" height=\"57\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Step-1-1.png 332w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Step-1-1-150x26.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Step-1-1-24x4.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Step-1-1-36x6.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Step-1-1-48x8.png 48w\" sizes=\"auto, (max-width: 332px) 100vw, 332px\" \/><\/p>\n<p class=\"intro-text\">The <em>Data Selector<\/em> editor opens, for the <em>Data<\/em> property.<\/p>\n<p class=\"intro-text\"><strong>Step 2. <\/strong>Click the <strong>Attribute<\/strong> category.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Choose-chart-data.png\" rel=\"lightbox-37\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18952 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Choose-chart-data.png\" width=\"345\" height=\"496\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Choose-chart-data.png 345w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Choose-chart-data-104x150.png 104w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Choose-chart-data-17x24.png 17w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Choose-chart-data-25x36.png 25w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Choose-chart-data-33x48.png 33w\" sizes=\"auto, (max-width: 345px) 100vw, 345px\" \/><\/a><\/p>\n<p class=\"intro-text\"><strong>Step 3. <\/strong>Select and configure the attribute.<\/p>\n<table>\n<tbody>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"padding-left: 10px;\" width=\"600\">\n<table>\n<tbody>\n<tr>\n<td width=\"600\">1. Type in an <strong>Entity<\/strong> name (or <a title=\"Setting a Variable\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/data-selector\/#Setting_a_Variable\">set a variable<\/a>).<\/p>\n<p>Click the <em>Entities<\/em> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-11112 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/entities-button-alt.png\" alt=\"\" width=\"36\" height=\"30\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/entities-button-alt.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/entities-button-alt-24x20.png 24w\" sizes=\"auto, (max-width: 36px) 100vw, 36px\" \/> button to the right of the <strong>Entities<\/strong> box, then start typing an entity name in the <strong>Entities<\/strong> box. As you type, a list of matching names appears. Click to select an entity from the list.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"600\">2. Or type an entity name and then click the <em>Add<\/em> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10990 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Add-button.png\" alt=\"\" width=\"48\" height=\"32\" \/> button to the right of the <strong>Entities<\/strong> box.<\/td>\n<\/tr>\n<tr>\n<td><em>Continue to add new entities in this way.<\/em><\/td>\n<\/tr>\n<tr>\n<td width=\"600\">3. Click the <em>Add<\/em> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10990 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Add-button.png\" alt=\"\" width=\"48\" height=\"32\" \/> button to the right of the <strong>Attributes<\/strong> label, to add attributes.<\/td>\n<\/tr>\n<tr>\n<td>4. In the <strong>Template<\/strong> box, type in a <em>Template<\/em> name. As you type, a list of matching names appears. Click to select a template from the list.<\/td>\n<\/tr>\n<tr>\n<td>5. In the <strong>Attribute<\/strong> box, type in an <em>Attribute<\/em> name. As you type, a list of matching names appears. Click to select an attribute from the list.<\/p>\n<p>The current default attribute value appears in the <strong>Attribute Value<\/strong> box.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>6. To change the default <em>Attribute Value<\/em>, type a new <em>Attribute Value<\/em> into the <strong>Attribute Value<\/strong> box. As you type, a list of matching names appears. Click to select an attribute value from the list.<\/td>\n<\/tr>\n<tr>\n<td>7. Select a <a title=\"Data Transformation and Sample Methods\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/transforms\/\">Sample Method<\/a> (or <a title=\"Setting a Variable\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/data-selector\/#Setting_a_Variable\">set a variable<\/a>) to specify how Server should collect the attribute data.<\/p>\n<p>Click the <em>Options<\/em> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10539 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/fixed-drop-down-button.png\" alt=\"\" width=\"35\" height=\"28\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/fixed-drop-down-button.png 35w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/fixed-drop-down-button-24x19.png 24w\" sizes=\"auto, (max-width: 35px) 100vw, 35px\" \/> button to the right of the <strong>Sample Method<\/strong> box, then select a sample method from the drop-down list: <em>Average, Last Known Value, Linear Interpolate<\/em> or <em>Raw<\/em>. (Or <a title=\"Setting a Variable\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/data-selector\/#Setting_a_Variable\">set a variable<\/a>.)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>8. Select a <a title=\"Data Transformation and Sample Methods\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/transforms\/\">Sample Interval<\/a> (or <a title=\"Setting a Variable\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/data-selector\/#Setting_a_Variable\">set a variable<\/a>) to specify which interval Server should use to collect the attribute data.<\/p>\n<p>Click the <em>Number<\/em> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10538 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Fixed-Numerical-button.png\" alt=\"\" width=\"36\" height=\"28\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Fixed-Numerical-button.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Fixed-Numerical-button-24x19.png 24w\" sizes=\"auto, (max-width: 36px) 100vw, 36px\" \/> button to the right of the <strong>Sample Interval<\/strong> box, then type in a number. This is the interval, in seconds, and should be a multiple of 60.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>9. Select a <a title=\"Data Formats and Data Types: Time series\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/data-types\/#Time_series\">Start Time<\/a> (or <a title=\"Setting a Variable\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/data-selector\/#Setting_a_Variable\">set a variable<\/a>) to specify the start of the <em>request interval<\/em> Server for should use for the attribute.<\/p>\n<p>Click the <em>Time<\/em> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10586 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/time-drop-down-button.png\" alt=\"\" width=\"37\" height=\"31\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/time-drop-down-button.png 37w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/time-drop-down-button-24x20.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/time-drop-down-button-36x30.png 36w\" sizes=\"auto, (max-width: 37px) 100vw, 37px\" \/> button to the right of the <strong>Start Time<\/strong> box, then select a date and time from the date time picker.<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<td>\n<table>\n<tbody>\n<tr>\n<td width=\"500\">\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Adding-attributes-2.png\" rel=\"lightbox-38\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18956 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Adding-attributes-2.png\" width=\"362\" height=\"735\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Adding-attributes-2.png 362w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Adding-attributes-2-74x150.png 74w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Adding-attributes-2-12x24.png 12w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Adding-attributes-2-18x36.png 18w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Adding-attributes-2-24x48.png 24w\" sizes=\"auto, (max-width: 362px) 100vw, 362px\" \/><\/a><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>10. Select an <a title=\"Data Formats and Data Types: Time series\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/data-types\/#Time_series\">End Time<\/a> (or <a title=\"Setting a Variable\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/data-selector\/#Setting_a_Variable\">set a variable<\/a>) to specify the end of the <em>request interval<\/em> Server for should use for the attributes.<\/p>\n<p>Click the <em>Time<\/em> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10586 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/time-drop-down-button.png\" alt=\"\" width=\"37\" height=\"31\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/time-drop-down-button.png 37w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/time-drop-down-button-24x20.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/time-drop-down-button-36x30.png 36w\" sizes=\"auto, (max-width: 37px) 100vw, 37px\" \/> button to the right of the <strong>End Time<\/strong> box, then select a date and time from the date time picker.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>Note<\/strong>: Click <strong>Preview<\/strong> to see the tag results in a table.<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<td width=\"2\">\u00a0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"padding-left: 10px;\">\n<table>\n<tbody>\n<tr>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18892 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Attribute-Icon.png\" width=\"20\" height=\"19\" \/><strong>Attributes<\/strong><\/td>\n<\/tr>\n<tr>\n<td>The attribute name is made up of the following components: Entity, Template, Attribute, Attribute Value, put together in this format:<\/td>\n<\/tr>\n<tr>\n<td>Entity[Template]:Attribute!Attribute Value<\/td>\n<\/tr>\n<tr>\n<td><strong>Entity<\/strong><\/td>\n<\/tr>\n<tr>\n<td>Any <a title=\"Entities, the Backbone of all Data\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/entities\/\">entity<\/a> defined in the data model can be used here.<\/td>\n<\/tr>\n<tr>\n<td><strong>Template<\/strong><\/td>\n<\/tr>\n<tr>\n<td>The entity's <a title=\"Template Instance\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/templates\/#Template_Instance\"> current primary template<\/a> is used, unless you define another <a title=\"Templates\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/templates\/\">template<\/a>.<\/td>\n<\/tr>\n<tr>\n<td><strong>Attribute<\/strong><\/td>\n<\/tr>\n<tr>\n<td>Any <a title=\"Attribute - an Overview\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/attributes\/\">attribute<\/a> that belongs to the specified template may be used.<\/td>\n<\/tr>\n<tr>\n<td><strong>Attribute Value<\/strong><\/td>\n<\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<\/tr>\n<tr>\n<td>The attribute's current default <a title=\"Attribute Value\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/attributes\/#Attribute_Value\">attribute value<\/a> is inserted. You can replace this with any other attribute value belonging to the attribute.<\/td>\n<\/tr>\n<tr>\n<td><strong>Read more about Asset Modelling <a title=\"Asset Modelling\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/attributes\/#Asset_Modelling_Pulling_It_All_Together\">here<\/a> <\/strong>.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"intro-text\">This is what the previewed data looks like, for this example.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Dataset-preview-for-attributes.png\" rel=\"lightbox-39\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18954 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Dataset-preview-for-attributes.png\" width=\"716\" height=\"410\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Dataset-preview-for-attributes.png 716w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Dataset-preview-for-attributes-150x86.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Dataset-preview-for-attributes-24x14.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Dataset-preview-for-attributes-36x21.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Dataset-preview-for-attributes-48x27.png 48w\" sizes=\"auto, (max-width: 716px) 100vw, 716px\" \/><\/a><\/p>\n<p class=\"intro-text\">To use this data, we've configured the chart to use the <em>[Gas Producing Well]:THP!Actual<\/em> column (just for entity Herbert) for a Line Series <em>Y Column<\/em>, and the <em>Timestamp<\/em> column as the <em>X Axis Column<\/em>.<\/p>\n<p class=\"intro-text\">In the screenshot below, you can see the values for the attribute <em>(THP[Gas Producing Well]:THP!Actual)<\/em> plotted along the X Axis <em>(Timestamp)<\/em>.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Chart-using-attributes.png\" rel=\"lightbox-40\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18957 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Chart-using-attributes.png\" width=\"848\" height=\"602\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Chart-using-attributes.png 848w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Chart-using-attributes-768x545.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Chart-using-attributes-150x106.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Chart-using-attributes-24x17.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Chart-using-attributes-36x26.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Chart-using-attributes-48x34.png 48w\" sizes=\"auto, (max-width: 848px) 100vw, 848px\" \/><\/a><\/p>\n<p class=\"intro-text\"><strong>Step 4.<\/strong> Click the configured drop-down list, to close it.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-to-close-attributes.png\" rel=\"lightbox-41\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-18958 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-to-close-attributes.png\" width=\"357\" height=\"176\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-to-close-attributes.png 357w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-to-close-attributes-150x74.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-to-close-attributes-24x12.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-to-close-attributes-36x18.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-to-close-attributes-48x24.png 48w\" sizes=\"auto, (max-width: 357px) 100vw, 357px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<h3>Using Tag Data<\/h3>\n<div class=\"best-prac\"><i class=\"fa fa-star fa-2x fa-pull-left\"><\/i><span class=\"best-prac-text\">TOP TIP<\/span><\/p>\n<p class=\"intro-text\">Use the shortcut method for <a href=\"#Dropping_Tags_or_Attributes_into_the_Data_Field\" data-slimstat-async=\"false\" data-slimstat-callback=\"false\" data-slimstat-tracking=\"false\" data-slimstat-type=\"2\" data-slimstat-clicked=\"false\">Dropping Tags or Attributes<\/a> onto the component property. Note that this is only available on some of the components.<\/p>\n<\/div>\n<p class=\"intro-text\">Below is an example of what a property\u2019s <em>tag<\/em> configuration looks like, where a set of data is required (such as the <em>Data<\/em> for a <em>Chart<\/em>). Note that there is a start time and an end time here for a range of dates, as well as the option to add multiple tags.<\/p>\n<table>\n<tbody>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"padding-left: 10px;\" width=\"400\">\n<table>\n<tbody>\n<tr>\n<td width=\"400\">\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Adding-Tag-Data.png\" rel=\"lightbox-42\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18959 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Adding-Tag-Data.png\" width=\"371\" height=\"457\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Adding-Tag-Data.png 371w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Adding-Tag-Data-122x150.png 122w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Adding-Tag-Data-19x24.png 19w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Adding-Tag-Data-29x36.png 29w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Adding-Tag-Data-39x48.png 39w\" sizes=\"auto, (max-width: 371px) 100vw, 371px\" \/><\/a><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<td width=\"500\">\n<table>\n<tbody>\n<tr>\n<td width=\"500\"><strong>1. Component Property<\/strong>:<\/p>\n<p>This is the property that uses the data. In the example used, it is the <em>Data<\/em> property, for the chart.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><strong>2. Data Categories<\/strong>:<\/p>\n<p>The selected category is highlighted, with details shown in the panel below the categories tab.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><strong>3. Tags<\/strong>:<\/p>\n<p>The tags used to source a a matrix of data for this component's <em>Data<\/em> property.<\/p>\n<p><strong>Variation:<\/strong> For component properties where only a single point of data is used (such as the Data Label's <em>Value<\/em>), you can only enter a single <strong>Tag<\/strong>.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><strong>4. Sample Method<\/strong> and <strong>Sample Interval<\/strong>:<\/p>\n<p>These are used to define the method (e.g. <em>Average<\/em>) and the interval (e.g. <em>3600 - measured in seconds<\/em>) that tag data is collected, for this component's <em>Data<\/em> property.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><strong>5. Start Time<\/strong> and <strong>End Time<\/strong>:<\/p>\n<p>These times specify the <em>request interval<\/em> for the various tag values.<\/p>\n<p><strong>Variation:<\/strong> For component properties where only a single point of data is used (such as the Data Label's <em>Value<\/em>), you can only enter a single time: <strong>Time<\/strong>.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><strong>Item<\/strong> (not shown here):<\/p>\n<p><strong>Variation:<\/strong> For component properties where only a single point of data is used (such as the Data Label's <em>Value<\/em>), select an <strong>Item<\/strong>.<\/p>\n<p>The default is <em>Value<\/em> - where values of any tags or attributes are used in the calculation. You can also select <em>Confidence<\/em> from the drop-down list. Confidence is a measure (1 - 100) of the data's accuracy.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>Note<\/strong>: Click <strong>Preview<\/strong> to see the tag results in a table.<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<td>&nbsp;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"no-toc-heading\">How to Select Tag Data<\/p>\n<p class=\"intro-text\"><strong>Step 1. <\/strong>Click the drop-down list next to the Data property to open the Data Selector.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Open-Data-Selector.png\" rel=\"lightbox-43\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-18960 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Open-Data-Selector.png\" width=\"333\" height=\"263\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Open-Data-Selector.png 333w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Open-Data-Selector-150x118.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Open-Data-Selector-24x19.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Open-Data-Selector-36x28.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Open-Data-Selector-48x38.png 48w\" sizes=\"auto, (max-width: 333px) 100vw, 333px\" \/><\/a><\/p>\n<p class=\"intro-text\">The <em>Data Selector<\/em> editor opens, for the <em>Data<\/em> property.<\/p>\n<p class=\"intro-text\"><strong>Step 2. <\/strong>Click the <strong>Tag<\/strong> category.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-Tag-Category.png\" rel=\"lightbox-44\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18961 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-Tag-Category.png\" width=\"333\" height=\"432\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-Tag-Category.png 333w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-Tag-Category-116x150.png 116w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-Tag-Category-19x24.png 19w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-Tag-Category-28x36.png 28w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-Tag-Category-37x48.png 37w\" sizes=\"auto, (max-width: 333px) 100vw, 333px\" \/><\/a><\/p>\n<p class=\"intro-text\"><strong>Step 3. <\/strong>Select and configure the tags.<\/p>\n<table>\n<tbody>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"padding-left: 10px;\" width=\"600\">\n<table>\n<tbody>\n<tr>\n<td width=\"600\">1. Type in a <strong>Tag<\/strong> name (or <a title=\"Setting a Variable\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/data-selector\/#Setting_a_Variable\">set a variable<\/a>).<\/p>\n<p>Click the <em>Tags<\/em> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10887 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Tag-button.png\" alt=\"\" width=\"36\" height=\"30\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Tag-button.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Tag-button-24x20.png 24w\" sizes=\"auto, (max-width: 36px) 100vw, 36px\" \/> button to the right of the <strong>Tags<\/strong> box, then start typing a tag name. As you type, a list of matching names appears. Click to select a tag from the list.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"600\">2. Click the <em>Add<\/em> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10990 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Add-button.png\" alt=\"\" width=\"48\" height=\"32\" \/> button to the right of the <strong>Tags<\/strong> box.<\/td>\n<\/tr>\n<tr>\n<td><em>Continue to add new tags in this way.<\/em><\/td>\n<\/tr>\n<tr>\n<td>3. Select a <a title=\"Data Transformation and Sample Methods\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/transforms\/\">Sample Method<\/a> (or <a title=\"Setting a Variable\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/data-selector\/#Setting_a_Variable\">set a variable<\/a>) to specify how Server should collect the tag data.<\/p>\n<p>Click the <em>Options<\/em> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10539 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/fixed-drop-down-button.png\" alt=\"\" width=\"35\" height=\"28\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/fixed-drop-down-button.png 35w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/fixed-drop-down-button-24x19.png 24w\" sizes=\"auto, (max-width: 35px) 100vw, 35px\" \/> button to the right of the <strong>Sample Method<\/strong> box, then select a sample method from the drop-down list: <em>Average, Last Known Value, Linear Interpolate<\/em> or <em>Raw<\/em>. (Or <a title=\"Setting a Variable\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/data-selector\/#Setting_a_Variable\">set a variable<\/a>.)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>4. Select a <a title=\"Data Transformation and Sample Methods\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/transforms\/\">Sample Interval<\/a> (or <a title=\"Setting a Variable\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/data-selector\/#Setting_a_Variable\">set a variable<\/a>) to specify which interval Server should use to collect the tag data.<\/p>\n<p>Click the <em>Number<\/em> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10538 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Fixed-Numerical-button.png\" alt=\"\" width=\"36\" height=\"28\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Fixed-Numerical-button.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/Fixed-Numerical-button-24x19.png 24w\" sizes=\"auto, (max-width: 36px) 100vw, 36px\" \/> button to the right of the <strong>Sample Interval<\/strong> box, then type in a number. This is the interval, in seconds, and should be a multiple of 60.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>5. Select a <a title=\"Data Formats and Data Types: Time series\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/data-types\/#Time_series\">Start Time<\/a> (or <a title=\"Setting a Variable\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/data-selector\/#Setting_a_Variable\">set a variable<\/a>) to specify the start of the <em>request interval<\/em> for the tag data.<\/p>\n<p>Click the <em>Time<\/em> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10586 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/time-drop-down-button.png\" alt=\"\" width=\"37\" height=\"31\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/time-drop-down-button.png 37w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/time-drop-down-button-24x20.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/time-drop-down-button-36x30.png 36w\" sizes=\"auto, (max-width: 37px) 100vw, 37px\" \/> button to the right of the <strong>Start Time<\/strong> box, then select a date and time from the date time picker.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>6. Select an <a title=\"Data Formats and Data Types: Time series\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/data-types\/#Time_series\">End Time<\/a> (or <a title=\"Setting a Variable\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/data-selector\/#Setting_a_Variable\">set a variable<\/a>) to specify the end of the <em>request interval<\/em> for the tag data.<\/p>\n<p>Click the <em>Time<\/em> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10586 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/time-drop-down-button.png\" alt=\"\" width=\"37\" height=\"31\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/time-drop-down-button.png 37w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/time-drop-down-button-24x20.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/time-drop-down-button-36x30.png 36w\" sizes=\"auto, (max-width: 37px) 100vw, 37px\" \/> button to the right of the <strong>End Time<\/strong> box, then select a date and time from the date time picker.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>7. Click <strong>Preview<\/strong> to see the tag results in a table.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<td>\n<table>\n<tbody>\n<tr>\n<td width=\"400\">\n<table>\n<tbody>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"padding-left: 10px;\">\n<table>\n<tbody>\n<tr>\n<td><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-9573 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/tag-Icon.png\" alt=\"\" width=\"20\" height=\"20\" \/> <strong>Tags<\/strong><\/td>\n<\/tr>\n<tr>\n<td>A tag is a time series data item, that has <em>not<\/em> been modelled into a hierarchy.<\/td>\n<\/tr>\n<tr>\n<td>A tag can be referenced by an <a title=\"Attribute Value\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/attributes\/#Attribute_Value\">Attribute Value<\/a>.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"500\">\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/configure-chart-tag-data.png\" rel=\"lightbox-45\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18962 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/configure-chart-tag-data.png\" width=\"363\" height=\"456\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/configure-chart-tag-data.png 363w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/configure-chart-tag-data-119x150.png 119w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/configure-chart-tag-data-19x24.png 19w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/configure-chart-tag-data-29x36.png 29w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/configure-chart-tag-data-38x48.png 38w\" sizes=\"auto, (max-width: 363px) 100vw, 363px\" \/><\/a><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<td width=\"2\">\u00a0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"intro-text\">This is what the previewed data looks like, for this example.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Tag-Preview-Data.png\" rel=\"lightbox-46\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18963 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Tag-Preview-Data.png\" width=\"713\" height=\"415\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Tag-Preview-Data.png 713w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Tag-Preview-Data-150x87.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Tag-Preview-Data-24x14.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Tag-Preview-Data-36x21.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Tag-Preview-Data-48x28.png 48w\" sizes=\"auto, (max-width: 713px) 100vw, 713px\" \/><\/a><\/p>\n<p class=\"intro-text\">The Chart's Data property is configured, and the resulting data is available for use in the chart component.<\/p>\n<p class=\"intro-text\">To use this data, we've configured the chart to use the tag data as follows: the <em>Silver<\/em> column for a Line Series, the <em>Goldenrod<\/em> column for a second Line Series, and the <em>Timestamp<\/em> column as the <em>X Axis Column<\/em>.<\/p>\n<p class=\"intro-text\">In the screenshot below, you can see the value for the two tag, <em>RandomCalc <\/em>, plotted along the X Axis <em>(Timestamp).<\/em><\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Chart-using-tag-data.png\" rel=\"lightbox-47\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18965 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Chart-using-tag-data.png\" width=\"886\" height=\"455\" \/><\/a><\/p>\n<p class=\"intro-text\"><strong>Step 4.<\/strong> Click the configured drop-down list, to close it.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-to-close-tag-data-selector.png\" rel=\"lightbox-48\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-18966 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-to-close-tag-data-selector.png\" width=\"342\" height=\"87\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-to-close-tag-data-selector.png 342w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-to-close-tag-data-selector-150x38.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-to-close-tag-data-selector-24x6.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-to-close-tag-data-selector-36x9.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-to-close-tag-data-selector-48x12.png 48w\" sizes=\"auto, (max-width: 342px) 100vw, 342px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<h3>Using Value Data<\/h3>\n<p class=\"intro-text\">Here is an example of what a property\u2019s <em>value<\/em> configuration looks like, where a list of data is required (such as the <em>Option Values<\/em> for an <em>Option Links<\/em>) component.<\/p>\n<table>\n<tbody>\n<tr style=\"border: 1px solid #cccccc;\">\n<td style=\"padding-left: 10px;\" width=\"400\">\n<table>\n<tbody>\n<tr>\n<td width=\"400\">\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Option-Links-Values.png\" rel=\"lightbox-49\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-18967 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Option-Links-Values.png\" width=\"387\" height=\"297\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Option-Links-Values.png 387w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Option-Links-Values-150x115.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Option-Links-Values-24x18.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Option-Links-Values-36x28.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Option-Links-Values-48x37.png 48w\" sizes=\"auto, (max-width: 387px) 100vw, 387px\" \/><\/a><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<td width=\"500\">\n<table>\n<tbody>\n<tr>\n<td width=\"500\"><strong>1. Component Property<\/strong>:<\/p>\n<p>This is the property that uses the data. In the example used, it is the <em>Option Values<\/em>, used by the Option Links component.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><strong>2. Data Categories<\/strong>:<\/p>\n<p>The selected category is highlighted, with details shown in the panel below the categories tab.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><strong>3. Values<\/strong>:<\/p>\n<p>A set of values. These can be numerical or text.<\/p>\n<p><strong>Variation:<\/strong> For component properties where only a single point of data is used (such as the Data Label's <em>Value<\/em>), you can only enter a single <strong>Value<\/strong>.<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"no-toc-heading\">How to Select Value Data<\/p>\n<p class=\"intro-text\"><strong>Step 1. <\/strong>Click the drop-down list next to the Option Values property to open the Data Selector.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-Option-Values.png\" rel=\"lightbox-50\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-18968 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-Option-Values.png\" width=\"337\" height=\"45\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-Option-Values.png 337w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-Option-Values-150x20.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-Option-Values-24x3.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-Option-Values-36x5.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-Option-Values-48x6.png 48w\" sizes=\"auto, (max-width: 337px) 100vw, 337px\" \/><\/a><\/p>\n<p class=\"intro-text\">The <em>Data Selector<\/em> editor opens, for the <em>Option Values<\/em> property.<\/p>\n<p class=\"intro-text\"><strong>Step 2. <\/strong>Click the <strong>Value<\/strong> category.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-Option-Values-2.png\" rel=\"lightbox-51\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-18969 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-Option-Values-2.png\" width=\"352\" height=\"224\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-Option-Values-2.png 352w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-Option-Values-2-150x95.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-Option-Values-2-24x15.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-Option-Values-2-36x23.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Click-Option-Values-2-48x31.png 48w\" sizes=\"auto, (max-width: 352px) 100vw, 352px\" \/><\/a><\/p>\n<p class=\"intro-text\"><strong>Step 3. <\/strong>Select and configure the values.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Add-option-values.png\" rel=\"lightbox-52\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-18970 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Add-option-values.png\" width=\"340\" height=\"314\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Add-option-values.png 340w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Add-option-values-150x139.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Add-option-values-24x22.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Add-option-values-36x33.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/08\/Add-option-values-48x44.png 48w\" sizes=\"auto, (max-width: 340px) 100vw, 340px\" \/><\/a><\/p>\n<p class=\"intro-text\"><strong>Step 3 a)<\/strong> Click the <em>CSV (comma separated values)<\/em> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10991 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/comma-separated-values.png\" alt=\"\" width=\"37\" height=\"32\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/comma-separated-values.png 37w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/comma-separated-values-24x21.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/comma-separated-values-36x31.png 36w\" sizes=\"auto, (max-width: 37px) 100vw, 37px\" \/> button to the right of the <strong>Values<\/strong> box, then type in a number or string. (Or <a title=\"Setting a Variable\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/data-selector\/#Setting_a_Variable\">set a variable<\/a>.)<\/p>\n<p class=\"intro-text\"><strong>Step 3 b)<\/strong> Click the <em>Add<\/em> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10990 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Add-button.png\" alt=\"\" width=\"48\" height=\"32\" \/> button to the right of the <strong>Values<\/strong> box, or press the <em>Enter<\/em> key.<\/p>\n<p class=\"intro-text\"><strong>Step 3 c)<\/strong> Keep adding values in this way, until you have all the value options that you want to use.<\/p>\n<p class=\"intro-text\">The Option Links <em>Option Values<\/em> property is configured, and the resulting data is displayed in the Option Links component.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Configured-Option-Links.png\" rel=\"lightbox-53\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10992 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Configured-Option-Links.png\" alt=\"\" width=\"645\" height=\"256\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Configured-Option-Links.png 645w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Configured-Option-Links-150x60.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Configured-Option-Links-24x10.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Configured-Option-Links-36x14.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Configured-Option-Links-48x19.png 48w\" sizes=\"auto, (max-width: 645px) 100vw, 645px\" \/><\/a><\/p>\n<p class=\"intro-text\"><strong>Step 4.<\/strong> Click the configured drop-down list, to close it.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Step-4.png\" rel=\"lightbox-54\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-10996 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Step-4.png\" alt=\"\" width=\"333\" height=\"46\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Step-4.png 333w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Step-4-150x21.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Step-4-24x3.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Step-4-36x5.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/03\/Step-4-48x7.png 48w\" sizes=\"auto, (max-width: 333px) 100vw, 333px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<h2 class=\"page-subheading\">Dropping Tags or Attributes into the Data Field<\/h2>\n<p class=\"intro-text\">Some of the components can have data dropped into their Data Selectors straight from the <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-getting-started\/tag-search-and-hierarchy-navigation\/\">Hierarchy or Tag navigators<\/a>.<\/p>\n<p class=\"intro-text\">These are the components which would typically be used to show tag or attribute data, for example:<\/p>\n<ul class=\"intro-text\">\n<li>Level Meter<\/li>\n<li>Temperature Meter<\/li>\n<li>Pressure Meter<\/li>\n<li>Wind Vane<\/li>\n<li>Data Table<\/li>\n<li>Data Label<\/li>\n<\/ul>\n<p class=\"intro-text\">This method is much quicker than opening the <a href=\"#Selecting_and_Configuring_your_Data\">Data Selector drop-down list<\/a>, when assigning tags or attributes.<\/p>\n<p class=\"intro-text\">1. On the page, click the component to select it.<\/p>\n<p class=\"intro-text\">2. Locate a tag, attribute or attribute value, then drag and drop it into the applicable property of the component.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/10\/Drop-tag-onto-component.png\" rel=\"lightbox-55\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-20347\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/10\/Drop-tag-onto-component.png\" width=\"1000\" height=\"357\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/10\/Drop-tag-onto-component.png 1329w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/10\/Drop-tag-onto-component-768x274.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/10\/Drop-tag-onto-component-150x53.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/10\/Drop-tag-onto-component-1280x457.png 1280w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/10\/Drop-tag-onto-component-24x9.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/10\/Drop-tag-onto-component-36x13.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/10\/Drop-tag-onto-component-48x17.png 48w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/a><\/p>\n<p class=\"intro-text\">In the same example as used above, you can see how the tag value has been inserted into the component property, with defaults for Sample Method, Sample Interval, Time and Item.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/10\/Tag-Added-1.png\" rel=\"lightbox-56\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-20496 size-full alignnone\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/10\/Tag-Added-1.png\" width=\"334\" height=\"559\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/10\/Tag-Added-1.png 334w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/10\/Tag-Added-1-90x150.png 90w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/10\/Tag-Added-1-14x24.png 14w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/10\/Tag-Added-1-22x36.png 22w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/10\/Tag-Added-1-29x48.png 29w\" sizes=\"auto, (max-width: 334px) 100vw, 334px\" \/><\/a><\/p>\n<p class=\"intro-text\">3. For components that can use multiple tags or attributes (such as the Data Table), you can continue to drag and drop additional tags\/attributes.<\/p>\n<p class=\"intro-text\">4. If you need to adjust the Sample Method, Sample Interval, Start Time and End Time (or Time and Item), see how in Points <strong>4<\/strong> and <strong>5<\/strong>, for <a href=\"#Using_Tag_Data\">Tags<\/a>, or <a href=\"#Using_Attribute_Data\">Attributes<\/a>.<\/p>\n<h2 class=\"page-subheading\">Release History<\/h2>\n<ul class=\"intro-text\">\n<li>Data Selector 4.4.5 (this release):\n<ul class=\"intro-text\">\n<li>The Ad Hoc Calculation editor has an additional option, for configuring an entity variable, called <strong>Entity Context<\/strong>.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul class=\"intro-text\">\n<li class=\"intro-text\"><a title=\"Data Selector(4.4.2)\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/data-selector\/\">Data Selector (4.4.2)<\/a><\/li>\n<\/ul>\n<ul class=\"intro-text\">\n<li class=\"intro-text\"><span class=\"removed_link\" title=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/data-selector-4-4-1\/\">Data Selector (4.4.1)<\/span> In this version\n<p>&nbsp;<\/p>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Many of the Explorer components are used for displaying data. For example, the data label, charts, the dataset table, target bars, meters.<br \/>\nLearn how to select and define data within Explorer Studio, using the data selector editor, for versions 4.5 and later of P2 Explorer.<\/p>\n<p class=\"continue-reading-button\"> <a class=\"continue-reading-link\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/data-selector\/data-selector-4-4-5\/\">Read more<i class=\"crycon-right-dir\"><\/i><\/a><\/p>\n","protected":false},"author":8,"featured_media":18972,"parent":18917,"menu_order":1,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":"","_members_access_role":[],"_members_access_error":""},"categories":[11],"tags":[419,109,100,257,175],"class_list":["post-22236","page","type-page","status-publish","has-post-thumbnail","hentry","category-tutorial","tag-add-data","tag-attributes","tag-calculations","tag-datasources","tag-tags","Product-ex"],"_links":{"self":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/22236","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/comments?post=22236"}],"version-history":[{"count":0,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/22236\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/18917"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media\/18972"}],"wp:attachment":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media?parent=22236"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/categories?post=22236"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/tags?post=22236"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}