Basic Case Statement

I’m having difficulty getting a seemingly simple case statement to work. Getting the following error when running:
“-- raw sql results do not include filled-in values”
Can anybody tell me why? Here is the code:

dimension: product_description {
case: {
when: {
sql: ${product_sku_dimension}=“abc123”;;
label: “abc”
}
when: {
sql: ${product_sku_dimension}=“xyz789”;;
label: “xyz”
}
else: “other”
}
}

0 7 3,579
7 REPLIES 7
Top Labels in this Space
Top Solution Authors