Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
LT_Maverick
Frequent Visitor

Need to setup Power BI to work similar to XLOOKUP function with multiple criteria validation

I was able to develop an excel workbook using Xlookup multiple criteria function to pull information and populate it in the coordinating cells. 

 

How my Xlookup works:

Similar to the table below where I paste the data in the first four columns and XLOOKUP populates under the appropriate "WHSE" warehouse and the quantity that they show available, it leaves the cell blank if no qty is available. 

 

I want to be able to eliminate the copy and paste piece of this and be able to "select" which ever warehouse 1-6 and it list all products with a zero qty available and then populate in the coresponding cells the qty available in the other warehouses. 

 

And yes somtimes there will be things in one warehouse and not any other and that's okay. If I need to format/ clean my data in a different manner I am willing to do that. I just believe this functionality will help with overstock and product disruptions. Because I would like to use this in reverse as well. By looking at a WHSE that has no usage but lots of stock on hand, and I want to identify other warehouses that have a greater demand that will be able to use up the excess stock. 

 

I have the data loaded in Power BI, I just do not know how to format the visual. 

Screenshot 2024-06-04 Xlookup function .jpg

 

This is the formula I use in excel to pull the data and populate it in the workbook. 

Screenshot 2024-06-04 Xlookup function 2.jpg

 

This is how clean I would like it to look. 

WHSE (VARIABLE)PRODUCTQTY AVAILAVG USAGEWHSE 1WHSE 2WHSE 3WHSE 4WHSE 5WHSE 6
WHSE 61001307607.811 18  
WHSE 61001587203.75  1 11 
WHSE 610018536034.163     
WHSE 61002385205.25  2 7 
WHSE 610097762021.5 5  2 
3 REPLIES 3
LT_Maverick
Frequent Visitor

Your sample data doesn't seem to match your expected output.  Here's an example

 

lbendlin_0-1717617161485.png

where did the 13 disappear to?

 

lbendlin
Super User
Super User

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

Do not include sensitive information or anything not related to the issue or question.

If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Please show the expected outcome based on the sample data you provided.

Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors