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
Anonymous
Not applicable

Finding Earliest Information from a Duplicated Result

Hi everybody,

 

Got a situation where I would like to flag the lastest information from a duplicated or triplicated result (the result is a unic reference number so, its sure that the result is right but want to keep just the latest one) where the date would answer wich is the most recent added to the table

Basically, I want to creat this LATEST column and flag the latest one base on the column NAME + LAST REFRESH

NameAgeLast refreshLATEST
John2501/01/2020-
Tom3701/01/2021X
John2601/01/2021X



1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous ,  Try new column


Latest =

var _max = maxx(filter(Table, [Name] = earlier([Name]) ), [LAST REFRESH])
return
if([LAST REFRESH] = _max , "X", blank())

 

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous ,  Try new column


Latest =

var _max = maxx(filter(Table, [Name] = earlier([Name]) ), [LAST REFRESH])
return
if([LAST REFRESH] = _max , "X", blank())

 

Anonymous
Not applicable

Jesus Christ, worked spotless. Thank you so much @amitchandak 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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