Portugal beat Denmark 5-3 on aggregate to reach the Nations League semifinals with Cristiano Ronaldo scoring a important goal after having missed a penalty earlier.