Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello experts,
I ran into this question and hope to get your advice on it.
I have two tables:
Table 1: Item, Date
Table 2: Item, Date, Value
I want to be able to find the most recent date from Table2 that before Table1 date, and also get the value.
I have been tried with Calculated Columns but didn't look right:
I tried measures but but didn't work well.
Solved! Go to Solution.
@XR043 , new column in table 1
MAX(Filter(T2,T2[Time] =t1[Time] &&T2[Item] =T1[Item]), T2[Value])
refer 4 ways (related, relatedtable, lookupvalue, sumx/minx/maxx with filter) to copy data from one table to another
https://www.youtube.com/watch?v=Wu1mWxR23jU
https://www.youtube.com/watch?v=czNHt7UXIe8
@XR043 , new column in table 1
MAX(Filter(T2,T2[Time] =t1[Time] &&T2[Item] =T1[Item]), T2[Value])
refer 4 ways (related, relatedtable, lookupvalue, sumx/minx/maxx with filter) to copy data from one table to another
https://www.youtube.com/watch?v=Wu1mWxR23jU
https://www.youtube.com/watch?v=czNHt7UXIe8
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
105 | |
93 | |
75 | |
62 | |
50 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |