These dimensions/expressions variables contain only strings and are no objects and should be therefore not declared with "set". I'm not sure if Qlik needs here the double-quotes arounds the variable but you could try it if it's not working so far with: