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! Learn more

Reply
tomperro
Helper V
Helper V

Combining Latest Date From Two Table

I have a matrix table showing latest dates of various tests employess have taken. The tests are in 2 seperate tables so I am showing the latest date of each test but I am getting 2 columns because I need max date for each test.

Example:
Test Table 1

EmployeeIDTest NumberDate
1111111/1/2020
1111112/2/2020
1111333/3/2020

 

 

Test Table 2

EmployeeIDTest NumberDate
1111aa11/11/2020
2222bb2/22/2020
3333cc3/30/2020

 

What I am showing in BI

Matrix Table

EmployeeIDTest NumberDate (Test Table 1)Date (Test Table 2)
1111112/2/2020 
111133 3/3/2020 
1111aa 11/11/2020 

 

 

What I want to show

EmployeeIDTest NumberDate 
1111112/2/2020
1111333/3/2020
1111aa11/11/2020
1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

Ensure both tables have the same headings and append them.  To your visual, drag ID and Test and write this measure

Last date of test = max(Data[Date])

Format this measure as Date.

Hope this helps. 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

3 REPLIES 3
Ashish_Mathur
Super User
Super User

Hi,

Ensure both tables have the same headings and append them.  To your visual, drag ID and Test and write this measure

Last date of test = max(Data[Date])

Format this measure as Date.

Hope this helps. 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
freginier
Super User
Super User

In dax you can create a calculated column to concatenate column from tab1 and tab2 using CONCATENATE and RELATED functions. 

 

How do I do this?

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