Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Afternoon,
I'm trying to ascertain whether it is possible to add a column that displays a sequential number for each row that has a duplicate reference. For example I have a column of references where it is possible to have multiple rows. I wish to append a number to each reference based on row count number:
| Reference | Seq Row | Appended |
| 101 | 1 | 101-1 |
| 101 | 2 | 101-2 |
| 101 | 3 | 101-3 |
| 102 | 1 | 102-1 |
| 102 | 2 | 102-2 |
| 103 | 1 | 103-1 |
| 104 | 1 | 104-1 |
| 105 | 1 | 105-1 |
| 105 | 2 | 105-2 |
| 105 | 3 | 105-3 |
Is this possible?
Thanks in advance
Solved! Go to Solution.
@robcrockfordYou can do this in the Query Editor
1) Group By
2) Add Custom Column {1..[Count]}
3) Expand to New Rows
4) Remove Column
5) Merge Column (Rename resulting column if you'd like)
6) Close & Apply
Hope this helps! ![]()
@robcrockfordYou can do this in the Query Editor
1) Group By
2) Add Custom Column {1..[Count]}
3) Expand to New Rows
4) Remove Column
5) Merge Column (Rename resulting column if you'd like)
6) Close & Apply
Hope this helps! ![]()
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 76 | |
| 38 | |
| 31 | |
| 27 | |
| 26 |