You can use the Table Filter and Charts for Confluence add-on to filter, summarize and visualize quiz results, as well as export a quiz results report into CSV, PDF, Word.
Table Filter and Charts provides a set of three macros:
You can use these macros on:
See some examples below.