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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
smpa01
Super User
Super User

function enable staging

Is it possible to create a utility dataflow to define all reusable functions and reference that utility in any dataflow that requires them? Similar to how scripting works in JavaScript or Python.

 

Currently, the only alternative is to rewrite the same function separately in each dataflow, since there is no way to define it once and reuse it across dataflows. This makes the process extremely cumbersome and inefficient, as the functions have to be manually duplicated every time.

 

 

smpa01_0-1745957598409.png

 

 

 

@AlexisOlson @ImkeF @imkefeldmann 

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs
1 ACCEPTED SOLUTION
miguel
Community Admin
Community Admin

Not something that we support today, but it does sound like a good idea! 

please do feel free to post the idea in the Fabric Ideas portal:

https://aka.ms/FabricIdeas

View solution in original post

4 REPLIES 4
ImkeF
Community Champion
Community Champion

Yes, being able to reuse functions is a year-old dream of many Power Query fans that must have many different entries in the idea-section by now.
I don't specifically care how this is implemented - would be happy with just something that works...

 

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

smpa01
Super User
Super User

if you happen to come across this post, please vote for this idea 

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs
miguel
Community Admin
Community Admin

Not something that we support today, but it does sound like a good idea! 

please do feel free to post the idea in the Fabric Ideas portal:

https://aka.ms/FabricIdeas

lbendlin
Super User
Super User

It is possible to load a list of functions into #shared but that is something you need to do manually for each semantic model. So it kinda defeats the purpose.

Helpful resources

Announcements
Fabric July 2025 Monthly Update Carousel

Fabric Monthly Update - July 2025

Check out the July 2025 Fabric update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors