show_values_as method

show_values_as

Show value of data field as different display format when the ShowDataAs calculation is in use.

def show_values_as(self, display_format, base_field, base_item_position_type, base_item):
    ...
ParameterTypeDescription
display_formatPivotFieldDataDisplayFormatThe data display format type.
base_fieldintThe index to the field which ShowDataAs calculation bases on.
base_item_position_typePivotItemPositionTypeThe position type of base iteam.
base_itemintThe index to the base item which ShowDataAs calculation bases on.
Only works when baseItemPositionType is custom.

Remarks

Only for data field.

See Also