web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Update a specific colu...
Power Apps
Answered

Update a specific column value in SQL Server db of Selected Multiple Items of Gallery with checkbox by using Power Automate Flow.

(0) ShareShare
ReportReport
Posted on by 10

I want to update the column "status" in my sql server db table for multiple items in my gallery having a checkbox next to it, on click of a button. The button should run a power automate flow that will update the status of the selected items in a gallery in the sql server db. I don't want to use 'patch' function. Can you please suggest me how to implement this use case with the help of automate ??

Categories:
  • Verified answer
    StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @drax_2106 

     

    Here is the 2 parts (PowerApps and Power Automate)

    Call Power Automate from PowerApps

    StalinPonnusamy_1-1634177874690.png

     

    To Call Power Automate from PowerApps

    • Select the button
    • Click Action on the menu bar
    • Click Power Automate
    • You should see your existing Power Automate to select 
    • Select the Power Automate
    • Assign the parameter

     

    Your Power Automate will look like this

    StalinPonnusamy_0-1634177514315.png

     

    For SQL, You can use either Execute SQL query or Execute Stored procedure

    StalinPonnusamy_2-1634178046469.png

     

     

  • drax_2106 Profile Picture
    10 on at

    Thanks a ton! @StalinPonnusamy. This helped but I did it by passing JSON in the Automate Flow.

  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @drax_2106 

     

    In general, an Individual parameter is sufficient if you have 1 or 2 parameters. JSON is good if we have more than few items.

     

     

     

  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @drax_2106 

     

    Please let us know if anything needs on your post. We can help with this.

    Please do not forget to give kudos if you find the suggestion helpful or Accept it as a solution if works fine to help other users to find it useful.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 360 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 325

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard