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

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
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
Super User III
Super User III

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.

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (7,155)