This is one way to implement the Sten solution.
Create another column in the query and merge it with existing data
Select Replace(Task," Budget","") as TaskGrp, Task, Employee, Amount From Table1 Union Select Replace(Task," Budget","End") as TaskGrp, Null, Null, Null From Table1 Where instr(Task,"Budget") > 0 Order By TaskGrp, Task, Employee
Then skip TaskGrp when you run the chart
source share