cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kleach
New Member

Normal Column Names for Sharepoint Lists Used in power Apps

Hello,

 

I've only noticed that this occurs when using a Sharepoint list, and not when I use an Excel Spreadsheet. I created a custom list in Sharepoint with the colums labeled like this.

 

Capture.PNG

 

However, when I try to use this list in PowerApps, the column headers look like this...

 

Capture2.PNG

 

 

Is there a way to control how the column name gets bought over into Powerapps? It becomes extremely confusing and tedious (and actually nigh impossible to work with) when putting in formulas. 

 

Advice is appreciated.

 

Thanks,

KL

14 REPLIES 14
Anonymous
Not applicable

I have the same issue now?? - How come this is not solved yet?! 

 

 

Anonymous
Not applicable

Hi @kleach

 

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 🙂 

Anonymous
Not applicable

hey @Anonymous, did you figure this out? I'm having the same issue right now...

Anonymous
Not applicable

Hi @Anonymous

 

Check my reply here: https://powerusers.microsoft.com/t5/PowerApps-Forum/Collection-column-names-not-displaying-correctly/m-p/51278#M21380

 

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.

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (3,051)