Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
bharathi2233
New Member

Writeback Functionality In Power BI

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.

6 REPLIES 6
bharathi2233
New Member

Thanks everyone for your input. I will check the options and try it out and update you.

Hi @bharathi2233 

Checking in to see if you had a chance to review or test the recommendations shared earlier.
If the issue is still unresolved, please share what you’ve tried so far or any blockers you’re facing, and we can assist you further.

cengizhanarslan
Super User
Super User

Option 1) Put an API layer in front of the stored procedure:

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

 

Option 2) Translytical Task Flows (write-back/actions):

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.

 

_________________________________________________________
If this helped, ✓ Mark as Solution | Kudos appreciated
Connect on LinkedIn
AI-assisted tools are used solely for wording support. All conclusions are independently reviewed.

Hi @bharathi2233 

Following up to confirm if the earlier responses addressed your query. If not, please share your questions and we’ll assist further.

Kedar_Pande
Super User
Super User

@bharathi2233 

 

Power BI button → Power Automate flow → Execute SQL stored proc

 

 

rohit1991
Super User
Super User

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.


Did it work? ✔ Give a Kudo • Mark as Solution – help others too!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.