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

Latest confirmed date depending on the product

Hello people,

 

I need a column that gives me the latest confirmed date depending on the product.
Does anyone of you have an idea how to implement this, below I have created a small example.

Thanks in advance!

 

ProductConfirmation datelatest Date
106/16/2106/24/21
106/18/2106/24/21
106/24/2106/24/21
206/17/2106/22/21
206/22/2106/22/21

 

with kind regards
Lukas

1 ACCEPTED SOLUTION
PaulOlding
Solution Sage
Solution Sage

Here's the DAX for a calculated column to get your desired result

 

Latest Date =
CALCULATE(
MAX(Products[Confirmation date]),
ALLEXCEPT(Products, Products[Product])
)

View solution in original post

2 REPLIES 2
Jihwan_Kim
Super User
Super User

 

https://www.dropbox.com/s/6q26n6n2gpl17c3/keluv3.pbix?dl=0 

 

 

Latest date CC =
MAXX (
FILTER ( 'Table', 'Table'[Product] = EARLIER ( 'Table'[Product] ) ),
'Table'[Confirmation date]
)

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


PaulOlding
Solution Sage
Solution Sage

Here's the DAX for a calculated column to get your desired result

 

Latest Date =
CALCULATE(
MAX(Products[Confirmation date]),
ALLEXCEPT(Products, Products[Product])
)

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