title: Sum the values of a column
body: <p>I have the array:</p>
  <pre><code>array = [
              {
                  &quot;id&quot;: 1,
                  &quot;Price&quot;: 100,
                  &quot;Item&quot;: {&quot;id&quot;: 1, Name: &quot;A&quot;},
                  &quot;Date&quot;: {&quot;id&quot;: 1, Start: &quot;202001&quot;}
              },
              {
                  &quot;id&quot;: 2,
                  &quot;Price&quot;: 200,
                  &quot;Item&quot;: {&quot;id&quot;: 1, Name: &quot;A&quot;},
                  &quot;Date&quot;: {&quot;id&quot;: 2, Start: &quot;202002&quot;}
              },
              {
                  &quot;id&quot;: 3,
                  &quot;Price&quot;: 300,
                  &quot;Item&quot;: {&quot;id&quot;: 3, Name: &quot;B&quot;},
                  &quot;Date&quot;: {&quot;id&quot;: 2, Start: &quot;202002&quot;}
              }
      ]
  </code></pre>
  <p>And I want to be able to sum the values for a given period, as shown in the table:</p>
  <div class="s-table-container">
  <table class="s-table">
  <thead>
  <tr>
  <th>ITEM</th>
  <th>202002</th>
  <th>202003</th>
  <th>TOTAL</th>
  </tr>
  </thead>
  <tbody>
  <tr>
  <td>A</td>
  <td>100</td>
  <td>200</td>
  <td>300</td>
  </tr>
  <tr>
  <td>B</td>
  <td></td>
  <td>300</td>
  <td>300</td>
  </tr>
  <tr>
  <td>TOTAL</td>
  <td>100</td>
  <td>500</td>
  <td>600</td>
  </tr>
  </tbody>
  </table>
  </div>
  <p>Any suggestion? Thank!</p>