In the begining i also faced and worried about this kind of problem , later understood it is normal.
In my App I have a pivot table that disappears completely when there is no data associated with the selections made.
you should not expect the column headers and filters (top left corner of pivot table) to still show.
pivot table disappears this is expected.
Nothing unusual it is.
this Might be Helpful to get understand the table.