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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply

How to Filter a Max or Min Date based on two different Columns

Hi there,

I have a table with the following columns:

JSIQUEIYYCENB_1-1693939801275.png

 

and I would need two meassures:

- One measure to filter the Ealiest Start Date filtered by Project and Task columns

- One measure to filter the Latest Finish Date filtered by Project and Task columns

 

The desire outcome should be:

JSIQUEIYYCENB_0-1693939766585.png

 

any help will be really appreciated. 

 

Thanks! 

1 ACCEPTED SOLUTION
vicky_
Super User
Super User

You can use the allexcept function 

e.g. Early Start = CALCULATE(MIN(Table[Start]), ALLEXCEPT(Table, Table[Project], Table[Task]))

 

View solution in original post

1 REPLY 1
vicky_
Super User
Super User

You can use the allexcept function 

e.g. Early Start = CALCULATE(MIN(Table[Start]), ALLEXCEPT(Table, Table[Project], Table[Task]))

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.