How to change the inline view for different tables

Is there a way to show a different inline view depending on the parent table and/or view name? For example, I have a a deck inline view that I show with one parent, however, when it’s the inline view of a different parent, I want to show different columns in the deck. Both parent views are ‘detail’ so the Context(‘ViewType’) doesn’t work. Is there any way to do this (and avoid making a new slice) ?

Slices are the only way to do it as far as I know.