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 / Summing up new similar...
Power Apps
Unanswered

Summing up new similar value in column for bar graph

(0) ShareShare
ReportReport
Posted on by 2

Hi All,

I have encountered some issues in displaying the barchart figures that I want. I have looked up everywhere but cant find the right solution. Heres the issue :

 

This is my sharepoint list - Drupella Collection

Azrisaparwan_0-1677295569995.png

 

I would like to create a page on powerapp to input this data. So I created this screen : 

 

Azrisaparwan_1-1677295640497.png

The location was not able to be selected, so I have on the AddColumns('Drupella Collection',"Site",Location.Value) on items of the graph.  However, i wish to sum the location of drupella collected and time required per location. 

 

So I tried this formula -  

AddColumns(GroupBy('Drupella Collection',Location,"LocationData"),

                   "TotalDrupellaCollected",

                    Sum(LocationData,'Drupella Collected')

)

 

However it doesnt seem to run with some error.  I would like to get the total drupella collected then add the time required as another series.

 

Wonderin if anyone is able to assist? Greatly appreciate it 🙂

 

Categories:
  • WarrenBelz Profile Picture
    156,526 Most Valuable Professional on at

    Hi @Azrisaparwan ,

    You are just missing quotes around "Location"

    AddColumns(
     GroupBy(
     'Drupella Collection',
     "Location",
     "LocationData"
     ),
     "TotalDrupellaCollected",
     Sum(
     LocationData,
     'Drupella Collected'
     )
    )

     

    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

  • Azrisaparwan Profile Picture
    2 on at

    Hey,

    Thanks for replying. Tried that, still having an error. 

    2 errors -  expected a text,numeric, bolean, function grouby has invalid argument

  • WarrenBelz Profile Picture
    156,526 Most Valuable Professional on at

    Hi @Azrisaparwan ,

    What type of fields are Location and 'Drupella Collected' ? I also assume they are both fields in 'Drupella Collection'

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard