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 Apps
Unanswered

pie chart question

(0) ShareShare
ReportReport
Posted on by 33

Hi,

 

I am quite new to this platform and I haven't managed to get a powerapp to work using other info on the board, so I hope someone could give me a step by step walk-through

 

I have a list (let's call it "List1")

 

In there I have a number of columns

Title  (not relevant for the pie chart)

Team (4 different teams)

Status (4 different project states)

 

I would like to generate a powerapp that create a pie graph with the # of items for each entry in "Team"

 

so eg:

Team1

Pie chart: status.a =5 , status.b=10 etc

 

Do i need to create an extra column in the sharepoint list to do these calculations or can it be done through powerapps?

 

Thanks!

 

Categories:
  • timl Profile Picture
    37,424 Super User 2026 Season 2 on at

    Hi @bh4 

    No, it's not necessary to add a new column in your SharePoint list.

    We can use the GroupBy and Count functions in PowerApps to aggregate the values. The example here is a good place to start.

    https://docs.microsoft.com/en-gb/powerapps/maker/canvas-apps/functions/function-groupby 

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

    Hi @bh4 ,

    What he said is right @timl .

    You do not need to create another column.

    I suggest you use GroupBy function.

    In this function, you could group your table based on team.

    Try this formula:

    GroupBy(List1,"Team","the same team")

    And then the items that have the same team will become the same group.

    You just need to display pie chart based on the group one by one.

     For example:
    set the first pie chart's Items:   //display data of team1

    LookUp(GroupBy(List1,"Team","the same team"),Team="Team1").the same team

    set the second pie chart's Items:

    LookUp(GroupBy(List1,"Team","the same team"),Team="Team2").the same team

    ....

    Here's a doc about groupby function for your reference:

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-groupby

     

     

     

    Best regards,

  • bh4 Profile Picture
    33 on at

    Hi @v-yutliu-msft ,

     

    thank you. How does the query know how to sort based on status? I cant see a status reference in the below function?

     

    edit: the columns are "choice" type rather than plain text. could this interfere with the formula?

     

    Thanks

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 204 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard