Finally! Power Platform Lets You Reuse Code Without Copy-Pasting 💡
Pragmatic Works
0:00 / 0:00
Finally! Power Platform Lets You Reuse Code Without Copy-Pasting 💡
2 246 просмотров · 1 г. назад
Pragmatic Works
343 тыс. подписчиков
2 246 просмотров · 1 г. назад
Say goodbye to copy-pasting your logic! The days of rebuilding the same complex expressions in every Power Automate flow are over. In this tutorial, we dive into the game-changing Power Fx Functions in Dataverse—a feature that lets you write reusable code ONCE and call it from anywhere in the Power Platform.
If you've ever struggled to sum an array of numbers in a flow or spent hours trying to build a reliable "next business day" calculator, this video is for you. We'll show you how to centralize that complex logic into a simple, reusable function that you can call from any Power Automate flow OR Power App, ensuring consistency and saving you a massive amount of development time.
✅ IN THIS VIDEO, YOU WILL LEARN:
➡️What Power Fx Functions are and why they are a game-changer for developers.
➡️How to find and enable this powerful new preview feature (including a URL hack!).
➡️A step-by-step guide to creating a function that can sum a list of numbers—a notoriously tricky task in Power Automate.
➡️How to build a robust "Get Next Business Day" function that correctly skips weekends.
➡️The modern, efficient way to call your reusable code from both Power Automate and Power Apps.
➡️ CHAPTERS:
00:00 - The Problem: Why You're Tired of Copy-Pasting Code
00:27 - How to Find Power Fx Functions in the Power Platform
00:50 - The Secret URL to Access Functions if they're hidden
01:08 - Use Case 1: Summing an Array of Numbers in Power Automate
02:05 - The Old Way: Looping to Sum a Variable
03:31 - The New Way: Creating a Reusable "Sum" Function with Power Fx
07:03 - Calling Your Custom Function from a Power Automate Flow
10:02 - BONUS: How to Call Your Function from a Power App
12:25 - Use Case 2: Calculating the Next Business Day
13:35 - Creating the GetNextBizDay Function (with a Switch statement!)
16:58 - Final Thoughts & What This Means for Your Projects
#PowerPlatformFunctions #PowerPlatform #PowerAutomate #PowerApps #PowerFX #PragmaticWorks
➡️ LEARN MORE WITH US
Start your learning journey with our FREE Community Plan: https://prag.works/odl-trial-yt
🔗Pragmatic Works On-Demand Learning Packages: https://pragmaticworks.com/pricing/
🔗Pragmatic Works Boot Camps: https://pragmaticworks.com/boot-camps/
🔗Pragmatic Works Hackathons: https://pragmaticworks.com/private-tr...
🔗Pragmatic Works Virtual Mentoring: https://pragmaticworks.com/virtual-me...
🔗Pragmatic Works Enterprise Private Training: https://pragmaticworks.com/private-tr...
🔗Pragmatic Works Blog: http://blog.pragmaticworks.com/
⏰ Video Chapters ⏰
00:00 - What Are Power Platform Functions?
00:39 - How to Find and Enable Power Platform Functions (Preview)
01:19 - Use Case 1: Summing Values with a Power Platform Function
01:58 - The Old Way: Summing an Array in Power Automate
03:43 - Creating Your First Power Platform Function with Power FX
07:04 - Calling Your New Function from Power Automate
10:18 - Calling Power Platform Functions from Power Apps
12:27 - Use Case 2: Calculating the Next Business Day
13:59 - Writing the Get Next Business Day Power FX Formula
16:27 - Testing the Get Next Business Day Function
18:36 - Your Turn: What Will You Build?
Let's connect:
✔️Discord: https://prag.works/yt-discord
✔️Facebook: https://prag.works/yt-fb
✔️Instagram: https://prag.works/yt-insta
✔️LinkedIn: https://prag.works/yt-li
Pragmatic Works
7175 Hwy 17, Suite 2 Fleming Island, FL 32003
Phone: (904) 638-5743
Email: training@pragmaticworks.com
#pragmaticworks #fyp