Creating View Queries

If you generate a Star Schema with the Weights option, create a SQL query using this command to return rows for measures and perspectives on a scorecard:

select * from HPS_STAR_SCORECARD_VIEW where date = 'yyyy-MM-dd' and scorecard_id = id

The result set contains rows for each measure and perspective on that scorecard. For example:

Table 10. Sample View Query

Date

Measure ID

Scorecard ID

Name

Dimensional Measure

Result

Target

Weight

Weighted Score

Score

Status Symbol Name

2006–02–0147014301Has
Results(a)
T15.020.00.537.575.0Good
2006–02–0145104301Has
Results(b)
T140.5.12.50.2None