To create a trend chart that visualizes the number of failed tests per calendar week, categorized by their predicted cause, and includes the total number of tests and their priority, follow these steps:
1. Organize Your Data:
Ensure your data is structured as follows:
| Calendar Week | Total No of Tests | Pass | Fail | Analysis Status | Pred Cause | Priority |
|---|
| CW13 (3/23~3/25) | 18 | 14 | 4 | Unanalyzed | Test | P2 |
| CW13 (3/26~3/29) | 18 | 18 | 0 | | | P2 |
| CW14 (3/30~4/1) | 18 | 18 | 0 | | | P2 |
| CW14 (4/2~4/5) | 18 | 17 | 1 | Analyzed | Test | P2 |
| CW15 (4/6~4/8) | 18 | 18 | 0 | | | P2 |
| CW15 (4/9~4/12) | 18 | 18 | 0 | | | P2 |
| CW16 (4/13~4/15) | 18 | 18 | 0 | | | P2 |
| CW16 (4/16~4/19) | 18 | 17 | 1 | Unanalyzed | Test | P2 |
2. Prepare the Data for Charting:
3. Create the Trend Chart:
-
Insert a Line Chart:
- Select the data from your pivot table.
- Go to the
Insert tab in Excel.
- Choose a
Line Chart to display the trend of failed tests over the calendar weeks.
-
Customize the Chart:
- X-Axis: Set to
Calendar Week to represent the time progression.
- Y-Axis: Set to the count of failed tests.
- Series: Different lines for each
Pred Cause to distinguish between the causes of failures.
- Additional Data:
- Add data labels or annotations to indicate the
Total No of Tests and Priority for each week, providing a comprehensive view of the testing context.
4. Enhance the Chart for Clarity:
-
Titles and Labels:
- Add a descriptive title, such as "Trend of Failed Tests by Predicted Cause per Calendar Week."
- Label the axes appropriately (e.g., "Calendar Week" for the X-axis and "Number of Failed Tests" for the Y-axis).
-
Legend:
- Include a legend to identify which line corresponds to which
Pred Cause.
-
Data Labels:
- Consider adding data labels to the lines to show exact numbers of failures, total tests, and priorities for each point.
5. Review and Interpret the Chart:
- Analyze the trends to identify patterns, such as:
- Increases or decreases in failures over time.
- Predominant causes of failures.
- Correlations between the number of tests conducted, their priority, and failure rates.
By following these steps, you'll create a comprehensive trend chart that effectively visualizes the number of failed tests per calendar week, categorized by their predicted causes, and contextualized with the total number of tests and their priority. This visualization will aid in identifying patterns and areas for improvement in your testing process.