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! Get ahead of the game and start preparing now! Learn more
Hi,
I have 2 columns (ID1 and ID2). I am required to create another column which displays "Yes" - if ID2 value is present in ID1 column and "No" - if not present, for every record.
Any help would be appreciated!
Thanks
Solved! Go to Solution.
@sv11 -
Does this work for your needs?
Column = IF(Table1[ID1]=Table1[ID2],"yes","no")
Proud to be a Super User!
@sv11 -
Does this work for your needs?
Column = IF(Table1[ID1]=Table1[ID2],"yes","no")
Proud to be a Super User!
Create a custom table with distinct on ID2. Then you can continue using calculate + filter.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 46 | |
| 42 | |
| 23 | |
| 18 |
| User | Count |
|---|---|
| 193 | |
| 123 | |
| 99 | |
| 67 | |
| 49 |