'How to fix the Cumulative column in PBI Viz

I have a dataset and I would like to show the cumulative total for both Pln and Act in a clustered chart with line. I came up with the DAX formula below. but it doesnt sumit correctly in the Viz. Does anyone know the solution? enter image description here enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source