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.
Failed to load latest commit information.
Wiki/Images Checking test results Sep 13, 2016
LICENSE MIT License Sep 13, 2016 Update Sep 20, 2017
power-query-extensions.pq Rename power-query-extensions.m to power-query-extensions.pq Sep 20, 2017

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


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.


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

Copy paste the contents from


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

5. Click on function names to see documentation!


6. Use it by referencing PBI[TheFunctionName]






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