cube icon indicating copy to clipboard operation
cube copied to clipboard

Dynamic labels in case/when members are not supported in YAML

Open igorlukanin opened this issue 1 year ago • 1 comments

Describe the bug A measure or dimension defined with the case/when statement and dynamic labels (meaning they use interpolation) is not supported. However, the docs say the opposite.

@paveltiunov has confirmed it was community-contributed, works in the JavaScript data schema syntax but doesn't work in the YAML syntax.

Minimally reproducible Cube Schema Screen Shot 2023-01-20 at 23 34 35

Expected behavior The schema compiles and everything works.

What really happens: Screen Shot 2023-01-20 at 23 34 39

What's written in docs: Screen Shot 2023-01-20 at 23 44 50

Version: 0.31.65

igorlukanin avatar Feb 27 '23 12:02 igorlukanin