Custom report: how can I add a filter for a dbAlias field?
Jake sent me this - posting it here for save keeping!

 'total_amount_sum' =&gt;
    array('title' =&gt; ts('Aggregate Contribution Amount'),
      'type' =&gt; CRM_Report_Form::OP_INT,
      'dbAlias' =&gt; 'civicrm_contribution_amounts_ytd',
      'having' =&gt; TRUE,
    ),