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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Dynamically take data ...
Power Apps
Unanswered

Dynamically take data from Power Apps to SQL

(0) ShareShare
ReportReport
Posted on by 21

Hello,

 

I've created a stored procedure with Flow and use it in Power Apps. The problem is when I want to take the data as it is dynamically. Im having 13 columns and when I use 'PowerApp->Executestoredprocedure(V2)'.Run(1,2,3,4,5,6,7,8,9,10,11,12,13) manually the stored procedure works, but I want to make it dynamically. All the columns have different sets. Can anyone tell me how to take the dynamically data from these columns?

 

Thanks.

Categories:
I have the same question (0)
  • mdevaney Profile Picture
    29,989 Moderator on at

    @bulprosbibg 

    You might need to give an example here.  I’m not sure what meant by manually vs dynamically.

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

     

  • bulprosbibg Profile Picture
    21 on at

    Okay. For example:

     

    1) I have one table in my database which is called Flow with 13 different columns

    2) Each of these columns has different value

    3) I've created the following Flow:

    bulprosbibg_0-1593605339501.png

    + 10 more columns

    4) When I include 13 records in the Run propery from the Flow it works and 13 records are inserted in my database

    bulprosbibg_1-1593605430388.png

    5) You can see how the database looks now:

    bulprosbibg_2-1593605461338.png

    6) I want to use the following records automatically from Power Apps:

     

    bulprosbibg_4-1593605547309.png

    But I dont know how to include them in the "Run" statement

     

     

     

  • timl Profile Picture
    36,393 Super User 2025 Season 2 on at

    Hi @bulprosbibg 

    It looks like this might be the same, or very closely related to what I've posted here. Can you see if that helps?

    https://powerusers.microsoft.com/t5/Building-Power-Apps/Insert-records-to-SQL-database/m-p/613717/highlight/false#M193652 

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard