I have a requirement where we can create filter based on line item so that we can export them.
There are five line items for example - Payroll tax, salary, overtime, incentive, and bonus.
The user should be able to check (using the new UX) which of the line items they want to export. Based on the checks, we shold be able to create a filter and save the view.
Maybe try using Line item subsets for your export module and set up filters for the LIS.
This solution will only work if your line items are number formatted. Here is a stepwise idea of what to do:
Hope this helps