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.
Hi
I am trying to make Table 3 from Table 1 and Table 2.
Since they are not completely matching, I am not quite sure how I can do a lookupvalue (or other dax).
Any help would be much appreciated.
Solved! Go to Solution.
@dogburalHK82
Please try
Table3 =
GENERATE (
VALUES ( Table1[Item Number] ),
SELECTCOLUMNS (
FILTER ( Table2, CONTAINSSTRING ( Table1[Item Number], Table2[Item Number] ) ),
"Category", Table2[Category]
)
)
Try
Table3 =
MAXX (
FILTER ( Table2, CONTAINSSTRING ( Table1[Item Number], Table2[Item Number] ) ),
Table2[Category]
)
lookupvalues=LOOKUPVALUE('table3','Table1[item number],'Table2[category])
@dogburalHK82
Please try
Table3 =
GENERATE (
VALUES ( Table1[Item Number] ),
SELECTCOLUMNS (
FILTER ( Table2, CONTAINSSTRING ( Table1[Item Number], Table2[Item Number] ) ),
"Category", Table2[Category]
)
)
@tamerj1 Great thank you.
If I want to create one calculated column next to Item number column in Table 1, what should I use?
Try
Table3 =
MAXX (
FILTER ( Table2, CONTAINSSTRING ( Table1[Item Number], Table2[Item Number] ) ),
Table2[Category]
)
You mentioned that you want to create a calycolumn in table1 but seems that you are creating a measure!
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
Check out the May 2024 Power BI update to learn about new features.
User | Count |
---|---|
71 | |
38 | |
21 | |
20 | |
13 |
User | Count |
---|---|
125 | |
41 | |
38 | |
26 | |
24 |