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 / Sum of collection base...
Power Apps
Answered

Sum of collection based on selection in the gallery

(0) ShareShare
ReportReport
Posted on by 235

Hi everyone, I am new to using powerapps. How can I sum the total of selected values in the gallery based on the collection when I hit the add button? Thanks, guys! Cheers.

rbalza_0-1629427184429.png

 

Here's my add button code.

Collect(
 Col1,
 {
 'Job Category': DataCardValue31.SelectedText,
 'Entity Type': DataCardValue39.SelectedText,
 'Job Type': DataCardValue40.SelectedText,
 'Standard Invoice': DataCardValue4.Text,
 'Min Fee': DataCardValue5.Text,
 Qty: DataCardValue25.Text,
 'Complexity Value': DataCardValue3.Text,
 'Nominal Value': Value(DataCardValue5.Text) * Value(DataCardValue25.Text),
 Total: Value(DataCardValue5.Text) * Value(DataCardValue25.Text) * Value(DataCardValue3.Text)
 }
)

 

Categories:
  • Verified answer
    rbalza Profile Picture
    235 on at

    Solved: I used 

    "Text: " & Sum(Col1,Total)

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 225

#3
M Bilal Khan Profile Picture

M Bilal Khan 192

Last 30 days Overall leaderboard