I am using the remove command as so:
Remove(Table1, 'Main Data Table'.Selected)
However this doesn't actually change the table, only the display on powerapps' side. Is there a way to have this command change the table itself in the same way many of the other powerapps commands do?
If your data source is a table named Table1 in an Excel file residing in either DropBox or OneDrive and you have selected a record in either a datatable control or a gallery control, Remove (Table1, Gallery1.Selected) or Remove(Table1, DataTable1.Selected) should remove it from the Excel table. However, you may want to check to see if the data source for your Remove function is a collection derived from an excel data source and not the data source itself. If it is, that would explain why the record is removed from the display and not from the underlying Excel table.
Unfortunately that isn't the case which is why I am confused as to why it isn't working. The formula is connected directly to the DataTable from excel and yet still isn't changing the table. My other commands linked to the same table (submit, edit etc) are working and changing that table.
Can you clarify a few things more explicitly:
Are you having the exact same issue as @Anonymous?:
I am having exactly this problem with deleting a row from Excel using PowerApp.
My PowerApp uses both a SharePoint List and an Excel file stored in SharePoint. I create, update and delete the same data from both sources. I use the SharePoint List as my main source for the app, but add the Excel file so that I can download it and update a desktop version of the file (with macros) to refresh the desktop version. This way, I can use the app to provide an interface for viewing and modifying the data and use VBA to refresh that data for various users.
With "Assets" as the SharePoint List and "AssetsXL" as a table in Excel:
The SharePoint List remove the row as expected but the Excel Table does not.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.
Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.