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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.