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 / Filter and a formula q...
Power Apps
Answered

Filter and a formula question

(0) ShareShare
ReportReport
Posted on by 150

Hello everyone,

 

I have an Edit Form and one of the Data Cards is Qty Completed. I want to search through the data source and have it sum up all values based off another data card which is work order # and display in the Qty Completed field. Is this possible??

 

Thanks!

Categories:
  • Danny_L Profile Picture
    150 on at

    More info:

     

    My data source is an Excel File on OneDrive.

     

    Here's what I have and it's not populating:

     

    Sum(Filter(ComputerTest, Work_x0020_Order_x0020__x0023_ = DataCardValue17_1.Text),Qty_x0020_Completed)

     

  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Danny_L :

    Could you tell me:

    • What is Qty Completed field?(display in the Qty Completed field)A datacard?A textinput control?A DropDown control?
    • What is Qty_x0020_Completed's data type?
    • This formula is currently set in which property of which control?

     

     Sum(Filter(ComputerTest, Work_x0020_Order_x0020__x0023_ = DataCardValue17_1.Text),Qty_x0020_Completed)

     

    • Did you close this excel document?

    I assume there is a textinput control and Qty_x0020_Completed's data type is number.

    Please set the textinput control's Default property to:

     

     Sum(Filter(ComputerTest, Work_x0020_Order_x0020__x0023_ = DataCardValue17_1.Text),Value(Qty_x0020_Completed))

     

    Best Regards,

    Bof

     

  • Danny_L Profile Picture
    150 on at

    Ah, I missed the Value and the ) in my formula. That did the trick!

     

    Thank you.

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

#2
WarrenBelz Profile Picture

WarrenBelz 202 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard