Here you go:
Dishwasher detergent uses specially mixed formulas to reduce soap foaming or lathering. For the price of supplies to try to made some yourself, it may be more cost effective to purchase ready-made.
I made a post about how I make mine that I'd love to share with you - https://chascrazycreations.com/diy-household-cleaners/
If this is to go in a dishwasher - you have to stick with store bought. They are specially formulated. Making homemade soap from scratch on the other hand is an involved process, using tallow, ash and such.