# EntityAdvancedFieldN

A comma-separated list of advanced fields to return, associated with the entities specified by the EntityN parameter.

To use this option you must:

- set `OutputSimpleMatchInfo` to `False` for edktool.
- set `EnableComponents` to `True` for edktool.
- define components in the entity definition.

You configure `EntityAdvancedFieldN` in a similar way to EntityFieldN. You set `EntityAdvancedFieldN` to a comma-separated list of advanced fields that you want to return. The value of the advanced field is the output of simple operations (`min`, `max`, `sum`, and `ave`) on the values of entity components.

For example, for the following configuration:

    Entity0=testgrammar/testentity
    EntityField0=FIELD0
    EntityAdvancedField0=OfferPrice:max(price1 price2),BidPrice:min(price1 price2)

And the following data:

    share price1 price2
    Com1  165    167
    Com2  1890   1880

An entity with the following pattern:

    <grammar name="testgrammar">
    <entity name="testentity" type="public">
    <pattern>(?A=price1:\d+)\s+(?A=price2:\d+)</pattern>
    </entity>
    </grammar>

Returns the following results as fields:

    #DREFIELD FIELD0="165 167"
    #DREFIELD OfferPrice="167"
    #DREFIELD BidPrice="165"
    #DREFIELD FIELD0="1890 1880"
    #DREFIELD OfferPrice="1890"
    #DREFIELD BidPrice="1880"

Type: | String
Default: | None
Required: | No
Configuration Section: | Any section that you have defined for Eduction settings
Example: | `Entity0=testgrammar/testentity EntityField0=FIELD0 EntityAdvancedField0=OfferPrice:max(price1 price2),BidPrice:min(price1 price2)`
See Also: | EntityN EntityZoneN

_FT_HTML5_bannerTitle.htm