Initializing help system before first use

# To Pivot array indices as columns

You can repeat each column in a Table per element in a set.
If all the arrays in a Table have two or more index sets you can use `vdl-repeat-contents` over one of the common index sets and repeat all the columns per element in the set. The columns will be grouped each element in the set.

1. In the Palette > Components group, drag a Table element onto a container on the artboard.
2. In the Table wizard, select the Entity (MY_ARRAY) to be displayed in the Table Column.
3. Proceed through each page of the Table wizard then click FINISH.
4. Drag a Repeat Contents onto the Table on the artboard and enter the following in the repeat expression field:

       =item in scenario.entities.MY_SET

5. Select each Table Column on the artboard. In the Attributes pane, set:
   - Heading to `='MY_ARRAY, ' + item.label`.
6. In the Palette > Components group, click and drag an Index Filter element onto each Table Column.
7. Select the Index Filter element on the artboard, and in the Attributes pane:
   - Edit the Set attribute to select the dataset. (MY_SET).
   - Edit the Value attribute to specify the value to display in the table column (=item.value).

Code editor

    <vdl-table vdl-repeat-contents="=item in scenario.entities.MY_SET">
        <vdl-table-column entity="MY_ARRAY" heading="='MY_ARRAY, ' + item.label">
            <vdl-index-filter set="MY_SET" value="=item.value"></vdl-index-filter>
        </vdl-table-column>
    </vdl-table>

Parent Topic The vdl-repeat-contents attribute

© 2001-2026 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.