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 / Grouped data from coll...
Power Apps
Answered

Grouped data from collection on second screen gallery

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi Everyone,

 

I have a table named 'Gashi'

sholyzqi_0-1661873056448.png

In my app, the Table is shown on the first page using the GroupBy() function. I also created the collection ' Sammlung1' with this function:

ClearCollect(Sammlung1, GroupBy(Gashi, "Straße", "Hausnummer", "Gemeinde", "DATA2"))

First Screen:

sholyzqi_2-1661873572196.png

To define the selected Item i use Set(varCurrentRecord, ThisItem) and for the LookUp() function Set(varStraße, ThisItem) is used.

 

On the second screen I'd like to have another gallery with the values "Behältertyp" within this group, depending on the selected item ("Straße").

Second Screen:

sholyzqi_7-1661874607003.png

 

 

Please could you help me to get the syntax of the Data source/Item for the gallery on the second screen?

 

Thanks a lot 🙂

 

P.S.

This is my collection:

sholyzqi_6-1661874574328.png

 

sholyzqi_5-1661874539074.png

 

 

 

 

 

Categories:
  • Verified answer
    Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    Okay... I am not sure about this but I think that you need to create the collectio without a GroupBy, I think that you cant create the collection like that.

     

    Try creating the "collection" normally and after that, on the gallery, do the groupby

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,

    Gonçalo Nogueira

    Check my LinkedIn!

    My website! 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks, with your tip I was able to solve it 🙂

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
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard