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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
stevedep
Memorable Member
Memorable Member

Always execute last Power M statement in Visual Studio or Power Query / Power BI

Hi,

 

It would be great to have a function that accepts a function and always execute the last statement. This would speed up development significantly. Any thoughts on how to approach this?

 

I am coding in Visual Studio (Power Query SDK). Its faster than using the editor in Power BI, but not fast enough.

 

Looking forward to your thoughts.

 

Kind regards, 

 

Steve. 

3 REPLIES 3
stevedep
Memorable Member
Memorable Member

Hi,

This website is an inspiration to create something like requested. Will give it a try once I have some more time. 

https://xxlbi.com/blog/switch-true-in-power-query/

 

v-stephen-msft
Community Support
Community Support

Hi @stevedep ,

 

Did you mean the recursive functions in Power Query? Please kindly refer to

Recursive Functions in Power BI / Power Query — The Power User.

Fibonacci Sequence: Understanding the Power Query Recursive Function for Power BI - RADACAD

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks for your reply. No, what I am looking for is:

function a (par function b) => execute last statement of of b

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

Top Solution Authors
Top Kudoed Authors