We're giving away 30 tickets for FREE! Share your story, your vision, or your hustle and tell us why YOU deserve a ticket.
Apply nowWin a FREE 3 Day Ticket to FabCon Vienna. Apply now
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 |
---|---|
13 | |
12 | |
8 | |
8 | |
6 |
User | Count |
---|---|
28 | |
19 | |
13 | |
11 | |
7 |