The datatype used to define columns in temporary tables for objects defined with multiple inputs such as an applysimple statement are determined by the datatype of the first object listed in the object definition in Strategy. This true in any case where an explicit datatype is required.
An example of this behavior is as follows:
A project contains two facts:
This project contains two metrics:
A temporary table created for Metric_1 will have a column with an integer datatype. Conversely, a temporary table created for Metric_2 will have a column with a float datatype. Note that the expression used in the two metrics result in the same calculation. The only difference is the order in which the facts are presented.