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 / Formulas in PowerApps
Power Apps
Answered

Formulas in PowerApps

(0) ShareShare
ReportReport
Posted on by

Good day

 

I have a Gallery and need to SUM the invoice amount of all the PAID items.  My formula for the "Total Paid Invoices" textbox is as follows:

Text(Sum(Gallery1.AllItems,AmountTxtSearch),"###,###.00") && (StatusTxtSearch.Text="Paid")

PowerApps is not showing an error on the formula, however the result is "false".  The formula works fine before the "&&" statement, but I need to include it as I only want to SUM "Paid" invoices.

janineb_0-1668154323860.png

 

Your kind assistance would be appreciated.

 

 

 

Categories:
  • abc3 Profile Picture
    207 on at

    @janineb use Filter to check this Sum(Filter(Gallery1.AllItems,StatusTxtSearch.Text="Paid"),AmountTxtSearch),"###,###.00")

  • Verified answer
    janineb Profile Picture
    on at

    Thank you - working 100% after your assistance.

    Much appreciated

     

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

#2
M Bilal Khan Profile Picture

M Bilal Khan 323

#3
Mohsin Ali Profile Picture

Mohsin Ali 226

Last 30 days Overall leaderboard