What you are seeing are the columns internal name - which gets transformed into those weird names if they have special characters like space, "_", etc. One way to overcome this is to create the column without those characters and then change the name after the column has been created.
For example, I have created 2 columns:
1. "WeirdName _ 1" and it got the internal name of "Weird_x0020_Name_x0020___x0020_1".
2. "NormalName" and its internal name stayed as "NormalName"
Once the columns have been created, I went back and edited the "NormalName" column to "Normal _ Name" and checked in a PowerApp - the name there stayed as "NormalName" (because after the column has been created, if it is renamed the internal name will stay the same).
So this is not something that can be controlled form the PowerApp side, but from the SharePoint site when the columns are created.
Hope this helps 🙂
In short: To have the same names appear in PowerApps like you have in your SharePoint List you have to create columns through list settings and not on the list itself by clicking add columns.
It seems that there is always going to be some internal naming needed to manage conflicts in SharePoint against other columns. It seems that internal name is more closely matched the display name when columns are added by List Settings versus Add Columns. If you add Columns using the Quick Edit, the names then really take on a ramdom name. Why cannot Power BI utilize the Display name? I understand the API uses the internal name, but cannot something be done to capture the display name?
PS eliminating space and special characters in Column Names helps the changes SharePoint makes to the internal name.
We're excited to announce our first cross-community 'Can You Solve These?' challenge!
Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.
We are excited for the next Super User season.
FIll out a quick form to claim your community user group member badge today!
Features releasing from October 2020 through March 2021