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 / Allow user to select t...
Power Apps
Unanswered

Allow user to select their own Excel file from OneDrive for Business folder and display records on the screen and then store them in the existing SQL table

(0) ShareShare
ReportReport
Posted on by

Hi,

I'm building an app for my client and the specific needs are as follows:

 

The app should allow the end user to select an Excel file from a OneDrive for Business folder. Once they select the Excel file, the records should be displayed on the screen and also allows them to 'Cancel' if they do not want to continue with the Excel file. If they accept the file, then those records should be stored in the existing SQL table which already contains some records. 

 

I was able to create connections to the SQL table and the Excel file which is stored in the OneDrive. The app displays on different screens - records from the Excel file and from the SQL table. Later, the app stores the data from the Excel file to the SQL table using the Patch function, but it throws an error if the same records are present in the Excel file. I understand, the Excel file is the static copy in the Power apps. Thus, I want to give the option to the end user to select another Excel file now. I have tried using Attachments Control, but that does not display the records and does not store the records in the SQL table. 

Do I need to use the Power Automate flow or it is achievable from Power Apps?

 

I'm a newbie with Power Platform including Power Apps, Power Automate etc. so any help to resolve the issue would be greatly appreciated!

Thanks in advance!

Categories:
I have the same question (0)

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard