Table report filter by Jira StatusCategory

Hi,
I’m trying to get a table report using StatusCategory as a filter page, but doesn’t work, I mean, if I select for example “In Progress”, the other issues with category status “To Do” and “Done” it doesn’t dissapear.
Does anyone know the solution for this?
Thanks
Javier