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 All,
I have a set of data like this. For the ID, they have duplication under different "Record Date". What I want to do is to create a new column to check if the "ID" have duplication, it will show "Y" for the oldest record and "N" for the remaining. For the "ID" without duplication, it will always show "Y". Thank you.
| ID | Record Date | Expected Result |
| A | 2022-06 | Y |
| A | 2022-07 | N |
| A | 2022-08 | N |
| B | 2022-07 | Y |
| C | 2022-06 | Y |
| D | 2022-06 | Y |
| B | 2022-08 | N |
Solved! Go to Solution.
Hello,
Try this
Hello,
Try this
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |