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 do a basic VLOOKUP between two columns and the result should be YES or NO. This is easily possible in Excel. Need your help in Power BI.
I have a two columns as shown below Ticket ID and Problem ID. I would like to search the Ticket ID in the Problem ID column (If it exists anywhere in Problem ID column). If yes then we need a new third column like below which should say Yes / No for Ticket ID column.
I want this resultant third column inside the same Table and not as a new calculated table. Need your help please
Ticket ID | Problem ID | Yes / No |
1 | 1 | Yes |
2 | No | |
3 | Yes | |
4 | 3 | No |
5 | Yes | |
6 | 5 | No |
Solved! Go to Solution.
Hi @Anonymous ,
New a calculated column with below DAX:
Yes/NO = IF(LOOKUPVALUE(Table2[Problem ID],Table2[Problem ID],Table2[Ticket ID])=BLANK(),"No","Yes")
Best regards,
Yuliana Gu
The formula above doesn't work! Look at the marked rows:
@v-yulgu-msft - could you please verify and help?
Hi @Anonymous ,
New a calculated column with below DAX:
Yes/NO = IF(LOOKUPVALUE(Table2[Problem ID],Table2[Problem ID],Table2[Ticket ID])=BLANK(),"No","Yes")
Best regards,
Yuliana Gu
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 |
---|---|
112 | |
100 | |
80 | |
64 | |
57 |
User | Count |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |