Asset Analytics KPI+
Asset Analytics KPI+ turns a set of AF assets into KPI cards: how many assets there are, the average or highest value of an attribute, or the same result for each mode, template, or asset. Cards can change color with your limits and follow an Asset Filter+ on the same display.
Overview

When to use it
Use Asset Analytics KPI+ when you need to:
- Count the assets that match a search, or the assets in each state.
- Show the total, average, minimum, or maximum of an attribute across many assets.
- Split a result into one card per mode, template, or asset.
- Keep only the highest or lowest assets and group the rest as Others.
- Color cards by limits, or compare them with a target.
- Let operators narrow the cards with an Asset Filter+.
Choose KPI Card+ for one PI Point or attribute with a sparkline or a history comparison. Choose Asset Comparison Table+ when you need one row per asset with all of its values. Choose Event Analytics KPI+ when the cards should summarize event frames.
Before you begin
- Prepare the AF assets: either a fixed set of elements, or an asset search by database, root, and template.
- For a sum, average, minimum, maximum, median, or standard deviation, use a numeric attribute. Text, Boolean, and date properties offer only Count and Count Distinct.
- Each asset contributes its current value. The symbol does not aggregate an attribute over the display time range.
- Units come from the AF attribute.
Add and set up the symbol
- Select Asset Analytics KPI+ in the PI Vision symbol gallery.
- Search for the assets, then drag an attribute such as Speed from the results onto the display. The symbol starts with one card that counts the assets.
- Right-click the symbol and select Configure Asset Analytics KPI....
- Under Dimension, open Values. Set Summary to Average.
- Enter Average speed as the Title.
- Close the configuration pane. The card shows the average speed of all assets, with the unit from AF.

Note: Attribute names show a leading | in the Value lists. Asset properties such as AssetName and TemplateName have none.
Common tasks
Summarize an attribute across all assets
Use this when one card is not enough, for example the number of assets next to the average and the highest speed.
- In the configuration pane, open Values.
- Select + (1) to add a value.
- Set Value (2) to the property or attribute, for example AssetName or |Speed.
- Set Summary (3) to Count, Sum, Max, or another calculation.
- Enter a Title (4) such as Assets or Top speed.
- Repeat for each card.

Each value becomes one card. Show set to OFF keeps a value in the list without a card.

Split the result into one card per category
Use this when you want the same calculation for each mode, template, state, or asset.
- Open Series and select + (1).
- Set Value (2) to the property that defines the cards, for example |Mode.
- Check Sort by (3). It is the value that orders the cards, and Descending puts the largest first. Select Category to sort by the names instead.

The symbol shows one card for each mode, titled with the category. With several values, every value is calculated for every category.

Show only the highest assets
Use this when many assets would crowd the symbol and operators need the leaders only.
- In Series, set Value (1) to AssetName.
- Set Top N (2) to ON and Mode (3) to Top. Select Bottom for the lowest assets.
- Enter the Count (4), for example 3.
- Set the ranking Value (5) to the value that decides the order, for example Average speed.
- Leave Others (6) ON to add one card that applies the same summary to all remaining assets.

The symbol shows the three leading assets and an Others card. A sum for Others keeps the grand total complete.

Color cards by limits
Use this when operators must see which cards are normal, high, or low without reading the numbers.
- Right-click the symbol and select Add Multi-State.... When limits exist, the command reads Configure Multi-State....
- Select the value in the Values list, then select Enable multi-state (1).
- Under Property (2), choose how the color is drawn. Accent + Tint colors the card edge and surface.
- Under Status (3), type a limit and select +. Add one limit for each color you need.
- Choose a color for each limit (4). A card takes the color of the lowest limit that is greater than or equal to its value.
- Choose the Error color (5). It colors values above the highest limit and cards without a number.

The cards take the colors. Here limits of 40 and 60 give green below 40, amber up to 60, and red above.

For a target instead of colors, see Target under Values in the reference.
Narrow the cards with Asset Filter+
Use this when operators should choose the assets that the cards summarize. Add an Asset Filter+ to the display that lists an attribute such as Mode.
- Select entries in the Asset Filter+ list (1).
- The card values recalculate for the matching assets.
- In the symbol's configuration pane, open Interactivity > Filtering and set Filter Indicator to Full. The indicator (2) shows how many assets remain.
- To keep one symbol unaffected, set Ignore Master to ON.

The value (3) now covers only the selected assets. Clear the selection in the Asset Filter+ or through the indicator to see all assets again. See Filtering dashboards for linked channels.
Change the assets with search criteria
Use this when the assets come from a search, and you want a different set.
- Right-click the symbol and select Search Criteria.... A symbol with a fixed set of assets offers Add Dynamic Search Criteria... instead, which replaces the fixed set.
- Narrow the search with Search Root (1), Asset Name (2), Asset Type, or Asset Category. Asset Name accepts wildcards such as
Line 1*. - Set Number of Results (3) to the most assets you want. The default is 16.
- Select Refresh (4).

The cards recalculate for the new set. Each symbol keeps its own search.

Use the symbol

| What it shows | |
|---|---|
| (1) | The calculated value with its unit. The color follows the limits, when set. |
| (2) | The card title: the category, or the Title of the value when there is no series. |
| (3) | The accent bar. With Accent + Tint it shows the limit color. |
| (4) | The filter indicator. It shows how many assets remain, such as 10 of 11, when another symbol narrows the cards. |
- Click Action: the designer chooses what a click does. None does nothing. Drilldown replaces the cards with the next series for the clicked category and adds a drill-up button at the top right. Filter selects the card and publishes it as an asset filter for the other symbols. Select the card again to clear it.
- Filters from other symbols: an Asset Filter+ or another asset symbol narrows the cards. Filters from Event Filter+ and the Event Analytics symbols are ignored.
- No assets: when nothing matches, the cards stay in the configured style. A count or sum reads 0 and every other summary reads a dash. These cards cannot be clicked.
- Asset without the attribute: an asset that has no value for the attribute adds nothing to a sum or average. In a card of its own it shows only the unit.
- The symbol only displays data. It does not write to the PI System.

Configure the symbol
Right-click the symbol and select Configure Asset Analytics KPI.... The groups appear in this order. The right-click menu also offers Search Criteria... and Add Multi-State....
Dimension > Values
One entry for each calculation. Use + to add one and the arrows to reorder.
| Setting | What it does |
|---|---|
| Value | The property or attribute to summarize. Properties are Asset, AssetName, Description, TemplateName, Path, and HasChildren. Used in Summarize an attribute across all assets. |
| Summary | Count, Count Distinct, Sum, Min, Max, Average, Median, or Standard Deviation. Text, Boolean, and date properties offer Count and Count Distinct. |
| Title | The card title when there is no series. Without it the title is the property name. |
| Show | OFF keeps the value in the list without a card. |
| Target > Enabled | Adds a badge such as an up arrow, a difference, and "vs. Target" under the card title. The arrow shows whether the value is above or below the target. |
| Target > Show | Appends the target value to the badge. |
| Target > Value | The target. Enter a number, or a time span for a duration attribute. |
| Target > Difference | Value shows the signed difference. Percent shows it as a percentage and is not shown for a target of 0. |
| Target > Direction | Higher is better or Lower is better. It decides whether the badge is favorable, independent of the arrow. |
Dimension > Series
One entry for each grouping. With several series, every combination gets a card, unless Drilldown is the click action.
| Setting | What it does | ||
|---|---|---|---|
| Value | The property that defines the cards. A state attribute can be split by level, such as ** | Mode | Level1**. Used in Split the result into one card per category. |
| Group Interval | Available for date properties. Groups by day, month, year, and other intervals. | ||
| Show Empty Periods | Available with a Group Interval. Adds periods without assets. | ||
| Caption | Names the entry in the list. | ||
| Sort Order, Sort by | Order the cards. Sort by is Category or one of the values. | ||
| Top N | Keeps the top or bottom entries. Mode, Count, Value, and Others set the details. Used in Show only the highest assets. |
Card Options > Layout
| Setting | What it does |
|---|---|
| Alignment | Auto fits the cards to the symbol size. Rows or Columns fixes the number of lines. |
| Count | Available when Alignment is Rows or Columns. The number of lines. |
| Spacing | The gap between cards. |
Card Options > Style
| Setting | What it does |
|---|---|
| Theme, Surface, Container Style | A shared look for the cards. Custom Theme adds Text, Background, and Font settings. |
| Apply to all symbols | Copies the theme, surface, container style, and display background to every other Vision Library+ symbol on the display. Not available with Custom Theme. |
| Font Size | Value and Title sizes, from the list or Custom. |
| Alignment | Left, Center, or Right text. |
| Show Aggregation in Caption | ON appends the summary, such as Average, to the title of a card without a series. |
Interactivity > Selection
| Setting | What it does |
|---|---|
| Click Action | None, Drilldown, or Filter. Drilldown and Filter exclude each other. |
| Selection | Available when Click Action is Filter. Single replaces the previous card. Multiple keeps several cards selected. |
Interactivity > Filtering
| Setting | What it does |
|---|---|
| Filter Indicator | Compact shows a filter icon, Full adds the asset count, and Hidden shows nothing. Used in Narrow the cards with Asset Filter+. |
| Ignore Master | ON ignores master filters. Linked inputs still apply. |
| Linked Inputs | Maps a named channel from a publisher to a property of the assets. See Filtering dashboards. |
| Output Mode | Available when Click Action is Filter. Master, Linked, or Both decides how a selected card is published. |
| Linked Outputs | Available with Linked or Both. Maps a property to a named channel. |
Attributes
Current Attributes are the attributes the symbol reads for every asset. Additional Attributes are the ones the assets offer but the symbol does not read. Use the buttons between the lists to move entries, and the arrows to reorder. Only current attributes appear in the Value lists.
Numbers
The number format of card values. Units and decimals follow the AF attribute unless you choose a format.
Add Multi-State
Opened from the right-click menu. Used in Color cards by limits.
| Setting | What it does |
|---|---|
| Values | The list of values. Each value has its own limits. |
| Enable multi-state | Turns on coloring for the selected value. |
| Property | How the color is drawn: Text, Border, Soft Fill, Accent + Tint, Status Dot, Value Badge, Solid Fill, Progress, Progress and Value, Fill Level, or Radial Progress. |
| Status | One row per limit with a color. Type a limit and select +. Limits compare with less than or equal, and the list sorts from the highest. For a duration, type time spans such as 1h. |
| Error | The color for values above the highest limit, values that are not numbers, and cards without data. A transparent color leaves them unpainted. |
Troubleshooting and limitations
| Symptom | Cause | What to do |
|---|---|---|
| The symbol is blank. | Every value has Show set to OFF. | Set Show to ON for at least one value. |
| Every card reads 0 or a dash. | The search found no assets, or a filter excludes all. | Open Search Criteria... and select Refresh, or clear the filter. |
| An average or sum looks too low or high. | The search, or an Asset Filter+, changes which assets count. | Compare the asset count with a Count card, or check the filter indicator. |
| Clicking a card does nothing. | Click Action is None, the symbol has no series, or Output Mode is not set. | Set Click Action, add a series, and for Filter choose an Output Mode. |
| A card shows only the unit. | That asset has no value for the attribute. | Check the attribute in AF, or narrow the search. |
| Every card is red. | No limits exist yet, or every value is above the highest limit. | Add limits, or raise the highest one. The red is the Error color. |
| The other symbols ignore a selected card. | They are not asset symbols, or they ignore master filters. | Use asset symbols, and check Ignore Master on them. |
Limitation: The symbol reads the current attribute value. For a time-based answer, such as the average over the last shift, use an AF analysis or Asset Time Series Chart+.
Limitation: The properties offered for values and series are Asset, AssetName, Description, TemplateName, Path, and HasChildren, plus attributes. Element categories and extended properties are not available.
Limitation: A target applies to every card of its value. You cannot set a different target for each category.
