All Projects → sio → LibPQ

sio / LibPQ

Licence: Apache-2.0 License
Detach your M code from workbooks to reuse it! Import modules from local or web storage (unlimited number of sources)

Programming Languages

javascript
184084 projects - #8 most used programming language
vba
158 projects
python
139335 projects - #7 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to LibPQ

datapackage-m
Power Query M functions for working with Tabular Data Packages (Frictionless Data) in Power BI and Excel
Stars: ✭ 26 (-52.73%)
Mutual labels:  excel, power-bi, power-query, powerbi
PowerBI-book-ru
Проект открытого методического пособия по Power BI, Power Query, Power Pivot
Stars: ✭ 76 (+38.18%)
Mutual labels:  power-bi, power-query, powerbi, powerquery
PowerQueryNet
Run M Language (Power Query Formula Language) from anywhere.
Stars: ✭ 146 (+165.45%)
Mutual labels:  excel, powerbi, powerquery
Power-Query-Excel-Formats
A collection of M code to get various formats from Excel sheets in Power Query
Stars: ✭ 43 (-21.82%)
Mutual labels:  excel, powerbi, powerquery
FlowViz
A Power BI template that provides easy to understand, actionable flow metrics and predictive analytics for your agile teams using Azure DevOps, Azure DevOps Server and/or TFS.
Stars: ✭ 150 (+172.73%)
Mutual labels:  power-bi, powerbi
OregonCore-Modules
Modules made for Oregoncore
Stars: ✭ 18 (-67.27%)
Mutual labels:  module, modules
laravel-admin
Laravel Admin panel with theme , modules ,artisan commands and helper classess.Laravel admin boilerplate with theme and modules
Stars: ✭ 22 (-60%)
Mutual labels:  module, modules
PowerQueryConnectors
A collection of data connectors for Power BI
Stars: ✭ 30 (-45.45%)
Mutual labels:  powerbi, powerquery
Html Sass Babel Webpack Boilerplate
Webpack 4 + Babel + ES6 + SASS + HTML Modules + Livereload
Stars: ✭ 35 (-36.36%)
Mutual labels:  module, modules
RandomProxyRuby
Tiny Library for get random proxy (free).
Stars: ✭ 16 (-70.91%)
Mutual labels:  module, modules
powerbi-vcs
WIP (properly) version control and collaborate on your *.pbi{tx} files
Stars: ✭ 78 (+41.82%)
Mutual labels:  power-bi, powerbi
powerbi
Repository with links and files for using in PowerQuery and PowerBI
Stars: ✭ 32 (-41.82%)
Mutual labels:  powerbi, powerquery
awesome-power-bi
⭐️⭐️⭐️ Awesome Power BI dashboards, visuals, development resources, learning materials and more 🔥🔥🔥
Stars: ✭ 61 (+10.91%)
Mutual labels:  power-bi, powerbi
Data-Science
Using Kaggle Data and Real World Data for Data Science and prediction in Python, R, Excel, Power BI, and Tableau.
Stars: ✭ 15 (-72.73%)
Mutual labels:  excel, powerbi
Depject
simplest dependency injection
Stars: ✭ 90 (+63.64%)
Mutual labels:  module, modules
m-custom-functions
This library contains created mostly pure M-functions without any other languages.
Stars: ✭ 24 (-56.36%)
Mutual labels:  powerbi, powerquery
Resolve
Implements the node.js require.resolve() algorithm
Stars: ✭ 622 (+1030.91%)
Mutual labels:  module, modules
Jcnavigator
A decoupled navigator framework of jumping between modules or apps for iOS development.
Stars: ✭ 33 (-40%)
Mutual labels:  module, modules
shopyo
shopyo.readthedocs.org
Stars: ✭ 66 (+20%)
Mutual labels:  module, modules
nuxt-modules
AX2's Nuxt modules
Stars: ✭ 30 (-45.45%)
Mutual labels:  module, modules

LibPQ - detach your M code from workbooks and reuse it!

This project offers a collection of functions and useful queries for Power Query Formula Language (also known as M language) and a loader to import source code from external modules into Power Query.

Feature highlights

More information

What other people say about LibPQ

Installation and usage

Copy source code to the filesystem (optional)

Download the contents of this repo and extract it anywhere you want. If you skip this step you will not be able to list all available modules with LibPQ() call and every time you load a module LibPQ will access the network.

Add LibPQ to the workbook

Create two blank queries in your workbook:

  • LibPQ - copy the contents of LibPQ.pq verbatim
  • LibPQPath - provide location of modules source code (local and/or web). See sample at LibPQPath-sample.pq

Import LibPQ modules when writing your queries

Import any of the available modules via LibPQ("modulename") when writing your queries in Advanced Editor.

To import all modules available locally use LibPQ() with no arguments (or null). That will return a record where keys are module names and values are the results of loading those modules (function object or output of a query).

LibPQ modules

All modules are grouped into namespaces, much like the standard library:

  • Date - Functions for working with dates
  • Factory - Functions that create other functions
  • Folder - Functions for manupulating folders and their contents
  • Function - Functions that operate on other functions
  • List - Functions for working with lists
  • Module - LibPQ tools for importing source code
  • Read - Functions that import data
  • Table - Functions for table operations
  • Tests - Unit tests for LibPQ modules
  • Text - Functions for working with text
  • UnitTest - Unit testing framework

Detailed module list is available in documentation, and each module has a clear description in the comment at the top of its source file.

Compatibility with @tycho01's library

LibPQ allows specifying multiple possible locations for source code, that's why you can add @tycho01's library as a fallback.

Any module from that library should be supported, though some will require adding a Load query to your workbook. To create a Load alias for LibPQ you need to:

  • Create a new blank query
  • Replace all its code with text LibPQ
  • Save the query under the name Load

Now the Load function will be available from #shared context, and you should be able to import any module from @tycho01's library.

Contributing

All contributions are welcome! Please check CONTRIBUTING.md for details

Support

Issue tracker

GitHub's issue tracker is the primary venue for asking and answering support questions. Please don't forget to search closed issues for the topic you're interested in!

If you know an answer to the question asked by someone else, please do not hesitate to post it! That would be a great help to the project!

Email

If for some reason you'd rather not use the issue tracker, contacting me via email is OK too. Please use a descriptive subject line to enhance visibility of your message. Also please keep in mind that support through the channels accessible to the public is preferable because one answer can help many people who might read it later.

My email is visible under the GitHub profile and in the commit log.

Community support

You might get faster and more interactive support from other users.

This project does not (yet) have a dedicated community venue, but experienced PowerBI/Power Query users will most likely be able to figure out most common questions. You can try asking at the local PowerBI-related forums, Facebook groups, IRC/Discord/Telegram chats or on Reddit/StackOverflow.

License and copyright

Copyright © 2017-2021 Vitaly Potyarkin

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use these files except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].