cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SilvermarD
Frequent Visitor

Global Variable

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Drrickryp
Super User
Super User

@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.  

View solution in original post

1 REPLY 1
Drrickryp
Super User
Super User

@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.  

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (3,469)