I created a super basic app (create app using your data) that connects to an excel file in a OneDrive for Business folder. When the data is not sorted, all records appear. However, when I try using the SortByColumns function, the records return, but they're blank. See attached screenshot.
I tried the same app using a Google Sheets data source and it sorted perfectly.
Is there an extra step I need to take when using OneDrive for Business to enable sorting?
No, no blank values following the numbers. Just the one/two digits are stored.
Again, it seems to work fine in google sheets, just not for this OneDrive for Business Excel data source.
When first created the sorting worked, but ONLY if you had something in the search box (see attached).
I have made a test on my side, and don't have the issue that you mentioned. The screenshot as below:
It may be a known issue within PowerApps that, If you generate an app automatically from data, save the app, and then reopen it, the browse gallery might not immediately show any data. To resolve this issue, type at least one character in the search box, and then delete the text that you typed. The gallery will then show data as expected.
Please check the following article for more details about the known issues:
Please take a try to type a text within the search box, then delete the text that you typed, then check if the issue is solved.
If the issue still exists, please consider take a try to re-create your app, and then turn off/disable the "Improved app rendering (final validation)" option within Advanced settings of App settings, then save your app and re-load it, check if the issue is solved.
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
Learn how to build the business apps that you need.