I am looking to find out how I can create a measure in Tableau that will tell me if a job has been successful or not.
For example I have an agent and I am trying to calculate the number of jobs he worked on and if the completed column has a value of 1 then he successfully completed this otherwise I count it as a failure.
So for this reason I created a calculated field that has the following:
IF [Completed]="Y" THEN 1 ELSE 0 END
I then created a new sheet with the number of records for that agent in columns and the measure(above) in rows to create a stacked chart.
The problem I have is that the incompleted tasks are not being counted therefore not reflecting correctly on the chart.
Being new to Tableau I am not sure how to resolve this and would appreciate some advice if possible.
Thanks in advance.