I have a series of batches produced over a period of years for which a different number of samples have been taken; e.g. see Table below.
I want to be able to graphically visualise the number of batches per year but I cannot seem to be able to do that without having to build a new table in which I remove the repeats; i.e. the samples column. Is there an easy way to count and/or visualise the number of batches per year independently of the number of samples taken?
Thanks in advance for the help!
| Year | Batch | Sample | Value |
2015 | A | A1 | 2 |
| 2015 | A | A2 | 5 |
| 2016 | B | B1 | 3 |
| 2016 | C | C1 | 8 |
| 2016 | C | C2 | 1 |
| 2016 | C | C3 | 2 |
| 2016 | C | C4 | 10 |
| 2017 | D | D1 | 0 |
| 2017 | E | E1 | 5 |
| 2017 | E | E2 | 6 |