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
PowerBITestingG
Resolver I
Resolver I

Max date of column based on 2 columns

Hi all,

 

Got 3 columns and I need to a new column that returns the max of Date that is between Max Fiscal Date and Min Fiscal date. Any ideas?

 

Date   Max Fiscal Date  Min Fiscal Date   New Max Date
14/09/22   28/09/22    1/09/22    14/09/22
14/10/22   30/10/22    29/10/22    18/10/22
18/10/22 30/10/22 29/10/22   18/10/22

 

 

Thank you

 

1 ACCEPTED SOLUTION
speedramps
Super User
Super User

Hi PowerTestingG

 

Please consider this solution.

 

When I have helped you, please help me with kudos.

Click the thumbs up if you like me trying to help you.

And click Accept As Solution if I have fixed your problem.

One problem per ticket please.
If you need to expand or change your problem then please accept this solution and raise a new ticket.

 
New max date =
CALCULATE(
MAX('Table'[Date]),
ALLEXCEPT('Table','Table'[Min Fiscal Date])
)
 
speedramps_0-1651595925432.png

 

 

 

View solution in original post

1 REPLY 1
speedramps
Super User
Super User

Hi PowerTestingG

 

Please consider this solution.

 

When I have helped you, please help me with kudos.

Click the thumbs up if you like me trying to help you.

And click Accept As Solution if I have fixed your problem.

One problem per ticket please.
If you need to expand or change your problem then please accept this solution and raise a new ticket.

 
New max date =
CALCULATE(
MAX('Table'[Date]),
ALLEXCEPT('Table','Table'[Min Fiscal Date])
)
 
speedramps_0-1651595925432.png

 

 

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.