Under some pressure. What would be the correct formula to calculate total amount per Quantity
Here my SharePoint List call -
PowerApps - l'm able to get the total sum on the whole "Price" Column
Trying to figure out the right formula when user input the number of Quantity it equal to the Total Amount
Hope i explain myself clearly.
Thank you so much in advance
Solved! Go to Solution.
Hi @oappdev
If the price would not be dynamic, then set a variable; Set(UnitPrice,49.59).
Then in the total, put: UnitPrice*Quantitytxt
@eka24 Stupid question. I have created the variable Set(UnitPrice,49.59)
l'm using a Patch() to add to my gallery. How would l apply the variable to Patch()?
Having fun learning something new everyday from PowerApps
Thank you in advance
Onselect of AddButton:
Set(UnitPrice,49.59);
Patch({Put all the formula.........)
Replace the price with- Price: Value(Datacardvalue1.Text)* UnitPrice
Hi @oappdev
Thank you so much @yashag2255
Question
I when and add the following to OnStart is this correct
Set(ItemPrice, LookUp(DataSourceName, ProductName = ProductCombobox.Selected.ColumnName).Price)
Hi @oappdev
OnStart does not run in the PowerApps Maker previewer by default - only the published App's player. To run OnStart during app editing, You may want to put it in OnVisible of the first screen (remember to toggle screens back and forth when testing). Or, remember to, from PowerApps maker, press the OnStart and press "Run OnStart" or else it won't run.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
198 | |
72 | |
50 | |
41 | |
30 |
User | Count |
---|---|
256 | |
113 | |
95 | |
91 | |
75 |