Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Im trying to get the last day I have a record of extracted from a data set. I have delivery dates that are duplicated, so the LASTDAY formula doesn't work and when I try to use the DISTINCT function before the LASTDAY function I still get an error message.
Why dont you try MAX ( Table1[Delivery Date]) ?
If this is not you expect, please share how do you want to display the result.
Thanks
Raj
When I try this solution it gives me a date that is not actually in the dataset. Last day in the set is January 18th and it gives me December 31st
Can you provide the data in text format , so that i can copy/ paste and try? Also, out of 3 columns, which column latest date you are trying to fetch?
Hi @nicolasgh96,
How did you do it? It's good and simple. Please refer to the snapshot below.
Best Regards,