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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
chris43
New Member

relate events in 1 table to lines in another table

I have a table with rows for individual events occuring on pieces of equipment in a factory. I also have another table in the same report that has shiftly data for each piece of equipment. I want to make a column in the original table or in another table that finds a piece of data in the second table at the time the event occurred and then another column that finds the same data in the second table 36 hours later. 

 

What would be the best way to achieve this?

1 REPLY 1
amitchandak
Super User
Super User

@chris43 , You can write down a cross table new column

 

refer 4 ways (related, relatedtable, lookupvalue, sumx/minx/maxx with filter) to copy data from one table to another
https://www.youtube.com/watch?v=Wu1mWxR23jU
https://www.youtube.com/watch?v=czNHt7UXIe8

 

Example

new column in Table1

Minx(filter(Table1, Table1[event] =table2[event] && Table2[Time]> Table1[Time]), Table2[Time])

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors