Module Values_1.TopicCalculatedFieldSource

A structure that represents a calculated field.

Sourcetype nonrec t = {
  1. calculatedFieldName : Values_0.LimitedString.t;
    (*

    The calculated field name.

    *)
  2. calculatedFieldDescription : Values_0.LimitedString.t option;
    (*

    The calculated field description.

    *)
  3. expression : Values_0.Expression.t;
    (*

    The calculated field expression.

    *)
  4. calculatedFieldSynonyms : Synonyms.t option;
    (*

    The other names or aliases for the calculated field.

    *)
  5. isIncludedInTopic : Values_0.Boolean.t option;
    (*

    A boolean value that indicates if a calculated field is included in the topic.

    *)
  6. disableIndexing : NullableBoolean.t option;
    (*

    A Boolean value that indicates if a calculated field is visible in the autocomplete.

    *)
  7. columnDataRole : ColumnDataRole.t option;
    (*

    The column data role for a calculated field. Valid values for this structure are DIMENSION and MEASURE.

    *)
  8. timeGranularity : Values_0.TopicTimeGranularity.t option;
    (*

    The level of time precision that is used to aggregate DateTime values.

    *)
  9. defaultFormatting : DefaultFormatting.t option;
    (*

    The default formatting definition.

    *)
  10. aggregation : DefaultAggregation.t option;
    (*

    The default aggregation. Valid values for this structure are SUM, MAX, MIN, COUNT, DISTINCT_COUNT, and AVERAGE.

    *)
  11. comparativeOrder : ComparativeOrder.t option;
    (*

    The order in which data is displayed for the calculated field when it's used in a comparative context.

    *)
  12. semanticType : SemanticType.t option;
    (*

    The semantic type.

    *)
  13. allowedAggregations : AuthorSpecifiedAggregations.t option;
    (*

    The list of aggregation types that are allowed for the calculated field. Valid values for this structure are COUNT, DISTINCT_COUNT, MIN, MAX, MEDIAN, SUM, AVERAGE, STDEV, STDEVP, VAR, VARP, and PERCENTILE.

    *)
  14. notAllowedAggregations : AuthorSpecifiedAggregations.t option;
    (*

    The list of aggregation types that are not allowed for the calculated field. Valid values for this structure are COUNT, DISTINCT_COUNT, MIN, MAX, MEDIAN, SUM, AVERAGE, STDEV, STDEVP, VAR, VARP, and PERCENTILE.

    *)
  15. neverAggregateInFilter : Values_0.Boolean.t option;
    (*

    A Boolean value that indicates whether to never aggregate calculated field in filters.

    *)
  16. cellValueSynonyms : CellValueSynonyms.t option;
    (*

    The other names or aliases for the calculated field cell value.

    *)
  17. nonAdditive : NullableBoolean.t option;
    (*

    The non additive for the table style target.

    *)
}
Sourceval context_ : string
Sourceval make : ?calculatedFieldDescription:??? -> ?calculatedFieldSynonyms:??? -> ?isIncludedInTopic:??? -> ?disableIndexing:??? -> ?columnDataRole:??? -> ?timeGranularity:??? -> ?defaultFormatting:??? -> ?aggregation:??? -> ?comparativeOrder:??? -> ?semanticType:??? -> ?allowedAggregations:??? -> ?notAllowedAggregations:??? -> ?neverAggregateInFilter:??? -> ?cellValueSynonyms:??? -> ?nonAdditive:??? -> calculatedFieldName:Values_0.LimitedString.t -> expression:Values_0.Expression.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Values_0.Boolean.t | `Enum of string | `List of [> `Enum of string | `String of Values_0.LimitedString.t | `Structure of (string * [> `List of [> `String of Values_0.String_.t ] list | `String of Values_0.LimitedString.t ]) list ] list | `String of Values_0.LimitedString.t | `Structure of (string * [> `Enum of string | `List of [> `String of Values_0.String_.t ] list | `Map of ([> `String of Values_0.LimitedString.t ] * [> `String of Values_0.LimitedString.t ]) list | `String of Values_0.LimitedString.t | `Structure of (string * [> `Boolean of Values_0.Boolean.t | `Enum of string | `Integer of Values_0.Integer.t | `String of Values_0.LimitedString.t | `Structure of (string * [> `String of Values_0.LimitedString.t ]) list ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t