Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Wiki Markup
{introducedin: 8.4}{description}

{excerpt}Returns the type of calculation used to determine the displayed value of a data field. The available types are determined by {{[ShowValueAs.ShowValueAsType]}}.{excerpt}

{signature:C#}
 public ShowValueAsType ValueType{ get; }
{signature}{signature:vb.net}
Public Property ValueType() As ShowValueAsType
{signature}

{remarks}
Value fields always return {{ShowValueAsType.Normal}}. You can check if a Pivot Table field is a value field with the IsValuesLabel Property

This is set using [SetShowValueAs()|EW8:ShowValueAs.SetShowValueAs (ShowValueAsType, SourceField, Int32)].
When calling SetShowValueAs(), certain ShowValueAsTypes use a source field as a base field and an index for one of the values in the data source column associated with the source field.
{remarks}