There is a good Microsoft site for the Power Query M formula language reference. There is a lot of really useful information about the key functions of the language on that page, and I recommend it for anyone that is looking to do more with Advanced Power Query functions.
If you want a comprehensive lesson on how to use Power Query, checkout my training course here https://exceleratorbi.com.au/power-query-online-training/