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 August 31st. Request your voucher.
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.
User | Count |
---|---|
74 | |
70 | |
39 | |
30 | |
28 |
User | Count |
---|---|
104 | |
95 | |
51 | |
48 | |
46 |