Is This Content Helpful?
How can we make this better? Please provide as much detail as possible.
Contact our Support Team
When IDataStatistics.UniqueValueCount is called on the DataStatistics object, before IDataStatistics.UniqueValues is called, it returns a value of zero even though there may be unique values.
This is because the internal variable holding the UniqueValueCount is not populated until UniqueValues has been called.
Call IDataStatistics.UniqueValues prior to calling IDataStatistics.UniqueValueCount.