cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

GroupBy with Lookup value in sharepoint list

I'm working on powerApps to display the data from sharepoint as below:

First I have table which have looku valus inside it.

in power apps I'm trying to display valus inside galary from this table (highlighted fields are lookup) 

I used this formula but not work for lookup:

AddColumns(GroupBy('Activities', "Employee", "ByEmp"),"SumofPoints",Sum(ByEmp, 'Working hours'))

Capture.JPG

2 REPLIES 2
Dual Super User
Dual Super User

Re: GroupBy with Lookup value in sharepoint list

Hi @Anonymous 

 

GroupBy only works with Tex,Numeric or DateTime fields

Employee looks to be a people picker field

Create another text field - name it employee text - and store the name as a string there (so you can use it for groupby)

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

 

Community Support Team
Community Support Team

Re: GroupBy with Lookup value in sharepoint list

Hi @Anonymous,

 

Has your problem been solved?
If your problem has been solved, You could go ahead and mark the post as solved by clicking “Accept as Solution” so that this thread will be marked for other users to easily identify!

Best Regards,
Community Support Team _ Lin Tu

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (3,787)