title: How to use Maximum in Crystal reports
body: <p>i want to filter my rows and only select/ display my rows when the field AMSD135.AB is the latest date date in that group.</p>
  
  <p>So i got a report with some groups where the last group is grouped on AMSD135.AB. Now i created a formula to hide the section.</p>
  
  <pre><code>AMSD135.AB &lt;&gt; Maximum({AMSD135.AB}, {AMSD135.AB})
  </code></pre>
  
  <p>but i always get the following error message:</p>
  
  <pre><code>There must be a group that matches this field.
  </code></pre>
  
  <p>if i use </p>
  
  <pre><code>AMSD135.AB &lt;&gt; Maximum({AMSD135.AB})
  </code></pre>
  
  <p>it searches for the max in all rows.</p>