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 / Best Practice for Addi...
Power Apps
Answered

Best Practice for Adding Items to Purchase Order

(0) ShareShare
ReportReport
Posted on by 5,331 Moderator

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,331 Moderator 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,331 Moderator 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 914

#2
11manish Profile Picture

11manish 617

#3
Valantis Profile Picture

Valantis 598

Last 30 days Overall leaderboard