Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Is it possible to publish Power Query functions?

Is it possible to publish&reuse Power Query custom functions (like datasets)?

 

For example, I want to publish and share fnSmartAndComplex function (and much more useful stuff), so everyone in organization can enjoy and reuse it in other reports?

 

DenisSipchenko_0-1665140353884.png

 

1 ACCEPTED SOLUTION
ImkeF
Community Champion
Community Champion

Hi @Anonymous ,
currently this is not possible via one central repository. You have to use M-Extensions (Create a function library in Power BI using M-Extensions – The BIccountant") .
They have to be installed on every machine that used Power BI Desktop to design the reports and to work in the Power BI service, they have to be used via a gateway.
But there is light on the horizon, MS is working on a more convenient method: Save and curate a personal query collection in Power Query | Microsoft Learn - not sure about the details though, how this will be implemented.

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

View solution in original post

1 REPLY 1
ImkeF
Community Champion
Community Champion

Hi @Anonymous ,
currently this is not possible via one central repository. You have to use M-Extensions (Create a function library in Power BI using M-Extensions – The BIccountant") .
They have to be installed on every machine that used Power BI Desktop to design the reports and to work in the Power BI service, they have to be used via a gateway.
But there is light on the horizon, MS is working on a more convenient method: Save and curate a personal query collection in Power Query | Microsoft Learn - not sure about the details though, how this will be implemented.

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.