Power BI tables are read-only by default, but you can make them editable for data entry by using a custom visual called the PowerApps visual or by embedding a Power Apps canvas app. This guide walks you through the process of creating an editable table in Power BI using the PowerApps visual, which allows users to add, edit, and delete records directly from a Power BI report. Before you begin, ensure you have a Power BI Pro or Premium license, access to Power Apps, and a data source that supports write-back (such as SharePoint, SQL Server, or Dataverse).

What You'll Need

  • A Power BI account (Pro or Premium) and Power BI Desktop installed.
  • A Power Apps account (included with many Microsoft 365 plans).
  • A data source that supports write operations (e.g., SharePoint list, SQL Server table, Dataverse table).
  • Basic familiarity with Power BI and Power Apps interfaces.

Step-by-Step

  1. Prepare your data source. Ensure the table you want to edit is accessible and that you have write permissions. For example, if using SharePoint, create a list with the columns you need. Note the site URL and list name.
  2. Connect Power BI to the data source. Open Power BI Desktop, go to Home > Get data, and select your source (e.g., SharePoint Online List). Load the table into your report.
  3. Add the PowerApps visual to your report. In the Visualizations pane, click the ellipsis (…) and select “Import from marketplace.” Search for “PowerApps” and add it. Alternatively, it may appear under the “More visuals” section.
  4. Configure the PowerApps visual. Drag the PowerApps visual onto the canvas. In the Fields pane, drag the fields from your table that you want to display (e.g., ID, Name, Status) into the visual’s “Values” area. This passes the selected record’s data to Power Apps.
  5. Create a Power Apps app. With the PowerApps visual selected, click “Create new app” in the visual’s properties. Power Apps Studio opens in a new browser tab. Sign in if prompted.
  6. Connect the app to your data source. In Power Apps Studio, go to View > Data sources > Add data, and add the same data source (e.g., SharePoint). This allows the app to read and write records.
  7. Design the edit form. Insert an Edit form control and connect it to your data source. Arrange the fields you want users to edit. Add a Submit button that calls SubmitForm(Form1) and a New button that calls NewForm(Form1). Optionally, add a Delete button using RemoveIf or Remove.
  8. Pass the selected record from Power BI to Power Apps. In Power Apps Studio, select the App object and set its OnStart property to capture the record from Power BI using Param("PowerBIRecord"). Then, on the form’s Item property, set it to LookUp(YourDataSource, ID = Param("PowerBIRecord").ID) or similar, so the form loads the selected record.
  9. Save and publish the app. In Power Apps Studio, click File > Save, then Publish. Return to Power BI Desktop.
  10. Link the app to the visual. In the PowerApps visual’s properties, select the app you just published from the dropdown. The visual will now render the app.
  11. Test the edit functionality. In Power BI Desktop, select a row in the table (or use a slicer to filter to one record). The PowerApps visual should load the app with that record’s data. Edit a field and submit. Verify the change in the underlying data source.
  12. Publish the report. Publish your Power BI report to the Power BI service. Ensure that users have appropriate permissions to the Power Apps app and the data source.

Common Mistakes

  • Not setting up write permissions: Ensure the account used by Power Apps has edit rights to the data source.
  • Forgetting to pass the selected record: If the form doesn’t load the correct record, check the Item property and the parameter name.
  • Using a data source that doesn’t support write-back: Some sources like Excel files are read-only in Power Apps; use SharePoint or Dataverse instead.
  • Not publishing the app: Changes in Power Apps Studio must be published before they appear in Power BI.
  • Ignoring licensing: Power Apps may require a per-user or per-app license for external users; check your organization’s licensing.

Tips

  • Use a Gallery control in Power Apps to show a list of records and allow selection, rather than relying solely on Power BI’s row selection.
  • Add validation rules in Power Apps to prevent invalid data entry.
  • Use Power Automate to trigger notifications or additional actions when a record is edited.
  • Consider using the PowerApps visual’s “Pass parameter” feature to send multiple fields.
  • Test with a small dataset first to ensure the round-trip works.

Troubleshooting

  • The PowerApps visual shows a blank or error: Check that the app is published and that the data source connection is valid. Ensure the Power BI service can reach Power Apps (no firewall blocks).
  • Edits don’t save: Verify the Submit button’s OnSelect property uses SubmitForm and that the form’s DataSource is correct. Check for errors in Power Apps’ formula bar.
  • The selected record doesn’t load: Confirm the parameter name matches between Power BI and Power Apps. In Power BI, the visual passes the first row of the selected data by default; ensure your table is filtered to one row.
  • Users can’t see the app: Share the Power Apps app with the same users and ensure they have the necessary permissions. In Power BI, users need build permission on the dataset.
  • Performance issues: Large datasets can slow down the visual. Limit the fields passed and use filters.

Frequently Asked Questions

Can I edit data directly in a Power BI table without Power Apps?

No, Power BI tables are read-only by design. To enable editing, you must use a custom visual like PowerApps or embed a separate app.

Do I need a Power Apps license to use the PowerApps visual?

Yes, Power Apps requires a license (often included in Microsoft 365). Check with your admin for specific licensing.

What data sources support write-back in Power Apps?

Common sources include SharePoint, SQL Server, Dataverse, and Excel (via OneDrive). Not all sources support write operations.

Can multiple users edit the same record simultaneously?

Power Apps doesn’t handle concurrency by default; you may need to implement locking or use Dataverse’s built-in concurrency control.

Is the PowerApps visual available in Power BI Desktop?

Yes, you can import it from the marketplace. It’s also available in the Power BI service.

How do I update the app after changing the data source?

Edit the app in Power Apps Studio, update the data connection, and republish. Then refresh the Power BI report.