Better UX pratice for data filter

I'm actually working with a redesign of a desktop application. And one of my challenges are to design a filter system from a table based screen.

This is the actually design proposal from the designer who worked before me (language: Brazilian Portuguese):

Filters with the accordions closed: Filters with the accordions closed

Filters with 2 accordions opened: Filters with 2 accordions opened User's feedback: - At first look they didn't recognise this accordions as filters; - The separations of the items in categories doesn't work fine because different users use one filter of the first accordion and 2 of the third one. So the filter activity requires a lot of clicks on a lot of different accordions.

I want to know what is the best practice on filtering this kind of data. The filter has to be on the vertical format, and need to be a "Text Input" or a "Select Input" as the prints show.

Thanks for your time, and sorry about any english error.