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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
sprinklerguy
New Member

Linking data in groups of columns

Looking for some help here - I'm fairly new to Power BI.

 

I would like to link two sets of data - I've managed before on other projects but this one is proving tricky.

 

The project relates to thermocouples in different positions taking temperature measurements.

 

One set of data (Positions) is as follows:

 

ThermocoupleSectionDepth (mm)
Thermocouple 115
Thermocouple 2110
Thermocouple 3120
Thermocouple 4130
Thermocouple 5140
Thermocouple 6150
Thermocouple 725
Thermocouple 8210
Thermocouple 9220
Thermocouple 10230
Thermocouple 11240
Thermocouple 12250
Thermocouple 1335
Thermocouple 14310
Thermocouple 15320
Thermocouple 16330
Thermocouple 17340
Thermocouple 18350

 

The second set of data has the temperature values in time steps for each of these thermocouple (with nearly 700 rows) - a sample of which is below:

 

Time (s)Thermocouple 1Thermocouple 2Thermocouple 3
024.824.824.8
0.1724.824.824.8
0.3324.824.824.8
0.524.924.824.8
0.6724.824.824.8
0.8324.924.824.8
124.924.924.8
1.1724.924.924.8
1.3324.924.924.8

 

When trying to Manage Relationships I want to link the Thermocouple column in the Position data with the group of numbered Thermocouple columns in the temperature data, but I only seem to have the option to link to one specific Thermocouple rather than all of them.

 

The intention is to have a line chart showing all the Thermocouples (already achieved) with a slicer or two to filter by position (Position and Depth).

 

I'm sure I'm missing something fairly obvious such as a transformation or some sort of grouping option but I'm drawing a blank at the moment - any help appreciated.

 

Thanks in advance.

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@sprinklerguy , better you unpivot the second data

https://radacad.com/pivot-and-unpivot-with-power-bi
Transpose : https://yodalearning.com/tutorials/power-query-helps-transposing-data/

 

Then you can join or have a common table Thermocouple and analyze data together.

https://www.seerinteractive.com/blog/join-many-many-power-bi/

https://www.dropbox.com/s/op9lb78w9utdonz/Distinct%20from%20two%20Tables.pbix?dl=0

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@sprinklerguy , better you unpivot the second data

https://radacad.com/pivot-and-unpivot-with-power-bi
Transpose : https://yodalearning.com/tutorials/power-query-helps-transposing-data/

 

Then you can join or have a common table Thermocouple and analyze data together.

https://www.seerinteractive.com/blog/join-many-many-power-bi/

https://www.dropbox.com/s/op9lb78w9utdonz/Distinct%20from%20two%20Tables.pbix?dl=0

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thanks @amitchandak - thanks working really well now.

 

I originally thought some of my data had been lost but Power BI was being too clever and had turned on "High Density Sampling" - once I turned that off I can see all my lines in the graph and can filter as needed with the slicers.

 

Thanks!

Thanks for the quick reply @amitchandak - I'll try that out and let you know how I get on.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.