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

Only the latest confirmed date should be returned in one column

Hi guys
I have a table in which process steps of a product are reported back, as you can see in the example.Now I would like to have a column that always shows the last reported date per product.

Example :

ProduktProcess StepConfirmation date latest date per product 
1112.05.2021 
1214.05.2021 
1317.05.2021 
1420.05.202120.05.2021
2118.05.2021 
2219.05.202119.05.2021
23  
24  
3116.05.2021 
3217.05.2021 
3321.05.202121.05.2021
34  

 

Thanks in advance
Greetings Lukas

1 ACCEPTED SOLUTION
Jihwan_Kim
Super User
Super User

Hi, @Anonymous 

Please check the below picture and the sample pbix file's link down below.

it is for creating a new column.

 

Picture4.png

 

Latest date per product CC =
VAR latestdate =
MAXX (
FILTER ( 'Table', 'Table'[Produkt] = EARLIER ( 'Table'[Produkt] ) ),
'Table'[Confirmation date ]
)
RETURN
IF ( 'Table'[Confirmation date ] = latestdate, 'Table'[Confirmation date ] )
 
 

Hi, My name is Jihwan Kim.


If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.


Linkedin: linkedin.com/in/jihwankim1975/

Twitter: twitter.com/Jihwan_JHKIM

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Go to My LinkedIn Page


View solution in original post

1 REPLY 1
Jihwan_Kim
Super User
Super User

Hi, @Anonymous 

Please check the below picture and the sample pbix file's link down below.

it is for creating a new column.

 

Picture4.png

 

Latest date per product CC =
VAR latestdate =
MAXX (
FILTER ( 'Table', 'Table'[Produkt] = EARLIER ( 'Table'[Produkt] ) ),
'Table'[Confirmation date ]
)
RETURN
IF ( 'Table'[Confirmation date ] = latestdate, 'Table'[Confirmation date ] )
 
 

Hi, My name is Jihwan Kim.


If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.


Linkedin: linkedin.com/in/jihwankim1975/

Twitter: twitter.com/Jihwan_JHKIM

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Go to My LinkedIn Page


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.

Top Solution Authors