[Invoiced]="Y" and [SalesAnalysis]<>"X"