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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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.

Share with Power BI Enthusiasts: 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.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.