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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Calculated column max date

How would I make a calculated column for Latest Customer Renewal Date in this case?

 

CustomerProductRenewal dateLatest Customer Renewal Date (desired column)
AChair4/15/204/20/20
AChair4/20/204/20/20
BChair5/2/205/10/20
BChair5/10/205/10/20
1 ACCEPTED SOLUTION
camargos88
Community Champion
Community Champion

Hi @Anonymous ,

 

Try this code for a calculated column:

 

MaxDate = CALCULATE(MAX('Table'[Renewal date]); FILTER('Table'; 'Table'[Customer] = EARLIER('Table'[Customer])))


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



View solution in original post

2 REPLIES 2
camargos88
Community Champion
Community Champion

Hello @jack421 ,

Try this code for a computed column:

MaxDate á CALCULATE(MAX('Table'[Renewal date]); FILTER('Table'; 'Table'[Customer] - EARLIER('Table'[Customer])))


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



camargos88
Community Champion
Community Champion

Hi @Anonymous ,

 

Try this code for a calculated column:

 

MaxDate = CALCULATE(MAX('Table'[Renewal date]); FILTER('Table'; 'Table'[Customer] = EARLIER('Table'[Customer])))


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.