web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / SQL Column Names and _...
Power Apps
Unanswered

SQL Column Names and _x0020_

(0) ShareShare
ReportReport
Posted on by 2,307 Super User 2025 Season 2

Hello,

 

I have a canvas app with SQL as the data source. One of the tables has columns with spaces in the names.

 

I built an app with a gallery that when selected, sets a variable like Set(variable,ThisItem) and elsewhere in the app I show text labels with the data by referencing the variable, such as variable.'customer name'

 

This was fine up until today. Now it looks like I have to change the formulas in the app to replace the spaces with _x0020_ like a SharePoint internal column name, e.g what was variable.'customer name' now throws an error "Name isn't valid. The identifier isn't recognized." and the correct reference is now variable.customer_x0020_name.

 

Why has this just suddenly happened? I removed and re-added the data source at some point but I can't remember whether it was before this issue occurred and caused it, or I did it to try and resolve the problem.

 

In any case it's going to be a lot of work to fix it, and how do I know it won't switch back at some point? Is there a setting I can use to force the connector to work one way or the other?

Categories:
I have the same question (0)

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard