Create it as a calculated attribute instead of a calculated measure!
In the latest revisions, the terminology is "calculated column", and within it, select the column type as "attribute". Also make sure to mark it as attribute in the Semantics view.
Create it as a calculated attribute instead of a calculated measure!
In the latest revisions, the terminology is "calculated column", and within it, select the column type as "attribute". Also make sure to mark it as attribute in the Semantics view.