You can do this with just the menu as well. Go to compute variable and create an expression it will automatically create it