Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Table 1
index
0
3
7
Table 2
0
1
2
3
4
5
6
7
What I want is to add a new column in table 2, I will use the first equal value in Table 1 for next rows until new value match.
here is my expectation:
Table 2
index new column
0 0 (first matching in table 1)
1 0
2 0
3 3 (first matching in table 1)
4 3
5 3
6 3
7 7 (first matching in table 1)
Solved! Go to Solution.
@tinye
Add the following new column in Table two:
New Col =
CALCULATE(
MAX(Table1[Index]),
Table1[Index] <= EARLIER(Table2[Value])
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@tinye
Add the following new column in Table two:
New Col =
CALCULATE(
MAX(Table1[Index]),
Table1[Index] <= EARLIER(Table2[Value])
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
86 | |
82 | |
64 | |
63 | |
56 |
User | Count |
---|---|
171 | |
113 | |
110 | |
73 | |
73 |