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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Lepaleo
New Member

Assign a property to a point from a property interval located in a different table

Hi,

I would please like to know how I could assign a property "X" to a table of punctual data (single depth points) by looking at a second table that contains this property as intervals (columns: "top depth", "bottom depth", "property X").

 

For example I have a sample "A" at a depth of 8600m (single point) in my first table (called "CCA" table) and I would like to assign to this point the value "PFMW" of the property "LITHOFACIES" from the second table (called "Facies", see table below) because at depth 8600m the corresponding "LITHOFACIES" value is "PFMW" in between 8500 and 8770m

 

Table 2 ("Facies"):

Lepaleo_0-1634036443170.png

 

How would be the best way to do this with powerBI, a formula? a link between tables?

 

Hope I am clear.

 

Many thanks for the great help.

3 REPLIES 3
V-pazhen-msft
Community Support
Community Support

@Lepaleo 

You could create a relationship between TOP depth columns in the 2 tables, then create a calculate column to get property X value into table2. 

 

property X = Related(Table 1[property X])

 

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

Thank you very much for the help.

 

My problem is that "top depth" is only available in table 2 not in table 1 since depths are intervals only in the table 2, in the table 1 depths are punctual so it is just "depth" and "depth" doesn't correspond in most cases to a "top" or "bottom depth" of an interval but is most of the time located in between the top and bottom depths of an interval not exactly at the same depth.

 

Thanks a lot again.

parry2k
Super User
Super User

@Lepaleo sorry it is not clear what you are looking for. Read this post to get your answer quickly.

https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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