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

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
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,146)