PivotFilterCollection.AddDateFilter

PivotFilterCollection.AddDateFilter method

Filters by date setting of row or column pivot field.

public PivotFilter AddDateFilter(int baseFieldIndex, PivotFilterType type, DateTime dateTime1, 
    DateTime dateTime2)
ParameterTypeDescription
baseFieldIndexInt32The index of field in the source.
typePivotFilterTypeThe type of filtering data.
dateTime1DateTimeThe date label of filter condition
dateTime2DateTimeThe upper-bound date label of between filter condition

See Also