Forum:Switch inside a table

Hi, I am having difficulty adding a switch statement inside a table, this my code:

any idea what I am doing wrong?