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.
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!
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 |
---|---|
47 | |
26 | |
19 | |
14 | |
10 |
User | Count |
---|---|
58 | |
50 | |
44 | |
19 | |
18 |