We had to use this:{portfolioMM|portfolio}.{name}
{programMM|program}.{name}I ended up creating custom calculated fields for both Portfolio and Program so that future use within other calculated fields and forms is easier. Now in other fields we just use {DE:Portfolio Name}
{DE:Program Name}