I prefer Sunny T solution as simple to understand.
Open Bar chart properties. Right click on the chart > Properties.
1. Just in Calculated dimension write the expression:
If(Status = 'Won', 'Won Jobs', 'Other Jobs')
2. Add in expression field this statement:
That's true, then I would suggest creating a field in the script only.
If(Status = 'Won', 'Won', 'Rest') as New_Status
and then use New_Status as Dimension and Count(New_Status) as your expression.
Alternatively, I don't understand the usage of Aggr() in your solution. Why not just use these?
Here is the solution where script modifications are made:
If(Status = 'Won', 'Won', 'Rest') as New_Status;
load * inline [