Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Convert a SharePoint List to Categorized or Grouped Table

I currently have a PowerApp that writes to a SharePoint List for a daily employee hour timesheets. The list that is written to has these columns:


Employee - Day - Hours


Employee is a single line text column, Day is a Date column, and Hours is a number column. The list ends up looking like:


John Smith - 9/01/2018 - 8

John Smith - 9/02/2018 - 8

John Smith - 9/03/2018 - 8

John Smith - 9/04/2018 - 8

John Smith - 9/05/2018 - 8

John Smith - 9/06/2018 - 0

John Smith - 9/07/2018 - 0

Jane Doe - 9/01/2018 - 7

Jane  Doe - 9/02/2018 - 7

Jane  Doe - 9/03/2018 - 7

Jane  Doe - 9/04/2018 - 7

Jane  Doe - 9/05/2018 - 7

Jane  Doe - 9/06/2018 - 0

Jane  Doe - 9/07/2018 - 0


I need to convert this to an html table or SP list that has these columns:


Employee - Sat - Sun - Mon - Tues - Wed - Thurs - Fri - Total


The rows would read:


John Smith - 8 - 8 - 8 - 8 - 8 - 0 - 0 - 40

Jane Doe - 7 - 7 - 7 - 7 - 7 - 0 - 0 - 35


I plan to use the table in a PDF report to show the boss all employee's weekly hours. This needs to be dynamic to work for every week of the year. Does anyone have an idea of how to tackle this? I am open to any suggestions. Thanks in advance.

Community Support
Community Support

Hi @billyboy4614,


First of all, I want to know the working hours of the people recorded in the SharePoint List that you provided are from which day of the week. Starting on Monday, or starting on Sunday?

Then I'm not sure if the list you provided is updated once a week, and the content inside is only containing the content of this update?

In addition, the item in the list you provide is very strict, including the working time of each person for seven days a week, and is it continuous?

Please provide more details and maybe we could provide a suitable workaround for you.


Best Regards,


Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hey, @billyboy4614!

Thank you for posting on the Flow Community Forum! It appears as though @v-bacao-msft would like some more information in order to further assist you properly with your issue. Please share any additional information that was requested in order to decrease the amount of time that it will take for you to be assisted!

Thank you for being an active member of the Flow Community!

Flow Community Manager

- Gabriel
Community Manager
Power Automate | Power Virtual Agents
Super User Program Manager
Power Platform Communities

Thanks for the response. I hope I can give you the info you need...


The working hours are 4am - 10pm. People can work anywhere between 2 and 12 hours.


People work evey day of the week and our work week starts on Saturday.


The content is updated daily, at the end of each shift. I would like the table to show the content for the current week and have an easy way to switch to last week, and the previous week. I am trying to avoid having 365 columns, one for each day of the year.


The time will not be very strict or continuous. It could fluctuate daily.


Thanks again for any help you might provide.

Helpful resources

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.


Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (3,835)