TargetFacts (Collection)

Member of:

Data object

Description:

Represents all Bullet, Slider, Speedometer, Thermometer, TrafficLight, (Live) Funnel Chart, and (Live) LineChart target fact objects. TargetFact objects can be selected from the database if a column is available, or you can create a computed item that reflects a target amount. Data functions can be applied to fact values to aggregate values.

Example:

This example shows how to remove the target fact Unit Sales and adds the target fact Amount Sales:

Speedometer.TargetFacts.Remove("Unit Sales")
Speedometer.TargetFacts.Add("Amount Sales")

Methods:

Add(ItemName As String), Item (Value as NameOrIndex) Remove(Value as NameOrIndex), RemoveAll()

Properties:

Read-only:Property Count As Number