March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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:
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
User | Count |
---|---|
26 | |
16 | |
15 | |
12 | |
11 |
User | Count |
---|---|
32 | |
26 | |
24 | |
20 | |
14 |