cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors