Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.
Proud to be a Super User!
Awesome Keyboard Shortcusts in Power BI, thumbs up if you like the article
My Community Blog Articles (check them out!)
My Blog - Power M code to automatically detect column types -
How to create test data using DAX!
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/
Proud to be a Super User!
Awesome Keyboard Shortcusts in Power BI, thumbs up if you like the article
My Community Blog Articles (check them out!)
My Blog - Power M code to automatically detect column types -
How to create test data using DAX!
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
Proud to be a Super User!
Awesome Keyboard Shortcusts in Power BI, thumbs up if you like the article
My Community Blog Articles (check them out!)
My Blog - Power M code to automatically detect column types -
How to create test data using DAX!
Check out the July 2025 Power BI update to learn about new features.