Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Introduction
Power BI has traditionally been a powerful tool for analytics and reporting. However, when users need to modify data (write-back) or trigger automated actions like approving a purchase order after reviewing a sales report, these tasks typically require external tools like Power Automate or are left unimplemented due to complexity.
With the preview release of Translytical Task Flow, Power BI now supports both analytical and transactional use cases within the same experience. This opens up new possibilities for interactive, action-driven reporting. Let’s explore how it works and how it enhances the end-user experience.
What is Fabric User Data Function (UDF)?
To understand Translytical Task Flow, we first need to understand Fabric User Data Functions (UDFs), the core engine behind this capability.
Fabric UDFs allows you to write custom business logic in Python (runtime 3.11.9), using public libraries from PyPI. For example, if a sales representative wants to approve a purchase order directly from a Power BI report, the logic behind that action is handled by a UDF.
Best Practices for Writing UDFs
To ensure a smooth user experience, follow these guidelines:
With UDFs, you can now embed transactional logic directly into your Power BI reports - bridging the gap between insight and action.
Designing the Report Page
To support transactional flows, your report needs a simple UI for user inputs and triggers action. Power BI now includes:
This setup allows users to interact with the report, provide input, and initiate actions - all within the Power BI interface.
Example: Enabling Data Write-Back in Power BI with Translytical Task Flow
With Translytical Task Flow, Power BI developers can now implement a wide range of interactive use cases that were previously difficult or required external tools. One of the most requested features, data write-back is now achievable directly within Power BI.
Implementing Data Write-Back
Here’s how to implement a simple data write-back scenario using Translytical Task Flow:
Start by creating a SQL database in the Fabric portal where your data will be stored or modified.
Write your Python logic to handle the write-back operation. You can refer to this example code snippet for guidance.
https://gist.github.com/Sujata994/c354ec8d0821e875e45c86f2bd1d5cc8#data-annotation
Once configured, clicking the button will trigger the UDF, execute the write-back logic, and return a success or error message to the user - all within the Power BI report.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.