Forum Discussion

MikeMichaels's avatar
MikeMichaels
New Member
11 months ago
Solved

Need help Implementing Power Automate Button in PBI to trigger input of data in Excel cell

I'm working on a Power BI form completion where: Sharepoint Excel spreadsheet is connected to Power BI workbook as data source Data source contains columns [ID] which has unique identifiers, and [...
  • ABD128's avatar
    11 months ago

    Hey MikeMichaels 

     

    Yes, your requirement is achievable using the Power Automate for Power BI visual, since Power BI itself cannot write data back to Excel. The setup is: store your Excel file on SharePoint/OneDrive, convert the data into a proper table (e.g., ApprovalsTable), and ensure columns include ID and Status. In Power BI, add the Power Automate visual, place ID in its field well, and create flows for Approve and Reject. Each flow receives the selected ID, uses List rows present in a table to find the matching row in Excel via a filter (ID eq '<selectedID>'), and updates the Status column with Update a row. Flows cannot be tested directly in the Power Automate portal—you must trigger them from the Power Automate visual in Power BI (Desktop or Service). Run results can be monitored in the flow’s Run history, and you’ll need to refresh the dataset/report to see the updated status. Common issues are unstructured Excel data (not in a table), column name mismatches, file locking, or permission problems. For a robust solution, consider moving from Excel to a SharePoint List or Dataverse table, but for proof of concept, this Excel-based method works.

     

    Regards 

    ABD.