PivotDataProcessData Method (IPivotData, String)

NReco.PivotData Class Library Documentation
Processes data from the specified IPivotData instance and calculates PivotData values

Namespace:  NReco.PivotData
Assembly:  NReco.PivotData (in NReco.PivotData.dll) Version: 1.3.6.0 (1.3.6.0)
Syntax

public void ProcessData(
	IPivotData data,
	params string[] aggregatorNames
)

Parameters

data
Type: NReco.PivotDataIPivotData
input data represented by IPivotData instance
aggregatorNames
Type: SystemString
field names for accessing aggregator values
Remarks

This overload allows to use values of another data cube as input.
Examples

Lets assume that we need to calculate average over values that are calculated in another cube:
IPivotData sourcePvtData; // dimensions: "month", "store" and one sum measure
var pvtData = new PivotData(new[] {"store"}, new AverageAggregatorFactory("value") );
pvtData.ProcessData(sourcePvtData, "value");
See Also

Reference