Hi community!
I’m working on a project using the SA 360 looker block and I’m trying to use constants to make the model used in the dashboards dynamic. I have these strange warnings show up when I replace the code “model: sa360_block” with “model: "@{MODEL_NAME}"” in my LookML, even though the value of my constant MODEL_NAME is sa360_block and thus it should not matter for the dashboard whether I write the name of the model or the name of the constant. Am I right in thinking that Looker should treat the code exactly the same as long as the constant MODEL_NAME = sa360_block?
To test it out I built a less complex dashboard and there it worked just fine to use the constant "@{MODEL_NAME}" instead.
Has anyone had issues with this before, or tried to do something similar using the SA 360 looker block?
See below the errors I’m getting all over my dashboard LookML when using the constant instead of just plainly the name.

Would appreciate all input!
/Elin
Best answer by margaret.abercrombie
View original