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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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.

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.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors