Click on the 'Advanced' button:
Line items can be filtered on whether:
A purchase order has or hasn't been placed for an item.
An item has or hasn't been received from the supplier.
An item has or hasn't been delivered to the customer.
An item has had stock allocated.
Has specific tags.
Use the eraser icon to clear all the filters.