Forum Discussion
crolland
3 years agoNew Member
DAX Calculate - Filter max date on several columns
My original table is Project / UpdateDate / FiscalYear A / 2022-04-01 / FY2022-2023 B / 2022-05-01 / FY2022-2023 A / 2022-05-01 / FY2022-2023 A / 2023-04-01 / ...
Anonymous
3 years agoNot applicable
Hi crolland ,
Please try below steps:
1. below is my test table
Table:
2. create a measure with below dax formula
Measure =
VAR cur_fy =
SELECTEDVALUE ( 'Table'[Fiscal Year] )
VAR tmp =
FILTER ( ALL ( 'Table' ), 'Table'[Fiscal Year] = cur_fy )
RETURN
MAXX ( tmp, [Update Date] )
3. add a table visual with [FiscalYear] column and measure
Please refer the attached .pbix file.
Best regards,
Community Support Team_ Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.