This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Hi,
I am trying write a Calculated column for below logic:
"If a value in Column 2 present anywhere in Column 1, return Yes else No"
Example:
| Column 1 | Column 2 | Result |
| 1 | 6 | No |
| 2 | 8 | No |
| 3 | 1 | Yes |
| 4 | 2 | Yes |
| 5 | 5 | Yes |
I appreceate any help!
Thanks
Solved! Go to Solution.
try this:
Exists = IF('Table'[Column 2] in ALL('Table'[Column 1 ]), "Yes", "No")
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI Reportingtry this:
Exists = IF('Table'[Column 2] in ALL('Table'[Column 1 ]), "Yes", "No")
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingCheck out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 30 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 63 | |
| 53 | |
| 31 | |
| 23 | |
| 23 |