cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Vinoth1_
Helper IV
Helper IV

How to lookup value from Excel and display in powerapp?

Hi All,

I have an excel where list of orders no. & their quantity are listed.

 

Excel_qty.JPG

 

I have a sharepoint list where on scan it will list the Order no with the scan time.

 

SP.JPG

 

Powerapps

App1.JPG

 

Quantity_Lookup lable text property

If(BarcodeScanner.Value & Machine_Dropdown.SelectedText.Value=LookUp(Table1,Orderno=BarcodeScanner.Value && Machine.Value = Machine_Dropdown.SelectedText),Quantity)



Scan button - on scan property//

Patch(Orderscan,Defaults(Orderscan),{Orderno:BarcodeScanner.Value,Scantime:Now(),Machine:Machine_Dropdown.SelectedText})

actually, when i scan barcode, it patch the result of orderno,machine,& date but just for display purpose i need to lookup from the excel list orderno,machin,quantity the matching value & display the qualtity of that particular orderno scanned and the machine selected in Quantity_lookup lable.

 

I am stuck with the formula to make it work. My formula for lookup the quantity of the matching orderno scan & machine selected was wrong.

 

Any help is highly appreciated

 

Thanks in advance.

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-siky-msft
Community Support
Community Support

Hi @Vinoth1_ ,

 

Please try this to Text of OrderQty Label:

LookUp(Table1,Orderno=BarcodeScanner.Value && Machine = Machine_Dropdown.Selected.Value).Quantity

Hope this helps.

Sik

 

View solution in original post

3 REPLIES 3
eka24
Super User
Super User

Try

LookUp(Table1, Orderno=OrderNoTextBox.Text, Quantity)

 

Change OrderNoTextBox to the label that holds the order number on the form.

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

v-siky-msft
Community Support
Community Support

Hi @Vinoth1_ ,

 

Please try this to Text of OrderQty Label:

LookUp(Table1,Orderno=BarcodeScanner.Value && Machine = Machine_Dropdown.Selected.Value).Quantity

Hope this helps.

Sik

 

View solution in original post

Thanks.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,329)