The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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:
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
21 | |
19 | |
18 | |
17 | |
12 |
User | Count |
---|---|
36 | |
34 | |
20 | |
19 | |
15 |