Expand Set Code Samples
Here is an example of an expand-set used in a definitions block.
expand-set id = "expand_cost" { take-parameter "summary" expand "Cost" { text column = "$(summary) Y" text column = "$(summary) Y Y-1" text "% Chg" column = "$(summary) Y Y-0 % Diff" } }
Here is an example of the expand-set referenced in a report page.
Here is the result of the code in DiveTab with the expand-set open.
Here is an example of an expand definition as part of a column-set.
Here is an example of the above column-set used in an ad hoc page.
Here is the result of the code in DiveTab with the column expanded. The dimcount-dimensions are collapsed.
See also:
- What is an Expand Set?
- Expand Set Code Block
- Adding Expand Sets
- Adding an Expand Set with a Parameter