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 / Use 2 GroupBy in the s...
Power Apps
Answered

Use 2 GroupBy in the same Gallery

(0) ShareShare
ReportReport
Posted on by 14

I have a gallery with a textbox GropuedBy in which have Concat values without duplicated.

In the same page I have another Galery where I have to GroupBy the same Dataset by another value ("Location" instead of "EID")

 

Gallery  Item property 1:

GroupBy(Table1,"EID","DATA")

Text box property 1:

Concat(Distinct(ThisItem.DATA,'EU NAME'),Value, "; ")

WORKING!

 

Gallery  Item property 2:

GroupBy(Table1,"Location","DATA")

Text box property 2:

Concat(Distinct(ThisItem.DATA,'Location'),Value, "; ")

NOT WORKING

The error says "The specified column "Location" doesn't exist. But it does and I have been using it. It only allows me to GroupBy some columns.

 

 

Table1= my DataSource

EID= The column I used to GroupBy

DATA= The column I created to unify the GroupBy values

EU NAME= A column with user names to display

Location= The second column I want to use to GroupBy

Categories:
  • Verified answer
    NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    Hi @geroagos ,
    Check the column type of Location column or column that is not working or giving error. If the column type is Choice or any complex column, it will not work.
    If you want it to work, you can use - 

    GroupBy(AddColumns(Table1,"locationVal",Location.Value),"locationVal","DATA")

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 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 190 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard