== The Ad Hoc Editor ==__NOEDITSECTION__
[[File:MINT_adhoc_interface.png|center|900px]]
=== Fields and Measures ===__NOEDITSECTION__
Attributes available in the ad hoc interface (in the left-hand pane) are divided into two categories: '''fields''' and '''measures'''. Fields are non-numeric attributes, such as text and date, and measures are numeric attributes. The reason for the separation is that different operations/manipulations can be applied to these sets. In particular, custom fields can be created based on measures to which pre-defined functions are applied.
In the Calculated Measure window, the desired calculated field can be created by either entering a formula manually into the '''Formula''' text box, or by double-clicking on available attributes and functions and clicking on the proposed mathematical and logical operators such as '''+''', '''AND''', etc. The following example shows the calculation of the percentage difference between the manually entered area size of a land and the area calculated based on the polygon defined for the same land.
[[File:MINT_adhoc_new_calculated_measure.png|center]]
The resulting calculated measure '''areasize_calcarea_diff_percentage''' is then available in the list of measures and can be used in the ad hoc view. It is also possible to create hierarchies of calculated measures, i.e. using calculated measure in the definition of another one. This thus allows to define new attributes on-the-fly, based on available ones.
{{Note|These calculated measures are available only within the specific ad hoc view in which they are defined. If specific calculated measures should be available for all users and ad hoc views, then they should be created as calculated fields in the domain designer.}}
=== The main ad hoc pane ===__NOEDITSECTION__