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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / AddColumns function wo...
Power Apps
Unanswered

AddColumns function working on Test environment but broken in Dev environment

(0) ShareShare
ReportReport
Posted on by

My canvas app had been working properly in both my Dev and Test environments up until the updates performed during the week of Nov 13-17, 2023.   

 

I've determined that I have an issue with calls to the AddColumn function which is now broken in my Dev environment however I can export the solution from Dev (where it's broken)  and import the managed solution to Test and the app works properly.

 

From my testing in Dev the following code will work to assign a record to the blah_user variable.

 

 

Set(blah_user, Filter('User Info', FullName = "Some User"));

 

 

However if I try the following with the AddColumns function I end up with zero records.  It shouldn't be a delegation issue as I only have < 50 records.

 

 

Set(blah_loggedInUser, AddColumns(
 Filter('User Info', FullName = "Some User"),
 "Dept", Department.Department,
 "AltDept", 'Alternate Department'.Department,
 "IsAdmin", 'View All Departments',
 "EmailAddy", 'Active Directory User'.Mail,
 "CanViewBusinessService", ViewBusinessServices
 ));

 

 

Has anyone else encountered similar behaviour and found a solution? 

 

Categories:

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 234 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
timl Profile Picture

timl 122 Super User 2026 Season 2

Last 30 days Overall leaderboard