Translytical task flows in Power BI: what they are

A translytical task flow lets a person act on data from inside a Power BI report: edit, add or delete a record, or call an API. A button passes the selection and typed values to a Fabric user data function in Python, which writes to a SQL database, warehouse or lakehouse files. Generally available since March 2026.

Analysts · ·

The problem

Someone reads a report, spots a wrong value or a request that needs an answer, and has to leave the report to fix it in another tool. The data then goes out of date in the report until the next refresh. This Pattern is for analysts and report authors who want to know what a translytical task flow does, what it needs and where it stops.

What is generally available and what is not

  • Translytical task flows: generally available in the March 2026 Power BI update (version 2.152.882.0), per Microsoft’s update archive.
  • Optional parameters and default values: generally available in the May 2026 update.
  • Data function details shown in the button formatting pane: generally available in the September 2026 update.
  • Different page, different label: the Cosmos DB in Fabric guide still says “Translytical task flows are currently in public preview”. The Power BI pages and the update archive say generally available. This Pattern follows those, and the Cosmos DB scenario should be treated as the one to double check.
  • All of this was read on 2026-11-29. No separate announcement from the last 60 days was found beyond the monthly update archive.

Steps

Three boxes in a row: a Power BI report with a table, an input slicer and a data function button; a Python user data function; and a Fabric data source. Arrows carry the row and value to the function, the write to the data source, and a message back to the report.

The three parts of a translytical task flow.

Microsoft’s tutorial splits the work into three tasks: store, develop, visualize. Use them as a checklist.

  1. Pick the action. The overview lists five: add data, edit data, delete data, call an external API, and show notifications that are stored as data. If the action only reads data, an ordinary report is enough.

  2. Store: choose the data source. For write-back, user data functions manage connections to Fabric SQL databases, warehouses and lakehouses (files). Microsoft recommends a SQL database for most write-back cases because it handles the heavy reads and writes of reporting well.

  3. Develop: write the user data function. It is a Python function in a Fabric item. Validate each parameter and send expected errors with fn.UserThrownError, as the button page recommends. Adapted from the button page:

    if (discount < 0):
        raise fn.UserThrownError("Discount cannot be negative.")
    

    The function must return a str, or the button cannot use it. Pattern 14 builds one.

  4. Visualize: add a button of type Data function. Map each function parameter to an input slicer, a button or list slicer, a data field or a measure. Pattern 15 covers the report side.

  5. Publish and test in the service. In Power BI Desktop you cannot trigger the action until the report is published.

  6. Grant access. People who press the button need the Execute functions permission on the function.

Copy this prompt

Before adding a button that writes from Power BI, use this to sketch the flow. Paste it into your assistant’s chat with the data source and the action the button should take. Ask where the write would go, which values the report must pass and how simultaneous changes should be handled.

I have a Power BI report built on <Fabric item: SQL database, warehouse or lakehouse>.
Readers should be able to <action: edit / add / delete / call an API> for <what>.
Tell me if a translytical task flow fits. List: the data source it would write to,
the parameters the user data function needs, which report elements supply each
parameter, what the function returns as a str, and what happens if two people
act at once. Name anything you are not sure the documentation supports.

Check that the answer returns a text from the function, validates input, and does not build SQL by joining strings.

Limits

  • The function must return a str to be added to a report.
  • Power BI Embedded is supported only for secure embed scenarios.
  • A data function button stores a fixed workspace, function set and function. After a deployment pipeline or a move to another workspace it still points at the original function until you update it.
  • A published function runs for at most 240 seconds, accepts at most 4 MB of request parameters and can be called through a public endpoint for at most 100 seconds. Python 3.11 is the version for published functions.
  • The service limits of user data functions and the limitations of SQL database in Fabric also apply.
  • Concurrency (two people acting on the same row) is not described on the pages read, so it is not covered here.

Sources

Author

Rodrigo Lombana Reina, data engineer. Personal opinions. Checked against the documentation on 2026-11-29.

Questions

What are translytical task flows in Power BI?

They are a way to take action from a report. A data function button sends the current selection and typed values to a Fabric user data function, which can add, edit or delete records, call an external API or store notifications as data. Microsoft describes them in the Power BI documentation as generally available since the March 2026 update.

Are translytical task flows generally available or in preview?

Generally available. Microsoft's Power BI update archive lists them as generally available in the March 2026 update (version 2.152.882.0), with optional parameters generally available in May 2026. One Microsoft page still differs: the Cosmos DB in Fabric guide says task flows are in public preview. This Pattern follows the Power BI pages and the archive.

Which data sources can a translytical task flow write to?

User data functions have native connection management for Fabric SQL databases, Fabric warehouses and Fabric lakehouses, where lakehouses mean files. Microsoft recommends SQL database for most write-back scenarios. A function can also call any API reachable over the network, so other systems can be updated through their own endpoints.

Do I need to write code to build a translytical task flow?

Yes, one function. The action lives in a Fabric user data function written in Python, which the report calls from a button. Everything else is configuration in Power BI Desktop: a slicer or table for the input, and a button of type Data function. Microsoft links to sample functions from its overview page.

What are the limits of translytical task flows?

The function must return a str to be added to a report. Power BI Embedded is supported only for secure embed scenarios. The button stores a fixed workspace and function, so after a deployment pipeline you must point it at the new function. A published function can run for at most 240 seconds and accepts a 4 MB request.

Does the report show my change straight away?

It depends on the storage mode. Microsoft's user data functions overview says updated values appear immediately for Direct Lake or DirectQuery reports, and after an automatic refresh triggered by the task flow for import-mode reports. By default the button refreshes the report after a successful run; that behaviour can be switched off.

Who can run a data function button?

Only people authorised to run the function. Anyone else sees a Something went wrong message. Give report users the Execute functions permission on the user data function, from its Share dialog. The tutorial also notes that in Power BI Desktop you cannot trigger the action until the report is published.

Portrait of Rodrigo Lombana Reina

Rodrigo Lombana Reina, data engineer. Data problems solved, step by step.

About Rodrigo · The opinions and texts on this site are my own.

My LinkedIn profile