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 / PowerApps PieChart - N...
Power Apps
Answered

PowerApps PieChart - Need to show the count and text

(1) ShareShare
ReportReport
Posted on by 7

Hello Folks,

 

Getting stuck with PowerApps PieChart hence need some help.

 

The requirement is to show 2 values as "Text on Title" and "Count or Percentage".

 

I tried the following formula however not getting the correct results - Ideally it should show respectively as follows:

GENTS (1)
LADIES (2)
CHILDREN (1)

 

 

AddColumns(GroupBy(Filter(colReport,DT07072024="Present"),Title,GroupedItems),Count,CountRows(GroupedItems))

 

 

 

List

fmourtaza1_0-1720332129439.png

 

 PieChart

fmourtaza1_1-1720332162492.png

 

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    154,494 Most Valuable Professional on at

    Hi @fmourtaza1 ,

    The chart is displaying exactly what you have asked it to do as you can only put one value on the Label, however you can do this

    AddColumns(
     AddColumns(
     GroupBy(
     Filter(
     colReport,
     DT07072024 = "Present"
     ),
     Title,
     GroupedItems
     ),
     Count,
     CountRows(GroupedItems)
     ),
     LabelText,
     Title & " (" & Count & ")"
    )

    and use LabelText on it.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

  • Moise Profile Picture
    7 on at

    @WarrenBelz Works awesome!! Thanks man

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 549 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 225 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 224

Last 30 days Overall leaderboard