I'm looking to create a Trellis container that allows the user to dynamically change the dimension of the Trellis. This is a bit of a rabbit-hole so follow me.
I create a line chart, which I make into a Master Viz. Dimension: Hour of Day (not continuous). Measure: Count($(vDimSetFull) sales_total).
I create a Trellis container, with advanced mode. The dimension is driven by a variable, $(vDimToggle_TableBreakdown). I know for sure that the dimension toggle works because it is driving other visualisation on the same page, i.e. changing the dimension of a bar chart, etc...
However, when switching different dimensions, the Trellis container breaks, and no longer shows anything. The bar chart, that is driven by the same variable, works. So it's not an issue with the variable or dimension breakdown, but an issue with the Trellis container.
I've been looking through the forums, there seems to be a whole host of problems with the Trellis container in general (no filtering, no native support for calculated dimensions or measure, etc...). However this is issue of dynamically choosing the dimension to breakdown the Trellis by is not one I've seen.