What is the syntax needed for mapping strings to int values on the new table?

In this post - I want to know the syntax needed to add mappings using the new table as the legacy table is lacking in features.

just wrap them with {{ }}

image
I am pulling my data in from a resource query for context. What am I doing wrong here?

pls offer screenshot of your datasource of table. more details will hekp me to understand your case

Screenshot 2023-09-15 at 12.18.05 PM
I am doing a resource query that combines 4 separate tables

Change this to String, it may works.