Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Excerpt

Counts the distinct occurrences of an certain value of an column. This functionality is similar to the SQL distinct() function.

Example

Code Block
xml
xml
<function class="org.jfree.report.function.CountDistinctFunction" name="Cnt_Dstnct_USA">
  <properties>
    <property name="field">Country</property>
    <property name="group">Product</property>
    <property name="value">USA</property>
  </properties>
</function>