Pivot Table based on Form input

Pivot Table based on Form input

Hi Support,

I want generate pivot table based on user input in a form. Example below.

Form1 (Has below Field):

Country:
Section:
No of sales:

Form2:

Country:
No of Sales:

When user select the fields in Form2 and click on submit, a pivot chart needs to show based on data from Form1.

Your help is appreciated. Thank you.