State tax filing

I already have column B line 5 as zero.  When MN computes the tax using the Fed AGI, I'm looking for a way to take the RMD out of the tax calculation