Skip to main content

Notifications

Power Apps - Building Power Apps
Unanswered

How to reference Data inside Groupby Collection?

(0) ShareShare
ReportReport
Posted on by 54

Hi, Is it possible to reference a grouped data inside a collection?
As an example, Let's say I have this collection. Is it possible to reference the Grouped Data for Japan Location?

DataLocationTotal
[Grouped Data]Japan100
[Grouped Data]Malaysia200
[Grouped Data]Thailand300


The output im really looking to create is to loop through this collection, using ForAll, and to run a Flow using the row details, and the grouped data as an HTML Table.

Essentially, for each location, I want to make a pdf. and inside the PDF i want to plug in the Grouped Data for that location.

I've tried separating the location column first as one collection, and filtering the Data before I had it grouped as another collection, but ForAll doesn't seem to allow having multiple ClearCollect inside the formula.


Is it impossible?

Categories:
  • CNT Profile Picture
    CNT 10,919 on at
    Re: How to reference Data inside Groupby Collection?

    @noelflores The following formula will give you a table with the grouped data for Japan, which can be looped using a ForAll.

    LookUp(yourCollection, Location="Japan").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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,434

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,722

Leaderboard