Skip to main content

Power BI

New

Import M Code extensions from a Power Query Gallery

Vote (6) Share
Chris Aragao's profile image

Chris Aragao on 01 Sep 2024 15:59:22

BLUF: The idea is to create the functionality in Power BI Desktop, Fabric, Power Platform and wherever else, to create parity between Power Shell and Power Query by creating a Power Query Gallery and allowing developers to (1) publish M extensions to the gallery, and (2) import M extensions to either Power BI, Fabric or Power Platform.


DISCUSSION:


  • The Power Shell Community is able to use the Power Shell Gallery to publish and share Power Shell code
  • Install a library is straightforward and my productivity with Power Shell is greatly increased by it
  • Power Query (M) does not have similar support, but I venture to guess that the community would come together to support it if functionality was there to support it
  • Power Query Extensions provide a way to add custom M code to pbix file currently, although I am not sure it is widely used


IDEA:


  • Create functionality where M is used to import extension files to wherever it needs to go so that you can use custom extensions easily whenever M is used.
  • Similar to the concept of an environment in Python, the code could be local to the project (.pbip), the workspace, or the solution (Power Platform dataflows).
  • For Power BI desktop, create the functionality to easily search the Power Query gallery and import extensions to your project or add extensions that are global for your Fabric workspace
  • For Fabric/Power BI Service workspaces, create the functionality to easily add packages that are global for that workspace and well as easily searching the Power Query gallery and importing extensions
  • For Power Platform, create the functionality to add M extensions to your solution for the Power Query Gallery and any dataflows in that solution should be able to use functions in that extension


Comments (1)
Chris Aragao's profile image Profile Picture

Chris Aragao on 02 Sep 2024 21:34:46

RE: Import M Code extensions from a Power Query Gallery

Some related ideas:Global Function Repository (5 votes): https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=975a5c5a-87aa-eb11-89ee-501ac50a7898Ability to create a library of M functions (4 votes): https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=e08b2527-7bb9-4133-9d13-0c01fb4b85b0Create user functions (49 votes): https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=23bd6eac-0579-44e9-a800-c075dcba2a85Import Queries from Text Files (5 votes): https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=5c814a63-8aa0-48fd-bd70-f36d5dcfdf3aAdd Power Query as a datasource (3 votes): https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=7b82f8b8-675e-ec11-a3ef-281878e608e9Integrate VS Code with Advanced Editor (32 votes): https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=651c364a-aec5-467e-bb0d-6ea5cc194e30Improved Power Query M Editing (6 votes): https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=fb02428b-ab3e-eb11-8fed-501ac5245619