Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Justas4478
Post Prodigy
Post Prodigy

Index repeating employee names to create Employee ID

Hi, I am trying to add new column to my table that serve as Employee ID since there is no in the data.

The only problem is that name repeats multiple times because of data. I know how it can be done if I dublicate table and remove other columns and dublicates.
But I was hoping it can some how be done without needing to do that. Maybe some conditional column.

Thanks.

Justas4478_0-1694606869965.png

 

1 ACCEPTED SOLUTION
mussaenda
Super User
Super User

Hi @Justas4478 ,

 

you can group your data by Employee name, and before expanding, add an index column. then expand.

 

mussaenda_0-1694609939184.png

 

I attached a sample file

View solution in original post

1 REPLY 1
mussaenda
Super User
Super User

Hi @Justas4478 ,

 

you can group your data by Employee name, and before expanding, add an index column. then expand.

 

mussaenda_0-1694609939184.png

 

I attached a sample file

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors