Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello -
I have 2 tables in my model that I am trying to 'merge' the data together. I am looking to pull one data element from Table1 and put it in Table2. The two tables have a relationship based on the Transaction ID (but both tables are joined to a calendar table so I cannot make this relationship active). The tables are very large, so I do not really want to use a calculated column in the table.
Table 1 Table 2 Transaction ID Asset Transaction ID Approval Date AAA123 1 AAA123 1/1/2018 AAA123 2 AAA345 2/1/2018 AAA123 3 AAA345 4
So I am trying to get the approval dates into Table1 the most efficient way possible, without causing performance issues in my report. (Table 1 has millions of rows of data).
Thanks for any help
Ryan
Solved! Go to Solution.
If the tables are not linked with the relationship then you can use below method
LOOKUPVALUE = LOOKUPVALUE(Table2[Approval Date],Table2[Transaction ID],Table1[Transaction ID])
Hope this helps
Use the function Related = RELATED(Table2[Approval Date])
Hope this helps
Hey @Kasunpathirana I cannot get this to work because the relationship between the 2 tables is not active. Power BI will not let me make it active due to both tables being joined to the Calendar table.
If the tables are not linked with the relationship then you can use below method
LOOKUPVALUE = LOOKUPVALUE(Table2[Approval Date],Table2[Transaction ID],Table1[Transaction ID])
Hope this helps
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
62 | |
61 | |
55 | |
38 | |
26 |
User | Count |
---|---|
85 | |
60 | |
45 | |
41 | |
39 |