Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register 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.
User | Count |
---|---|
85 | |
79 | |
64 | |
52 | |
46 |
User | Count |
---|---|
101 | |
52 | |
41 | |
39 | |
37 |