Across comparable stats, Dirk Viljoen leads 10–11.
Test
| Ali Shah | Stat | Dirk Viljoen |
|---|---|---|
| 3 | Matches | 2 |
| 5 | Innings | 4 |
| 122 | Runs | 57 |
| 24.40 | Average | 14.25 |
| 28.43 | Strike rate | 32.75 |
| 62 | Highest | 38 |
| 0 | Hundreds | 0 |
| 1 | Fifties | 0 |
| 13 | Fours | 6 |
| 1 | Sixes | 0 |
| 1 | Wickets | 1 |
| 125.00 | Bowling average | 65.00 |
| 4.03 | Economy | 3.71 |
| 1/46 | Best bowling | 1/14 |
| 0 | 5 wickets | 0 |
ODI
| Ali Shah | Stat | Dirk Viljoen |
|---|---|---|
| 28 | Matches | 53 |
| 28 | Innings | 43 |
| 437 | Runs | 512 |
| 16.80 | Average | 14.22 |
| 50.81 | Strike rate | 61.91 |
| 60* | Highest | 63* |
| 0 | Hundreds | 0 |
| 1 | Fifties | 2 |
| 27 | Fours | 26 |
| 2 | Sixes | 5 |
| 18 | Wickets | 44 |
| 45.11 | Bowling average | 37.25 |
| 4.52 | Economy | 4.73 |
| 3/33 | Best bowling | 3/20 |
| 0 | 5 wickets | 0 |