Forum Discussion
ianallen13D
2 years agoFrequent Visitor
Fixed line chart to track yearly progress
Hello, This will probably be pretty easy for most of you, but I'm trying to figure out how to do this in PBI Desktop and my brain just can't at the moment. I am tracking the number of referrals...
- Anonymous2 years ago
Hi ianallen13D ,
Based on the description, try to create the new column to calculate goal.
Cumulative Goal = VAR StartDate = DATE(2024, 7, 1) VAR DailyGoal = 2.19 VAR CurrentDate = 'Table'[Date] RETURN (CurrentDate - StartDate + 1) * DailyGoalCumulative Referrals = CALCULATE( SUM('Table'[Actual]), FILTER( 'Table', 'Table'[Date] <= EARLIER('Table'[Date]) ) )Difference from Goal = 'Table'[Cumulative Referrals] - 'Table'[Cumulative Goal]Drag the column into the line chart.
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
sevenhills
Super User
2 years agoTake a look at these articles and see if it helps:
Theory:
https://chandoo.org/wp/line-chart-with-bands-excel-tutorial/
Power BI implementation:
https://www.datapears.com/post/power-bi-viz-tricks-line-chart-target-areas
Hope it helps!