Sybase InfoMaker 11.5, CD, Win, ENG Dokumentacja Strona 677

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 828
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 676
CHAPTER 24 DataWindow Expression and InfoMaker Functions
Users Guide 655
When you define the crosstab described above, the painter automatically
creates the appropriate computed fields. A computed field named avg_amount
returns the average of the quarterly figures for each year. Its expression is:
CrosstabAvg(1, 2, "@year")
A second computed field named grand_avg_amount computes the average of
all the amounts in the row. Its expression is:
CrosstabAvg(1)
Other computed fields in the summary band use the Avg function to display the
average of the values in the amount column, the yearly averages, and the final
average.
The crosstab in the Design view looks like this.
Each row in the crosstab (after adjusting the column widths) has cells for the
amounts in the quarters, a repeating cell for the yearly average, and a grand
average. The crosstab also displays averages of the amounts for all the financial
codes in the quarters in the summary band at the bottom.
Przeglądanie stron 676
1 2 ... 672 673 674 675 676 677 678 679 680 681 682 ... 827 828

Komentarze do niniejszej Instrukcji

Brak uwag