web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Best Practice for Addi...
Power Apps
Unanswered

Best Practice for Adding Items to Purchase Order

(0) ShareShare
ReportReport
Posted on by 5,325 Super User 2025 Season 2

I have Gallery1 (a purchase order).

I am currenlty using TextInput fields set to 'multiple lines of text' for the inputs 'Quantity', 'Description', 'Unit Price', and 'Total'.

The method does not allow me to calculate the 'Total' based on 'Unit Price' and 'Quantity'.

How can I achieve this goal, when I also need the ability to add one or multiple items to the order?

Phineas_0-1700776663184.png

 

Categories:
I have the same question (0)
  • Verified answer
    Phineas Profile Picture
    5,325 Super User 2025 Season 2 on at

    Figure it out. Switched to a 'Repeating table' in the Gallery.

    'Add' Button has - Collect(colItems, {intID: GUID(), rem:false})

    Gallery has - Filter(colItems, !rem)

    Phineas_0-1700793155181.png

     

     

  • efebo Profile Picture
    35 on at

    Hi @Phineas,

     

    I have the same requirement. Could you share the solution, please?

     

    Thanks in advance. 

  • Phineas Profile Picture
    5,325 Super User 2025 Season 2 on at

    I'm no expert.

    I just try to hammer it out, with the assistance of great folks here in the community.

    Have you tried the following?

    Place a Repeating table in the Gallery (The boxes and framework around it all are just a bunch rectangle icons with labels that have no boards).

    Place and 'Add' icon out side the gallery with - Collect(colItems, {intID: GUID(), rem:false})

    In the gallery items place - Filter(colItems, !rem)

    Add your TextInputs fields into the framework.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard