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 / Increment by 1 a text ...
Power Apps
Answered

Increment by 1 a text input of a gallery per item

(0) ShareShare
ReportReport
Posted on by 137

Hi,

 

I would like to change the quantity per Item and not for the entire gallery

 

carlosguzmanbpa_0-1708301107587.png

 

I tried also using a collection, but can't set the value Quantity of the collection {Quantity: Quantity + 1} as it does not recognize the Quantity name after the ':' and it does not make sense to call ThisItem.Quantity.

 

Thanks

Categories:
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    on at

    Hi @carlosguzmanbpa ,

     

    Please add a 'Quantity' number type filed for the collection. And set the '+' button's OnSelected property to:

    Patch(CollectionName,ThisItem,{Quantity:ThisItem.Quantity+1})

     

    Best Regards,

    Bof

  • carlosguzmanbpa Profile Picture
    137 on at

    Hi @v-bofeng-msft ,

    I initilized the collection in the OnVisible property of the screen but is not retrieving any data...

    OnVisible= ClearCollect(ItemQuantities, 'Product List')

  • cwebb365 Profile Picture
    3,294 Most Valuable Professional on at

    I forget to often but have you “switched” screens?

  • v-bofeng-msft Profile Picture
    on at

    Hi @carlosguzmanbpa ,

     

    Could you please tell me:

    Does the 'Product List' include a 'Quantity' column?

     

    Best Regards,
    Bof

  • carlosguzmanbpa Profile Picture
    137 on at

    @v-bofeng-msft yes it does

  • carlosguzmanbpa Profile Picture
    137 on at

    what do you mean?

  • carlosguzmanbpa Profile Picture
    137 on at

    For deeplinking?

  • carlosguzmanbpa Profile Picture
    137 on at

    I reloaded the app and is working now, 2nd time it happens thank you guys

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 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard