1. Navigate to Communities>Forms>Registration
  2. Hover over your form and select Reports
  3. From Select Report Type, select People: Registrations
  4. From Select Report, select People: Registration Purchases Detail
  5. Click Run Report
  6. Click Next
  7. Mark the box for Discount Code
  8. Click Finish
  9. Select No to run the report immediately, and click Run Report