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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

LOOKUP, combining value on x and y axis

Hi, 

 

I am trying to extract a value from a table (Entalpy), which is a function of the x and y value. In the first column I have numbers representing temperature, and in the top row i have numbers representing pressure. For each temperature and pressure, a value is returned (see figure below). 

Line_0-1633524519911.png

In another table, I have a column with measured temperature and one with measured pressure.  

Line_1-1633525137251.png

My wish is that the measured values are matched with the corresponding values in table Entalpy, and the calculated value is returned.

 

Is this possible in Power BI, and if so how?

 

 

 

1 REPLY 1
lbendlin
Super User
Super User

Unpivot your Entalpy table to bring it into a usable format like this:   x|y|value

Then load both tables into your Power BI file and think about the rules for matching - most likely you want to find the closest matching value, but what if your data points sits exactly in the middle etc.

 

Please provide sanitized sample data that fully covers your issue. Paste the data into a table in your post or use one of the file services. Please show the expected outcome.

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.