Open your map, and click the Black plus sign in the Functions column.
Pick a Category and function type and click OK.
Configure the defaults, and any caching that is desired for this function. The dialog will look different depending on which function type you chose.
Drag and drop fields from your source profile into your functions inputs. Then drag and drop fields from your function outputs to your destination profile.