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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Aedmunds
Frequent Visitor

Table Visual to only show latest status for each project

I have a Projects Table  with 60 projects.

 

I have a Status table with multiple status's per project.  These status's have a date, and a RAG and some text.

 

In the summary table, I only want to show 1 status per project, the latest one according to a Week Ending field ... BUT ... the weekending data could be different for each project so it can't be used as the Top N filter.

 

Found a few ways to do this with Numbers ... but not using text ... am I missing something.  Surely I should just be able to so, put the latest status in the table?

 

3 REPLIES 3
v-xinruzhu-msft
Community Support
Community Support

Hi @Aedmunds 

You can use LASTDATE() function to calculate the latest date, then can use MAXX() function to find the max value, you can refer to the following link.

LASTDATE function (DAX) - DAX | Microsoft Learn

MAXX function (DAX) - DAX | Microsoft Learn

If the suggestion above cannot help you, can you provide some sample data or the expected output you want?

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks Yolo, but I don't believe this will work as I need not just one latest date, but all of them for each project, and each date will potentially be different.

Hi,

Share some data in a format that can be pasted in an MS Excel file and show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

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!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

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