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.
Hey all,
The sample below reflects what I want to achieve with the DateCompleted.
I need to create a new column (DateCompleted) that will contain the earliest date that the order was completed.
What is considered completed in this senario is StatusCode 30, 40 and 50.
The issue is that some of the dates have not be captured by the system, so I can't consider only StatusCode 30 as my completed date; but the earliest date from StatusCode 30,40 or 50.
And I have to consider that for each set of rows of the same OrderNumbers.
Any DAX formula I can use to achieve this please?
Solved! Go to Solution.
I tried to adapt the code to calculate the Date difference between the complete date and the Open date, but got an error.
Please see below if you can help.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.