Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hello,
Want to match tabel1 with table2 but I'm struggling a bit with the formula:
Match=LOOKUPVALUE(table1[Priority], table1[Relates to INC], table2[INC])
and get the alarm: A table of multiple values was supplied where a single
tabel1:
Ticket Priority Relates to INC
TT0001 1 INC005
TT0003 3 INC008
table2:
INC
INC005
INC006
Can you please help me with what I'm missing here?
Solved! Go to Solution.
Hello both - @v-ljerr-msft and @Greg_Deckler,
Managed to solve it, thank you.
did the following dax with no relationship and it worked (in the past has the relationship active - that was the cause of not working)
Priority checkup = LOOKUPVALUE('Table1'[Priority], 'Table1'[Relates to INC], 'Table2'[INC])
The problem that you have is that you most likely have multiple rows that match your criteria. I would suggest creating a relationship between your tables and then using a CALCULATE along with an function like MAX or MIN and a RELATED or RELATEDTABLE filter clause.
Hello @Greg_Deckler,
thanks for getting back to me in such a short time.
tried to follow your advice but not sure if this was what you were telling me, now I'm not getting any error but I can't see any values, (also done some rearrangement of the columns, as was thinking that ... it can't look for values that are further right than the column from where I want the value.)
forgot to copy the relations
Hi @remi,
Could you share a dummy pbix file which can reproduce the issue, so that we can better assist on it? You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading.
Regards
Hello both - @v-ljerr-msft and @Greg_Deckler,
Managed to solve it, thank you.
did the following dax with no relationship and it worked (in the past has the relationship active - that was the cause of not working)
Priority checkup = LOOKUPVALUE('Table1'[Priority], 'Table1'[Relates to INC], 'Table2'[INC])
User | Count |
---|---|
141 | |
113 | |
104 | |
77 | |
64 |
User | Count |
---|---|
135 | |
123 | |
101 | |
71 | |
61 |