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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
EVEAdmin
Post Patron
Post Patron

Display Text based on number ID

Hi all,

 

in the the table below, there is a field corresponding to the Employee ID. In my report, I would like to display the employee name instead of the ID. My options are:

  • add a calculated column
  • extract the name from the SQL data source

However, I'd like to learn whether that is something I can achieve dinamically, through a measure too.

Thank you.

 

 

Snag_4a31d5.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I guess you have an employee table with unique values, right?...if that is the escenario, make a relationship between the employee table (or whereever you have the employee names as unique) and the table you only have employee ID... after that you will be able to use the name column from that table everywhere in your model.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

I guess you have an employee table with unique values, right?...if that is the escenario, make a relationship between the employee table (or whereever you have the employee names as unique) and the table you only have employee ID... after that you will be able to use the name column from that table everywhere in your model.

@Anonymous thank you, appreciated.
I did not have that table but I do now. So simple, I just created. The solution will also serve for other similar situations.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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 Solution Authors