Hi,
If I have a table which has the following format:
| Date | Status |
|---|
| 01/01/2024 | Pass |
| 02/01/2024 | Fail |
| 30/01/2024 | Fail |
How do I transform it so I can calculate a cumulative count and percentage of failures, at a per row level, as follows? I would then want to use a line graph to model the failure rate over time.
| Date | Status | TotalAttempts | CumulativeFailures | FailureRate |
|---|
| 01/01/2024 | Pass | 1 | 0 | 0.00 |
| 02/01/2024 | Fail | 2 | 1 | 50.00 |
| 30/01/2024 | Fail | 3 | 2 | 66.67 |
I tried some fairly complicated SQL in the Table Transformer, but cannot get it to output the calculated values per row.