WhilePrintingRecords worked! Thank you!!
However, after all of that, I noticed a fundamental flaw in this whole thing. The DCNs are not in order because it is grouped bt Error Type, so if one DCN has 2 different error types, they are not going to be listed together anyway, so comparing the DCN to the previous isn't going to work...
It's so frustrating because I can see what the distinct count of the total is, but I cant use it!
Thanks for all your help.
I think I'm going to have to tell the business team that I cannot provide the percentage of DCNs.