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

Join 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.

Reply
HMK273
Frequent Visitor

Calculated column that compares multiple columns and returns latest date/ highest value

Hello,

I'm trying to create a calculate/measure column which can find the recent date of 4 columns (C1, C2, C3, C4) and avoid empty values. As what I've done in Excel in Power Bi tables (not queries) by finding the recent date of 4 columns (C1, C2, C3, C4) and avoiding empty values.


Thanks in advance.

HMK273_1-1668436024670.png

HMK273_2-1668436904498.png

 

 

 

1 ACCEPTED SOLUTION
rsbin
Super User
Super User

@HMK273 ,

This Calculated Column should work for you:

MaxDate = MAX([C4], ( MAX( [C3], ( MAX( [C1], [C2] )))))

Regards,

View solution in original post

2 REPLIES 2
rsbin
Super User
Super User

@HMK273 ,

This Calculated Column should work for you:

MaxDate = MAX([C4], ( MAX( [C3], ( MAX( [C1], [C2] )))))

Regards,

HMK273
Frequent Visitor

@rsbinThank you very much, it works.

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.