Forum Discussion
Breaking the cumulative line
Cumulative line is breaking.How can I fix it. Below given is the code used for cumulative forecast, plan and actual
2 Replies
- lbendlin
Super User
Use a disconnected table for the x axis. Calculate your measure for each row of that table.
- AnonymousNot applicable
Thank you lbendlin
Hi, SruthychinnanAs you can show, your measure does not return data when it is calculated to the corresponding month of 20241, 12, and 2025.
In this case, you can solve the current problem from the following points:If the data for the previous month is correct, and the value month after you calculate correctly, then there is no problem with your measure, and the main reason is that there is no corresponding data for those months.
If you don't have the corresponding data for these months, you can follow the method below to connect your polylines. I've created a simple example of data:
To solve this situation of disconnecting, I created an index column that will do a sort of my column column.
This is a workaround for connecting polylines in cases where you really don't have data for a few months.
If in your case the metric is calculated to the point where it should have data for those months, then you can check your DAX step by step, such as Super User with a disconnected table.Best Regards
Jianpeng Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.