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 / Using Data from SP lis...
Power Apps
Answered

Using Data from SP list to populate pie chart

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Good Morning everyone,

I'm not really sure where to start with this one but I know what I want to do 😅. I am creating a project management app and would like to have a screen where the user would select an employee from a drop down, causing a pie chart to populate their total hours worked on the various projects they are assigned. I've been searching around the interweb and can't find anything that resembles what I'm trying to accomplish.

 

My SP list "Project Time System"  contains columns "Project" "Name"(Employee), "Monday" - "Sunday" (user can enter hours spent by day), and a total hours column that sums the hours in Monday - Sunday columns

 

The other SP list is a simple list of employees which I use to populate the drop down

 

Any push in any direction would be greatly appreciated 

Categories:
I have the same question (0)
  • Verified answer
    v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    Some example data will be helpful for us to provide further assistant.

    The pie chart is to show the total hours on each project of the selected employee. If the Total hour column is the total hours that employee worked on the project(each project only has one row) , you can just set the series property of Pie Chart to 'Total hours' column, and Set the items of Pie Chart as below: 

    Filter('SP list',Name=Dropdown1.Selected.EmployeeName)

    Snipaste_2019-12-09_14-49-07.png

    If this doesn't make sense, please let me know.

    Best regards.

    Sik

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    That worked, thank you - one more thing before I check this as the solution - How do you change the labels on legend - just says "Item(1), Item(2)

  • v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    Modify the Labels property of PieChart, please check the screenshot:

    Snipaste_2019-12-10_09-42-54.png

    Best regards,

    Sik

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard