cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper III
Helper III

Help on Project Status summary in gallery

Hello Team, Newbie here. i have issues on summarizing my project status in the gallery. I appreciate any help. Much appreciated if you have code to share. 

 

here is my table

Project NameAssigned ToProject Status
Migrating to SQLPerson 1Pending
Coding Power AppsPerson 2Not Started
SharePoint ListPerson 1Completed
Project OakdalePerson 3Not Started
AzurePerson 1Pending

 

I need a summary of that like in this view

Assigned To# of Project OwnedCompleted StatusPending StatusNot Started
Person 13120

Person 2

1001

Person 3

1001
1 ACCEPTED SOLUTION

Accepted Solutions

Wow. Works like Magic!!!!. I really appreciate your quick response. THANK YOU!!

View solution in original post

4 REPLIES 4
Super User II
Super User II

Hi @echodapogi ,

 

Set your Gallery ->Items:  GroupBy(MyTable,"AssignedTo","Result") 

 

Inside your gallery insert 5 labels that represint and should be defined like this :

1. AssignedToLabel - > Text: ThisItem."AssignedTo"

2. ProjectOwnedLabel -> Text: CountRows(ThisItem.Result)

3. CompletedStatusLabel -> Text: CountRows(Filter(ThisItems.Result,'Project Status'="Completed"))

4. PendingStatusLabel -> Text: CountRows(Filter(ThisItems.Result,'Project Status'="Pending"))

5. NotStartedLabel -> Text: Text: CountRows(Filter(ThisItems.Result,'Project Status'="Not Startes"))

 

Also you have to put outside the gallery the name of the columns in separate labels.

 

Hope it helps !

let me try that now.

Wow. Works like Magic!!!!. I really appreciate your quick response. THANK YOU!!

View solution in original post

Hi @echodapogi again :), 

Please don't forget to mark as solved if my solution meets your expectation.

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (20,514)