Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
I have two tables, each are similar except that they contain different types of measured values, for example one contains pressure data, and the other has temperature data.
I would like create a new table that merges the two tables so that I have the two measurements, pressure and temperature, in the same table for each id and time.
As an example, here are the two source tables I would like to merge. My apologies for the formatting. The forum site isn't loading properly for me.
PRESSURE_TABLE TEMPERATURE_TABLE
id time pressure id time temperature
A 2019-12-13 1:00 5000 A 2019-12-13 1:00 12
B 2019-12-13 1:00 5200 B 2019-12-13 1:00 15
The resulting table after the merge would look like this:
id time pressure temperature
A 2019-12-13 1:00 5000 12
B 2019-12-13 1:00 5200 15
Hi @PowerOper
if i understand correct it shoud be enough to add calculated column to table pressure or temperature like this:
Temperature = lookupvalue('TEMPERATURE_TABLE'[temperature];
'TEMPERATURE_TABLE'[id];[id]
'TEMPERATURE_TABLE'[time];[time]
)
do not hesitate to give a kudo to useful posts and mark solutions as solution
it means that you have more then one row that satisfied both of your conditions.
you need to check data or define another rule
do not hesitate to give a kudo to useful posts and mark solutions as solution
thats great! good luck!
do not hesitate to give a kudo to useful posts and mark solutions as solution
so, @PowerOper we need to look at your data model to help you
do not hesitate to give a kudo to useful posts and mark solutions as solution
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
25 | |
12 | |
9 | |
9 | |
9 |
User | Count |
---|---|
21 | |
14 | |
14 | |
13 | |
13 |