PBI Desktop (and Excel 2016) Query Functions that you can use to make life easy-peasy. Submit issues or pull requests for functions you'd like to see added. Most functions are self-documenting, and new documentation is being added all the time.
Copying the below will give you the latest versions and all times. You can connect with anonymous credentials. Be sure to set the data privacy level appropriately when prompted.
Expression.Evaluate(Text.FromBinary(Web.Contents("https://raw.githubusercontent.com/tnclark8012/Power-BI-Desktop-Query-Extensions/master/power-query-extensions.pq")),#shared)
Copy paste the contents from https://raw.githubusercontent.com/tnclark8012/Power-BI-Desktop-Query-Extensions/master/power-query-extensions.pq
The more the merrier! Be sure to document your function and include a test