Join 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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello,
I need your help.
I have sales data as follows:
I need to create a dax measure to return a date.
Result should be the date when Running total >= Target (60)
Thanks in advance.
Solved! Go to Solution.
try to create a measure with the code below:
Hi @Anonymous ,
You can try this method:
New a measure:
Result = CALCULATE(SUM('Sales'[Target Date]), 'Sales'[Running Total] >= 60)
The result is:
And there is another mothed to solve your problem:
Hope this helps you.
Here is my PBIX file.
Best Regards,
Community Support Team _Yinliw
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
try to create a measure with the code below: