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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
TechR21
Helper V
Helper V

Most recent record based on date column

I have a table loaded from an odatafeed with regular refreshes that has a lot of column but following 2 are the most important for this question;

 

table incidents

- incidentnumber

- modificationdate

 

Now every incidentnumber can have multiple records, based on the different values of a column. If an incident gets updated, a new row will be added in the table with that incidentnumber together with  a modificationdate value

 

I want this table to only show unique values of incidentnumbers, so no double incidentnumbers, and only those with the most recent modificationdate

 

So when there are a few records of incidentnumber 1322 in the table, with below modificationdate, only the last record should be in the table

 

Incidentnumber        modificationdate

1322                       20/09/2022 09:56:21

1322                       21/09/2022 09:56:21

1322                       21/09/2022 17:56:21

 

How can i do this? 🙂

 

 

 

1 REPLY 1
amitchandak
Super User
Super User

@TechR21 , Check if these two blogs 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...

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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