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 Apps
Answered

Global Variable

(0) ShareShare
ReportReport
Posted on by 23

Hello

 

New to this PowerApp gig and are having a brain block with setting an individual global variable.  Have set up a shopping basket and when adding items to shopping basket it shows as the last quantity inputted.  How do I individualize each quantity inputted and seem to be missing the obvious.

 

Collect(colshoppingcart,{Title:ThisItem.Title,ProductPrice:ThisItem.Price,QTY:QtyRequired.Text,SubTotal:(QtyRequired*ThisItem.Price)});Set(varQtyRequired,QtyRequired.Text);Set(varShowSuccess, true);Reset(QtyRequired) 

 

Thanks in advance.

Categories:
I have the same question (0)
  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @SilvermarD 

    It is not clear to me why you are setting these variables.  Are they being used somewhere else in your app?  Perhaps a screenshot of the gallery where the items are selected would help.  

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard