This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. 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.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 24 | |
| 22 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 29 | |
| 22 | |
| 22 | |
| 20 | |
| 20 |