The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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!
Product | Confirmation date | latest Date |
1 | 06/16/21 | 06/24/21 |
1 | 06/18/21 | 06/24/21 |
1 | 06/24/21 | 06/24/21 |
2 | 06/17/21 | 06/22/21 |
2 | 06/22/21 | 06/22/21 |
with kind regards
Lukas
Solved! Go to Solution.
Here's the DAX for a calculated column to get your desired result
https://www.dropbox.com/s/6q26n6n2gpl17c3/keluv3.pbix?dl=0
Latest date CC =
MAXX (
FILTER ( 'Table', 'Table'[Product] = EARLIER ( 'Table'[Product] ) ),
'Table'[Confirmation date]
)
Here's the DAX for a calculated column to get your desired result