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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
AbrahamNaveed
New Member

How to retrieve specific column value from different table

Hello experts - I need help in power bi to combine 2 tables in a way to populate a specific column value from different table.

I've 2 tables: MF table gets data from one source and ETL table gets data from another source.

In MF table, I need to populate start or end time from etl table for jobs listed in a row. Please see below image.

 

 

IMG_6847.jpeg

2 REPLIES 2
v-yanimei-msft
Community Support
Community Support

Hi all , 

@RossEdwards , thanks for your concern about this case, I have some additions for problem solving.

@AbrahamNaveed , thank you for giving a specific description of the problem. Based on your description, I will give you the following steps to solve the problem.

1.The test table MF Table and ETL Table.

vyanimeimsft_0-1711516839022.pngvyanimeimsft_1-1711516843592.png

2.Notice that the data type should be same.

vyanimeimsft_2-1711516857875.pngvyanimeimsft_3-1711516866694.png

vyanimeimsft_4-1711516880037.png

vyanimeimsft_5-1711516887007.png

3.New column Start_time, End_time, and input their DAX code.

 

 

Start_time = 
IF(CONTAINSSTRING('MF Table'[Start time],"Retrieve"),LOOKUPVALUE('ETL Table'[Start time],'ETL Table'[Process],'MF Table'[Process]),'MF Table'[Start time])
End_time = 
IF(CONTAINSSTRING('MF Table'[End time],"Retrieve"),LOOKUPVALUE('ETL Table'[End time],'ETL Table'[Process],'MF Table'[Process]),'MF Table'[End time])

 

 

vyanimeimsft_6-1711516937108.png

4.Add Process, Start_time, End_time to Columns.

5.The outcome is in the following picture.

vyanimeimsft_7-1711516953100.png

 

 

Best Regards,

Caroline Mei

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

RossEdwards
Solution Sage
Solution Sage

Using the Power Query Editor, you will have 2 different queries which bring in your MF and ETL tables from their verious sources.

In your ETL table, use the "Merge Tables" button to do a LEFT join with the MF table.  The join will be done using the Process column, since thats your unique value thats common between both tables.

In the next step, you'll see a merged column that appeared from this join.  Click the button in the column name and you'll get the option to split out the columns you need.  Just select the date range columns.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.