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 / How to group 2 separat...
Power Apps
Unanswered

How to group 2 separate colums for Pie Chart

(0) ShareShare
ReportReport
Posted on by 65

Hi Guys, ,

I have been trying every thing to get this right but no success. I have a sharepoint list and I want to create a piechart using 2 of the columns. The first column is called Lender and is made up of various lenders , WBC,CBA,NAB ANZ etc. and then the other column is LoanAmount obviously with the various loan amounts. I can group the Lenders OK but then cannot get the loan amount to total per lender to show on the pie chart who our best lender is etc. Any help would be greatly appreciated.

 

Thanks

Gary

Categories:
  • gcmfaizan Profile Picture
    1,022 on at

    @GARYRU you can do this somehow like this way,

    ClearCollect(GroupedData,
     AddColumns(
     GroupBy(YourSharePointList, "Lender", "LoanGroup"),
     "TotalLoanAmount", Sum(LoanGroup, LoanAmount)
     )
    )


    please check datasource name and column names.


    If this is the answer for your question, please mark the post as Solved.
    If this answer helps you in any way, please give it a like.

     

    Thanks!

  • GARYRU Profile Picture
    65 on at

    Hi, thanks for the reply. That formula doesn't work. These are the columns that I have in the list

    GARYRU_0-1699306205331.png

    This is how the formula shows:

    GARYRU_1-1699306269591.png

    The error says: Name isn't valid. 'LenderCountCollection' isn't recognized.

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 339 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 289

#3
Mohsin Ali Profile Picture

Mohsin Ali 228

Last 30 days Overall leaderboard