The MIN_COLUMN rule selects the row that contains the lowest value in the specified column. The MIN_COLUMN rule uses case-insensitive lexicographical ordering to find the lowest value.
The following table displays a sample cluster and indicates the preferred record for the cluster based on the donation amount:
||Row-level preferred record
||John Jr Smith
The MIN_COLUMN rule selects the second row as the preferred record because 1000 is the lowest donation amount based on the lexicographical ordering.
Use the following format to configure a MIN_COLUMN rule:
<RowRule name="<Rule name>" rule="MIN_COLUMN" order="<Execution order>">
<ReferenceColumn columnName="<Column name>" />
The format uses the following parameters:
- Rule name
- Unique name for the rule.
- Execution order
- Optional. Order of execution for the rule. Use an integer value for the order of execution. If you do not specify the execution order, the consolidation process runs the rule based on the sequence of rules listed in the consolidation rules file. If you specify the execution order for a rule, you must specify the execution order for other rules.
- Column name
- Name of the column based on which you want to configure the rule.
The following sample MIN_COLUMN rule is configured for the Donation Amount column:
<RowRule name="rowLevel5" rule="MIN_COLUMN" order="1">
<ReferenceColumn columnName="Donation Amount" />