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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ovetteabejuela
Impactful Individual
Impactful Individual

Filter older entries by date

 

Hi,

 

Need help on a logic to only show the "latest update" for example:

 

Below on the left is the raw data, I want a filter that would then give me a result like the one showed on the right

 

EDIT: I need a DAX filter because the raw data I mentioned is already a result of two related tables.

 

Raw Data Desired Output
     
StartEnd StartEnd
1/1/20171/31/2017 1/1/20172/18/2017
1/1/20172/5/2017 3/12/20175/1/2017
1/1/20172/18/2017 5/9/20177/3/2017
3/12/20173/25/2017   
3/12/20175/1/2017   
5/9/20175/10/2017   
5/9/20175/30/2017   
5/9/20176/11/2017   
5/9/20177/3/2017   
1 ACCEPTED SOLUTION
v-sihou-msft
Employee
Employee

@ovetteabejuela

 

You can't directly use a filter to achieve this output.

 

You can either create a measure to get last date: 

 

LastUpdateDate=MAX(Table[End])

 

Or you can create a calculated table. 

 

Table = SUMMARIZE(Table,Table[Start],"latest update",MAX(Table[End]))

 

You can also achieve it via Power Query approach:

 

6.PNG

 

3.PNG

 

Regards,

View solution in original post

2 REPLIES 2
v-sihou-msft
Employee
Employee

@ovetteabejuela

 

You can't directly use a filter to achieve this output.

 

You can either create a measure to get last date: 

 

LastUpdateDate=MAX(Table[End])

 

Or you can create a calculated table. 

 

Table = SUMMARIZE(Table,Table[Start],"latest update",MAX(Table[End]))

 

You can also achieve it via Power Query approach:

 

6.PNG

 

3.PNG

 

Regards,

Thanks @v-sihou-msft , this is awesome.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.