Can an IRA distribution that was sent directly to charity be changed to a charitable deduction on schedule A?

I gave a QCD directly to charities from my RMD and get $2000 less back than when I list all as charitable deductions that I gave from my RMD. TT will not enter information correctly as only basis in Form 8606 after I use the taxable amount in the QCD. It breaks it down into %taxable and %nontaxable, which is correct when I do not use a QCD. How do I get only the basis left into Schedule A?