Forum Discussion

HusseinKhalil's avatar
6 years ago
Solved

View plan & actual on same graph

I am stuck with the below, i want to draw both actual and plan on the same line, each for own color sure, actual vlaues should stop at feb-2020, while plan should be continued till march. garph values is the count of dates in each column. i created a calendar and have a relation ship between claendar[date] & Actual same goes for the plan.

Monthly Planned:=CALCULATE(COUNT('Table1'[Plan]),USERELATIONSHIP('Table1'[Plan],'Calendar'[Date]))

Monthly Actual:=CALCULATE(COUNT('Table1'[Actual]),USERELATIONSHIP('Table1'[Actual],'Calendar'[Date]))

 

below is how the data looks, also I am searching for support rgearding the running total measure. also i need support in this regard

 

ProductActualPlan
10011/2/202012/31/2019
10022/1/20201/1/2020
1003 2/2/2020
1004 3/3/2020

6 Replies