Forum Discussion

JSIQUEI-YYC-ENB's avatar
3 years ago
Solved

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

Hi there,

I have a table with the following columns:

 

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:

 

any help will be really appreciated. 

 

Thanks! 

  • You can use the allexcept function 

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

     

1 Reply

  • You can use the allexcept function 

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