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
jdevalk77
Frequent Visitor

New column based on MAX[Date] in other column

I have 3 tables, [resource] -> [timesheet] -> [project]

Resource table:

IDResource
1Paul
2Frank


Timesheet table:

ResourceIDProjectIDDate
1627.11.2023
2727.11.2023
1828.11.2023
2928.11.2023


Project table:

IDProjectName
6SE blablabla
7TE blablabla
8UE blablabla
9VE blablabla


Now I'd like to add a column to the reource table with the left 2 characters of the latest ProjectName they've worked on. So in case of Paul, it would result in "UE" and in case of Frank it would result in "VE"
Can anyone help me with the column DAX formula?

1 ACCEPTED SOLUTION
Ahmedx
Super User
Super User

3 REPLIES 3
jdevalk77
Frequent Visitor

It's not working as it is not the MAX[projectname]. It should be the projectname where they worked on the latest.

Anyone?

which is not what was asked, I did it.
if you need the full name of the project, just write it like this

Screenshot_1.png

Ahmedx
Super User
Super User

pls try

Screenshot_2.png

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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
Users online (4,572)