Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 103 | |
| 80 | |
| 64 | |
| 50 | |
| 45 |