Only show when using a slice

I want a handful of my virtual columns to only display when using a certain slice, do I have to use 2 slices with custom sets of columns or can I do this from my show if formula with only 1 slice?
(Would rather do it in show if should that be possible)

1 Like

A column’s Show_If isn’t aware of the underlying slice, so you’d have to base the expression on something else, like the view name (CONTEXT("View"))

1 Like

Unfortunate :pensive:
CONTEXT(“TABLE”) feature request :thinking:

It already exists, but it returns the table, not the slice (when last I tested).

Hm…CONTEXT(“SLICE”) doesn’t make a ton of sense since there might not be a slice involved. Oh well, I’ll just deal with making sure my slice column list are correct.

1 Like