Various M Queries that you can use to make life easy-peasy
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Wiki/Images
CONTRIBUTING.md Checking test results Sep 13, 2016
LICENSE MIT License Sep 13, 2016
README.md Update README.md Sep 20, 2017
power-query-extensions.pq Rename power-query-extensions.m to power-query-extensions.pq Sep 20, 2017

README.md

Extension Functions for Power BI Desktop and Excel

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.

Getting Started

1. Create a blank query

New Blank Query

2. Open the advanced editor

AdvancedEditor

3. Paste in the library

Option 1: Always get the latest from GitHub - Requires data privacy considersations

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)

Option 2: Copy the current version locally - No issues with data privacy

Copy paste the contents from https://raw.githubusercontent.com/tnclark8012/Power-BI-Desktop-Query-Extensions/master/power-query-extensions.pq

AdvancedEditor

4. Name the query something short and sweet (like "PBI")

5. Click on function names to see documentation!

Create

6. Use it by referencing PBI[TheFunctionName]

Before:

Create

After:

Create

Contributing

The more the merrier! Be sure to document your function and include a test