'Declaration Public Property CalculationScope As CalculationScope
public CalculationScope CalculationScope {get; set;}
CalculationScope controls whether to use data from all records or just the visible records when calculating summaries. This is particularly impactful when using record filtering functionality is enabled. If this property is set to FilteredSortedList then as records are filtered, summaries will be recalculated based on data from the filtered records (visible records).
This property also controls the order in which data is aggregated into a summary calculation. Note that for all the built-in summaries the order does not result in different calculation results since the underlying calculations do not rely upon the order of aggregated values.
Note: if unset this property will resolve to CalculationScope.FilteredSortedList unless the AssumeFilteredOutUntilInitialCalculationsComplete property is set to true, in which case it will resolve to CalculationScope.FullSortedList. Also if this property is explicitly set to CalculationScope.FilteredSortedList then AssumeFilteredOutUntilInitialCalculationsComplete setting is ignored and will resolve to false.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2