The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
21 | |
18 | |
15 | |
14 | |
13 |
User | Count |
---|---|
37 | |
35 | |
21 | |
19 | |
18 |