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
crolland
New Member

How to get the latest status of my project per year

Hello,

 

I have one table (EPIC_History) with the monthly updates of my projects per fiscal year. 

 

update on, project name, update, status, fiscal year

 

April 2021, Project A, update blabla, on going, FY 2021-2022

May 2021, Project A, another update, on going, FY 2021-2022

June 2021, Project A, another update 2, on going, FY 2021-2022

 

April 2022, Project A, another update, on going, FY 2022-2023

July 2022, Project A, another update, at risk, FY 2022-2023

September 2022, Project A, another update, blocked, FY 2022-2023

 

April 2023, Project A, another update, at risk, FY 2023-2024

 

I am looking for DAX request in order to get the latest status for each fiscal year : 

 

Project A, on going, FY 2021-2022

Project A, blocked, FY 2022-2023

Project A, at risk, FY 2023-2024

 

I tried : summarize, filter, max... no luck. Need your help.

1 ACCEPTED SOLUTION
v-yalanwu-msft
Community Support
Community Support

Hi, @crolland ;

You could create a measure by dax.

latest status = 
var _last=CALCULATE(MAX('Table'[update on]),ALLEXCEPT('Table','Table'[fiscal year]))
return CALCULATE(MAX('Table'[status]),FILTER('Table',[update on]=_last))

The final show:

vyalanwumsft_0-1669081540514.png


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
crolland
New Member

Thank you very much ! It worked perfectly. 

v-yalanwu-msft
Community Support
Community Support

Hi, @crolland ;

You could create a measure by dax.

latest status = 
var _last=CALCULATE(MAX('Table'[update on]),ALLEXCEPT('Table','Table'[fiscal year]))
return CALCULATE(MAX('Table'[status]),FILTER('Table',[update on]=_last))

The final show:

vyalanwumsft_0-1669081540514.png


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.