This example demonstrates how to determine the value type when you calculate custom summary values in Pivot Grid for WPF.