| title | Kpi Element (ASSL) | Microsoft Docs | ||
|---|---|---|---|
| ms.custom | |||
| ms.date | 03/07/2017 | ||
| ms.prod | sql-server-2016 | ||
| ms.reviewer | |||
| ms.suite | |||
| ms.technology |
|
||
| ms.tgt_pltfrm | |||
| ms.topic | reference | ||
| apiname |
|
||
| apilocation | |||
| apitype | Schema | ||
| applies_to |
|
||
| f1_keywords |
|
||
| helpviewer_keywords |
|
||
| ms.assetid | 1979a58f-97a8-4c1a-aa65-dcfb6d2404cf | ||
| caps.latest.revision | 33 | ||
| author | Minewiskan | ||
| ms.author | owend | ||
| manager | erikre |
Defines a key performance indicator (KPI) within a Cube element or a Perspective element.
<Kpis>
<Kpi> <!-- ancestor: Cube -->
<Name>...</Name>
<ID>...</ID>
<Description>...</Description>
<Translations>...</Translations>
<DisplayFolder>...</DisplayFolder>
<AssociatedMeasureGroupID>...</AssociatedMeasureGroupID>
<Value>...</Value>
<Goal>...</Goal>
<Status>...</Status>
<Trend>...</Trend>
<TrendGraphic>...</TrendGraphic>
<StatusGraphic>...</StatusGraphic>
<CurrentTimeMember>...</CurrentTimeMember>
<Annotations>...</Annotations>
</Kpi>
<!-- or -->
<Kpi xsi:type="PerspectiveKpi">...</Kpi> <!-- ancestor: Perspective -->
</Kpi>
</Kpis> | Characteristic | Description |
|---|---|
| Data type and length | See the table below. |
| Default value | None |
| Cardinality | 0-n: Optional element that can occur more than once. |
| Ancestor or Parent | Data Type |
|---|---|
| Cube | None |
| Perspective | PerspectiveKpi |
| Relationship | Element |
|---|---|
| Parent elements | Kpis |
| Child elements | See the table below. |
| Ancestor or Parent | Child elements |
|---|---|
| Cube | Annotations, AssociatedMeasureGroupID, CurrentTimeMember, Description, DisplayFolder, Goal, ID, Name, Status, StatusGraphic, Translations, Trend, TrendGraphic, Value |
| Perspective | None |
The corresponding elements in the Analysis Management Objects (AMO) object model are xref:Microsoft.AnalysisServices.Kpi and xref:Microsoft.AnalysisServices.PerspectiveKpi.