The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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:
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
20 | |
12 | |
10 | |
7 |