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! It's time to submit your entry. Live now!
Hi,
I have a stored procedure in the database which will be inserting or updating the data if we invoke it by sending a key. Now I have to send this key and invoke the stored procedure from Power BI. how to do this? Do I have to use the Writeback? or do we have any other options?
Thanks in Advance.
Power BI triggers an action → that action calls an HTTP endpoint → the endpoint runs the stored procedure and returns success/failure.
Typical implementations:
Power Automate button in the report → calls an API / SQL connector → runs the SP.
Power Apps visual → user submits the “key” → Power Apps calls SQL / API → runs the SP
If your write-back can be implemented through Fabric user data functions (or you can expose your SP via an API that the function calls), you can put a “data function button” in the report that passes inputs (like your key) and triggers an action.
Hi @bharathi2233
Following up to confirm if the earlier responses addressed your query. If not, please share your questions and we’ll assist further.
Hii @bharathi2233
Power BI does not support direct writeback or executing insert/update stored procedures from a report, as it is a read-only analytics tool. To send a key and invoke a stored procedure, you must use an external layer such as a Power Apps visual (for data entry/updates) or a Power Automate flow (button-based action) that receives the key from Power BI and executes the stored procedure via the SQL connector or an API.
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
| User | Count |
|---|---|
| 50 | |
| 42 | |
| 36 | |
| 31 | |
| 29 |
| User | Count |
|---|---|
| 129 | |
| 129 | |
| 59 | |
| 48 | |
| 47 |