If you didn't comply with your Chapter 13 plan resulting in its dismissal, you should get credit for payments made during that time but not the benefit of the reduction of your debt which would have resulted from your completion of the plan.