Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It 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!
User | Count |
---|---|
53 | |
35 | |
20 | |
15 | |
14 |
User | Count |
---|---|
94 | |
76 | |
36 | |
22 | |
18 |