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 / Adding row dynamically...
Power Apps
Unanswered

Adding row dynamically to the excel online

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

How to add a row dynamically in excel online when i click the button. Addrow(drive,file,table , source). please expalin what to add to drive. it prompts like select from document library from drop-down ?. Can anyone explain this?

Categories:
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    HI @Anonymous 

     

    If you are trying to add a row in the Excel, add it as a datasource and then you can use the Patch formula on the "OnSelect" property of your button control:
     
    Patch(DataSourceName,Defaults(DataSourceName),{Field1: "Value1",Field2:"Value2"})
     
    For more information about Patch, please refer:
     
    If this differs from what you are looking for, please share more details about the scenario, maybe through some snippets/screenshots.
     
    Hope this Helps!
     
    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
  • timl Profile Picture
    37,287 Super User 2026 Season 2 on at

    Hi @Anonymous 

    PowerApps doesn't fully support the 'Excel Business Online' connector.

    For Excel documents that are stored in OneDrive for Business/SharePoint, the workaround is to use Microsoft Flow.

    If it isn't possible for you to use Flow and it's a requirement for you to use Excel, the only other option is to save your Excel file to a personal OneDrive account/Google drive/Dropbox account, connect to the data source in PowerApps, and to use the Patch function as @yashag2255 describes.

    You can find a bit more detail in the thread here...

    https://powerusers.microsoft.com/t5/General-Discussion/Excel-Online-business-Connector-how-to-use-in-PowerApps/td-p/265741

     

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 397 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard