The report layout table defines the calculation formula for the profit-and-loss report. The report layout controls how SAS Web Report Studio displays the cube when it is first opened. More specifically, the report layout determines:
A report hierarchy can have multiple report layouts so that you can create different reports from the same data.
A report layout table contains the following columns and must conform to the following rules:
Position |
Name | Maximum Field Length | Description |
1 |
ID | Char 32 | The unique identifying reference for the item
|
2 |
Name | Char 32 | The name of the behavior, which displays on the report |
3 |
Formula | Char 256 | For calculated rows, the formula for the calculation based on the IDs. The formula can include addition, subtraction, multiplication, and division (+, -, *, /). Note : Formula fields must not also appear in the report hierarchy. |
4 |
RowOrder | Numeric 8 | The position of the row in the profit-and-loss report |
Note: You can add labels to a report.
The following picture shows a sample report layout table:
Note: Do not include calculated rows, such as the following row, in the report hierarchy table:
The report layout controls how SAS Web Report Studio displays the cube when it is first opened. You can see in the following graphic that the report layout table controls
Note: The report layout determines to what level the highest dimension is expanded when the report is initially opened. A user can navigate the dimension, expanding and collapsing it at will.