This is a migrated thread and some comments may be shown as answers.

PercentOfColumnTotal has NAN

0 Answers 36 Views
PivotGrid
This is a migrated thread and some comments may be shown as answers.
준완
Top achievements
Rank 1
준완 asked on 22 Oct 2018, 07:12 AM

Hi

 

The zero data caused NAN case.

Please check the data of the attached file.

Is there any way to remove NAN?

 

My code.

dataprovider.AggregateDescriptions.Add(new PropertyAggregateDescription()

{

PropertyName = "AAA",

AggregateFunction = AggregateFunctions.Sum,

TotalFormat = new PercentOfColumnTotal()

});

No answers yet. Maybe you can help?

Tags
PivotGrid
Asked by
준완
Top achievements
Rank 1
Share this question
or