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 / Calling Stored Procedu...
Power Apps
Answered

Calling Stored Procedure inside Power Apps

(0) ShareShare
ReportReport
Posted on by

Hello,

 

I am using the preview feature for calling Stored Procedures directly in Power Apps.


I am using this feature so I can view SQl data in my galleries.

I have a SQL connection to our Microsoft SQL Server and was able to call the stored procedure I needed. But once I try to pull the table in Power Apps, it gives me an error. The table (Table1) should be embedded in the ResultSets, but it shows up as a question mark (?).

 

The data shows up in my app monitor, but just can't be accessed in the app.

 

What my data stored in a collection looks like (Should be a table under ResultSets column):

 

resultsets_error.png

App monitor shows data is retrieved successfully:

app_mon_data.png

 

Daniel Christian's Youtube video explaining the new feature

 

Categories:
I have the same question (0)
  • Verified answer
    cc_robot Profile Picture
    on at

    I finally solved it. This is what my code is like for the collection:
    ClearCollect(Col_Name, Table(StoredProcedureCall.ResultSets.Table1));

    Then to pull the data into the gallery, you would need to use:
    ThisItem.Value.attribute_name

    Hope this helps.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 834

#2
Valantis Profile Picture

Valantis 533

#3
Haque Profile Picture

Haque 410

Last 30 days Overall leaderboard