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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
BotBot1
Helper III
Helper III

Latest Date of Inspection

Hi,

I am trying to have a column showing the lastest date of an inspection for a given project, but I cannot seem to return the right dates.

This is what the table currently looks like showing the dates of when inspections happened (green dots are 1 project, blue is another)

BotBot1_1-1676897068146.png

When I change the formatting to latest date, it changes to this:

BotBot1_0-1676896735744.png

Althought this is what I want for the count of inspection (grouping by the project), it is not showing me the latest inspection date (e.g. 02/02/21 for the green dot project). I have tried DAX measures but it isn't returning the correct dates. I believe it is formatting to this due to the date hierarchy, but I cannot make the date look at only when inspections occured.

Note: I am live connected, and it won't let me create DAX's with the date without a funciton before it. When I have tried ALL it says "a table of multiple values was supplied where a single value was expected".

Please let me know if there are any questions on this, thanks!

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@BotBot1 , Try if these can help

 

Latest
https://amitchandak.medium.com/power-bi-get-the-last-latest-value-of-a-category-d0cf2fcf92d0

https://amitchandak.medium.com/power-bi-get-the-sum-of-the-last-latest-value-of-a-category-f1c839ee8...

 

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@BotBot1 , Try if these can help

 

Latest
https://amitchandak.medium.com/power-bi-get-the-last-latest-value-of-a-category-d0cf2fcf92d0

https://amitchandak.medium.com/power-bi-get-the-sum-of-the-last-latest-value-of-a-category-f1c839ee8...

 

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors