Dish Cleaner Machine

Ok so ive constantly bought cleaning solution for my carpet cleaner, but ive been told by a lot of ppl that if i mix a tiny bit of dish soap and hot water that it does the same job.Is this going to put so much residue on my carpet its gonna turn out nasty or will this work just the same so anyone who may have tried it before let me know.