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 / GroupBy and additional...
Power Apps
Answered

GroupBy and additional columns besides the main GroupBy column, how to define?

(0) ShareShare
ReportReport
Posted on by 255

I have a SharePoint list Incidents, with a lookup column Department which is from Departments SharePoint list. Departments list has also Supervisor column which is also a lookup column in Incidents list.

 

In PowerApps App I have grouped Incidents listing in Gallery by Department which works fine and I got a new variable "DepartmentGroupCol" which is derived from the Department title. 

 

But when I want to add parallel columns to DepartmentGroupCol, for example DeptSupervisor, I won't get a proper variable/value for a certain DepartmentGroup.

 

I assume the problem is that DepartmentGroup is unambiguous since it's the main factor of grouping, but DeptSupervisor is not.

 

When making AddColumns for DeptSupervisor I think I should somehow choose "randomly" any Supervisor value since it's the same for all Incidents withing a DapertmentGroup?

 

Categories:
I have the same question (0)
  • Verified answer
    Finnair Profile Picture
    255 on at

    UPDATE:

    I managed to create AddColumn + First("_supervisor";DeptGroup.[Supervisor-SP_Column]) formula, and then I can refer to group's Supervisor value with a "complicated"

     

    ThisItem._supervisor.[Supervisor-SP-Column].Value

     

     

     

     

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard