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
Answered

Pie Chart issues

(0) ShareShare
ReportReport
Posted on by 3

Hi all, new power apps user here and I'm trying to create a pie chart to display some data.

 

mharper5_0-1682432646596.png

Essentially what I need is to combine the values that have the same name rather than them being separate. Unfortunately I don't have any access to Power BI Tiles. Sorry if this isn't quite up to par with the usual problems that get posted here. 

 

Thanks in advance for any help!

Categories:
I have the same question (0)
  • Verified answer
    charlessexton Profile Picture
    11 Super User 2024 Season 1 on at

    I believe I have a solution for you. I've used this table as my example items:

     

     

     Table(
     { Zone: 1, Score: 25 },
     { Zone: 2, Score: 25 },
     { Zone: 1, Score: 25 },
     { Zone: 3, Score: 25 }
     )

     

     

     

    What you want to do is group the items and them sum a particular column. You would do it like this:

     

     

    AddColumns(
     GroupBy( ITEMS, "Zone", "Grouped" ),
     "Total",
     Sum( Grouped, Score )
    )

     

     

    That code would go in the 'Items' for your pie chart control. Just replace the ITEMS with the actual items from your data source, and change Zone and Score to whatever is relevant for you.

     

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 366 Most Valuable Professional

#2
11manish Profile Picture

11manish 184

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 99 Super User 2026 Season 1

Last 30 days Overall leaderboard