Filter row and columns, horizontally and vertically

I wish to migrate to LibreOffice and I wish to migrate with all my workflow.

I recently found this method with Excel VBA to filter vertically, I wish to know if this is possible in LibreOffice.

image

And the answer for calc is:
use Pivottable[s]

1 Like