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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
SearchKnowledge
Frequent Visitor

Filter, Then Sort, Then Select

Dear kind Sir/Madam,

 

Imagine a table with four colums, actually dont imagine, just look below.

KeyDate/TimeRemainingNEW

6581

16/12/2020 05:34:33-1 
658119/12/2020 08:24:250,2 
658119/12/2020 12:54:233,23,2
789221/12/2020 10:24:233 
789224/12/2020 08:54:2322

 

I would like to see the result like in the last column. So this new function I am looking for should first determine all the rows with the same "key". Then it should look at the corresponding "Date/Time" which date is the most recent (Can be an hour difference only). Then with the most recent date it should return the value from 'Remaining'. Resulting in a column like you can see in red.

 

I hope you are able to help me, thank you for the effort anyway.

 

Kind Regards.

 

1 ACCEPTED SOLUTION
AntrikshSharma
Community Champion
Community Champion

@SearchKnowledge  Try this and let me know how it goes: The working file is attached below my signature.

 

1.png

View solution in original post

3 REPLIES 3
SearchKnowledge
Frequent Visitor

Works like a charm, thank you @AntrikshSharma 

AntrikshSharma
Community Champion
Community Champion

@SearchKnowledge  Try this and let me know how it goes: The working file is attached below my signature.

 

1.png

@AntrikshSharma Thank you for your fast reply and effort, awesome! I only work on the project once a week. But I will try to test it this week. I will let you know!

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.