Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Best Practice for Adding Items to Purchase Order

(0) ShareShare
ReportReport
Posted on by 4,702 Super User 2025 Season 1

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:
  • Phineas Profile Picture
    4,702 Super User 2025 Season 1 on at
    Re: Best Practice for Adding Items to Purchase Order

    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.

  • efebo Profile Picture
    35 on at
    Re: Best Practice for Adding Items to Purchase Order

    Hi @Phineas,

     

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

     

    Thanks in advance. 

  • Verified answer
    Phineas Profile Picture
    4,702 Super User 2025 Season 1 on at
    Re: Best Practice for Adding Items to Purchase Order

    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

     

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard