title: Powerapps - Dynamically adding columns (Input Text Boxes) to a table
body: <p>I am trying to build a Power App that creates Input text boxes dynamically.</p>
  
  <p>This is my data.</p>
  
  <pre><code>Category Name         Product 1       Product 2     Product 3  Product 4 
  Marketing Center 1     1               1              2           2
  Marketing Center 2     1               1              2           2
  Marketing Center 3     1               1              2           2
  Marketing Center 4     1               1              2           2
  Marketing Center 5     1               1              2           2
  </code></pre>
  
  <p>Now, the Problem here is My Category Names and as well as Product columns increases over time.</p>
  
  <p>How Can I build a User Input table dynamically to get the User Inputs - Something like this...and gives me the total of it...</p>
  
  <pre><code>Category Name         Product 1       Product 2     Product 3  Product 4   Total 
  Marketing Center 1     1               1              2           2         6
  Marketing Center 2     1               1              2           2         6
  Marketing Center 3     1               1              2           2         6
  Marketing Center 4     1               1              2           2         6
  Marketing Center 5     1               1              2           2         6
  </code></pre>
  
  <p>The values of the Products are editable and the total gets calculated on the fly as the user inputs.</p>
  
  <p>I believe this can be done with some data modelling and collection concepts. But I am new to this.</p>