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
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
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!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors