Power Apps and Power Automate visuals in Power BI

How the Power Apps visual embeds an app that receives the report's filtered data, how the Power Automate visual runs a flow from a button with the selected data, common write-back and action scenarios, permissions, and when translytical task flows fit better.

Short answer: the Power Apps visual puts an app inside a report: the fields you drag into it arrive in the app as PowerBIIntegration.Data, filtered by the page, so readers can edit records, add comments or create tasks without leaving Power BI. The Power Automate visual is a button that runs a flow with the data currently in the visual: send an email to the owners of the overdue accounts, post to Teams, create tickets. Readers need access to the app or the flow; the data passed is what the visual sees.

Reports show what is wrong. People then copy names into an email or another system to act on it. These two visuals move the action into the report: see the overdue invoices, select them, press "Send reminder".

What does each visual do?

Report pagefiltered to overdue invoices of one region
Power Apps visualan app lists those invoices; a reader adds a note and a promised payment date, saved to Dataverse
Power Automate visuala button sends one reminder email per invoice, with amount and due date from the data
Acting on what the report shows

How do you add a Power Apps visual?

  1. Select Power Apps for Power BI in Visualizations and drag the fields the app needs into Power Apps Data (for example invoice ID, customer, amount, due date).
  2. Choose an existing app or Create new: Power Apps opens with a gallery bound to PowerBIIntegration.Data.
  3. Build the app: forms that write to Dataverse, SharePoint or SQL, using the invoice ID as the key.
  4. Save and share the app with the report's readers. Back in the report, the app filters with the page.

How do you add a Power Automate visual?

  1. Select Power Automate for Power BI in Visualizations and add the fields the flow needs to Power Automate data.
  2. Select Edit on the visual to open the flow designer; start from a template or blank. The trigger is "Power BI button clicked" and it receives the data as a table.
  3. Add an Apply to each over the rows, with the action (send an email, create a Planner task, post to Teams).
  4. Save, then Format the button text and style. Share the flow, or give users run access, so readers can run it.

The button takes no manual input beyond the data in the visual: whatever the page filters to is what the flow gets.

What decides what data is passed?

Both visuals receive the fields at the grain you drag in, filtered by the page and by cross-filters. A measure tells readers how many rows the button will act on:

Invoices to Remind =
CALCULATE (
    DISTINCTCOUNT ( Invoices[Invoice ID] ),
    Invoices[Status] = "Overdue"
)

Remind Button Label =
"Send " & [Invoices to Remind] & " reminders"

Show Remind Button Label in a card next to the button, so nobody sends 2,000 emails by accident with no filter on the page.

Which one, or something else?

NeedChoice
Edit or add records in a formPower Apps visual
Run an action on the selected rowsPower Automate visual
Write back a value in Fabric with a button and a functiontranslytical task flows (user data functions, a button with a Data function action)
Just open a linka button with a Web URL action

What goes wrong?

  • No filter, many rows. A flow on an unfiltered page acts on everything; show the count and test with a small filter.
  • Readers without access. The app and flow must be shared; otherwise the visual shows an error to readers.
  • Data that is too coarse. Without the ID field, rows are grouped and the app or flow cannot tell records apart. Always include the key.
  • Write-back in the wrong place. Write to a system of record (Dataverse, SQL), not to the semantic model; the report shows the change after the next refresh.

Where can you check this?

Where do you start?

Pick one action people do by hand after reading the report, pass the key fields to a Power Automate visual, and show a count of the rows it will act on. Buttons, bookmarks and navigators covers the other button actions.

Keep reading

More from the blog.

Every post

Next

Building this? Say hello.

A question about this post, a pattern you would build differently, or the next thing you want written out: Behnia reads every message.