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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It 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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors