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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.