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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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

Top Solution Authors