TileKPI_1 property: Tile class

Description

Use the TileKPI_1 property to set the first key performance indicator (KPI) data value as a String value. Setting this property is required when you have specified one of the KPI content types in Tile Wizard or you have invoked the one of the following methods: SetTileContentAsChartAndKPI, SetTileContentAsOneKPI, SetTileContentAsTwoKPIs, or SetTileContentAsTwoKPIsTopBottom.

Since KPIs are typically numeric values, you can use the getAmountFormattedValue method or several built-in functions (for example, NumberToString or NumberToDisplayString) to convert the numeric value to a String value.

Set a label for this data value using the TileKPI_1_Label property.

Optionally, you can use the hasLivedataTrendImage property to enable a trend image for display with the first KPI data value only when a single KPI is displayed (either the 1 KPI or the chart and 1 KPI content types).

This property is read/write.

Example

&rev = &total_rev / 1000000;
%This.TileKPI_1 = %This.getAmountFormattedValue(&rev, "USD");
%This.TileKPI_1_Label = "Revenue (in Millions)";