title: Power Apps - Create a collection
body: <p>I have 4 labels defined like this,</p>
  
  <pre><code>Cat10
  Cat21
  Cat32
  Cat45
  </code></pre>
  
  <p>and I have 4 corresponding text inputs defined as,</p>
  
  <pre><code>TextInput 10  (Takes only a number)
  TextInput 21  (Takes only a number)
  TextInput 32  (Takes only a number)
  TextInput 45  (Takes only a number)
  </code></pre>
  
  <p>The User manually inputs the TextInputs and I want to do a bar graph of these numbers against the corresponding category while he is entering. How do I go about it. I did some research it says creating a collection is the only way. But couldn't solve it on my own. Kindly help me with this.</p>
  
  <p>For example my collection will have 4 rows,</p>
  
  <pre><code>Category    Value
  Cat10       10
  Cat21       12
  Cat32       21
  Cat45       30
  </code></pre>
  
  <p>The number of rows will not increase, every time the user changes a value it will always update the existing one.</p>