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!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live 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 ReportingThe Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 47 | |
| 39 | |
| 23 | |
| 23 |
| User | Count |
|---|---|
| 144 | |
| 106 | |
| 63 | |
| 38 | |
| 31 |