How to make compressible table in Looker from visualisation?

It looks like your link got removed.

If you are talking about the expand collapse functionality described in this Looker Studio Doc, then Looker’s subtotal as I described is the closest thing.

Out of curiosity, is there a reason the subtotals in Looker doesn’t quite work for you, or why you prefer the Looker Studio expand-collapse?