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.
Hi there,
I've got a cumulative line graph set up, but I only want the total to display up to this month (not beyond). The light blue line shows planned tasks, the dark blue line shows completed tasks. What I've got is on the left, what I want is on the right. Is there any way I can achieve this?
Solved! Go to Solution.
Hi @AlexJ01 ,
Based on your description, I have created a simple sample:
Please try:
Measure = CALCULATE(COUNT('Table'[Name YTD]),FILTER('Table',MONTH([Date])<=MONTH(TODAY())))
Final output:
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello,
Thank you for your feedback, but this still does not work. It works for a single line, but if there are two lines then they both continue to the latest date. Can you please -re-open this?
Hi @AlexJ01 ,
Based on your description, I have created a simple sample:
Please try:
Measure = CALCULATE(COUNT('Table'[Name YTD]),FILTER('Table',MONTH([Date])<=MONTH(TODAY())))
Final output:
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.